commit: 1261b94ad67e30e43a1856c508eed90b7d65b68c Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> AuthorDate: Sun Feb 16 19:32:02 2025 +0000 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> CommitDate: Sun Feb 16 19:32:53 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1261b94a
app-text/xournalpp: add 1.2.5 Closes: https://bugs.gentoo.org/943508 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> app-text/xournalpp/Manifest | 1 + app-text/xournalpp/xournalpp-1.2.5.ebuild | 56 +++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/app-text/xournalpp/Manifest b/app-text/xournalpp/Manifest index 90d0a589e30f..99fad25b5a56 100644 --- a/app-text/xournalpp/Manifest +++ b/app-text/xournalpp/Manifest @@ -1 +1,2 @@ DIST xournalpp-1.2.3.tgz 16708613 BLAKE2B f631ec686846e3c00428f050c5ff5d72ebb51b5bfbb1e81b22bcf9416bedb8507c887d6f68d6031945ff107bbd82dfca6c5d4c2430943c17b1c0e9d55d288f73 SHA512 17303314d49001f492469d855155a019659cdafc67509d4e176f60a93322f4ee1d4b999e8a25a9a23bde27b878012c06aa11f15bc2a54a730098964053834d1f +DIST xournalpp-1.2.5.tgz 16849377 BLAKE2B 8356b018f67f4b8a063b9e3bf20b6a6328f309a5093094b171686296f3143f2554ce4ff7602c892db84dcee470656592a6710c0fc8de4b22a88041f4e91d4fba SHA512 c95854b73b3b63fbb154e5c952a15fe94bfb8e71a52f0cf0b606a5be792c1375d540dd820bfbda182d38ad8627afc4eb10c9b636d1be0fe6e77a462e2e6b6b9f diff --git a/app-text/xournalpp/xournalpp-1.2.5.ebuild b/app-text/xournalpp/xournalpp-1.2.5.ebuild new file mode 100644 index 000000000000..5d137901c96a --- /dev/null +++ b/app-text/xournalpp/xournalpp-1.2.5.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-3 lua5-4 ) +inherit cmake lua-single xdg + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/xournalpp/xournalpp.git" +else + SRC_URI="https://github.com/xournalpp/xournalpp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tgz" + KEYWORDS="~amd64 ~ppc64" +fi + +DESCRIPTION="Handwriting notetaking software with PDF annotation support" +HOMEPAGE="https://github.com/xournalpp/xournalpp" + +LICENSE="GPL-2" +SLOT="0" + +REQUIRED_USE="${LUA_REQUIRED_USE}" + +COMMON_DEPEND=" + ${LUA_DEPS} + app-text/poppler[cairo] + >=dev-libs/glib-2.32.0 + dev-libs/libxml2 + >=dev-libs/libzip-1.0.1:= + >=gnome-base/librsvg-2.40 + >=media-libs/portaudio-12[cxx] + >=media-libs/libsndfile-1.0.25 + sys-libs/zlib:= + >=x11-libs/gtk+-3.18.9:3 +" +RDEPEND="${COMMON_DEPEND}" +DEPEND="${COMMON_DEPEND}" +BDEPEND=" + virtual/pkgconfig + sys-apps/lsb-release +" + +PATCHES=( + "${FILESDIR}/${PN}-1.1.1-nostrip.patch" + "${FILESDIR}/${PN}-1.2.3-nocompress.patch" + "${FILESDIR}/${PN}-1.2.3-lua-5-4.patch" +) + +src_configure() { + local mycmakeargs=( + -DLUA_VERSION="$(lua_get_version)" + ) + + cmake_src_configure +}
