summaryrefslogtreecommitdiff
path: root/app-text
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-18 06:30:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-18 06:30:11 +0000
commitf57e008aa126ccdca95f7424e4d24a1a83a49682 (patch)
tree485fb1d76c7c51ddd47615c50059dd46045ffbb5 /app-text
parent066666b8767b78231b90d9b3ffc8169fbfe1ec7c (diff)
gentoo auto-resync : 18:12:2024 - 06:30:11
Diffstat (limited to 'app-text')
-rw-r--r--app-text/Manifest.gzbin50277 -> 50271 bytes
-rw-r--r--app-text/pdfjam/Manifest4
-rw-r--r--app-text/pdfjam/pdfjam-3.10-r1.ebuild58
-rw-r--r--app-text/pdfjam/pdfjam-3.12.ebuild2
-rw-r--r--app-text/poppler/Manifest6
-rw-r--r--app-text/poppler/poppler-24.08.0.ebuild157
-rw-r--r--app-text/poppler/poppler-24.10.0.ebuild157
7 files changed, 2 insertions, 382 deletions
diff --git a/app-text/Manifest.gz b/app-text/Manifest.gz
index 7a4239a19e29..0f8916925ce2 100644
--- a/app-text/Manifest.gz
+++ b/app-text/Manifest.gz
Binary files differ
diff --git a/app-text/pdfjam/Manifest b/app-text/pdfjam/Manifest
index b267bf5f0df8..2420bfe0966a 100644
--- a/app-text/pdfjam/Manifest
+++ b/app-text/pdfjam/Manifest
@@ -1,6 +1,4 @@
-DIST pdfjam-3.10.tar.gz 121928 BLAKE2B 5ff82abba43becb2792ff9e6a13dd3458d4b884e9e2361d116c638bb8a396fd8ca833361dfbc981433ebf445cfa8bfe99bb5fc7f1a76a35361666b91acef934e SHA512 dd69d8e5f86bb4fcb8db0e71454fdb0f2dd75e222d68e8cf3870d9f318aa7e8ccf51f87977ad71ddba1d78569e358044b111b8014f88dddf86654dc5bc334e90
DIST pdfjam-3.12.tar.gz 162802 BLAKE2B d22e78cdb1e0135b2d2a9d1269a7467417a2fd3f984e969434d59db82f94a6575ff12bf814c3f90081e8e08823d68577e43b243fb2f52160dffc9d425fc84f0e SHA512 c801f5dbfb2eebf185734d14974a00c3ca3b8edda349ed7d6e0017ac80136ea10cab7ab0dc77ec1a712f7e338c8c9e58d24d7b8b69a3b2116e0a6473fc0b1317
DIST pdfjam-extra-20191118.tar.gz 15457 BLAKE2B 3d673ba68a1ee89cec7af0ec7d7fc61c8993b9ae328d3362a6bbbae47cbda2caa2e8f4ecd28424dd894c31d14754228b067389b61fa7845cfe5dfc0e2b5d9b8d SHA512 1d02abb9d81baf6edf3e51e2c7838df191a7a18b4b50518ee1ae3108020a274d7608570654ab540539d3717e51ef10f548c83c3480681bc20c9702280f694b8f
-EBUILD pdfjam-3.10-r1.ebuild 1194 BLAKE2B 83bf506cccd130d6e4c4c8df29b09b43c68e09ed2cf0b97cbf10bbe868c16256bb62a423237b9d8c69e937f361deedcb975506e637c703801bd9e0ccf02791c3 SHA512 853965b0685024e8f68fc621ed81091d883c2ff988d0e8a5be30f8fe6e880ed7a7ab3d719e7e9856a8fc9398c93f6714f283c1104f3b9ac8b199fb5280ecdc52
-EBUILD pdfjam-3.12.ebuild 1196 BLAKE2B cb80efb18a2e87ad1e6eea7535e6745474c0806dbc194ff3e65ab92052d08e08d6fa125a785c0856fbff1da8db1918597ef2d73ae641f4f97ece482f907a4f08 SHA512 3d7159f9cb26ede6fc6257b426ea23cef4568edf533cf5e4824ad2a99a832d9595a2d42ec5341f0770066e1af4099a2c7c40db94d352431aed97b03349969721
+EBUILD pdfjam-3.12.ebuild 1190 BLAKE2B e3878a2d7d242ffc1707c5cde6e5be5ff82abcf4aebf6806a84eae17f557c3001e96346bfe14b1383a5233751744cc9129da38d4406f00d5d8ff4ef0acd8b4db SHA512 b0a7682170b0a1bd9c06af5967753f26e43e4b95b67eb9eb9ed46570bb3c7507efff9cc9bd79eecadc718010193c384378d7526e635934024df8262c337576af
MISC metadata.xml 1123 BLAKE2B e7fe11916783d7e957d70edf6f5d6b55b011bb68bf712c5df0b5d0ac608f95f9d056c01dd38255b9f46572807d56e8509e895b15314d6086f3cd91556cd226ef SHA512 2c9c0147882455fd4cb707210ba9aef65983ba5929c0ab6bf8441dee8543b6839c5c7221fd01996fe1fd71b619c1f760ea0ff16617761b73339107b8206d7f47
diff --git a/app-text/pdfjam/pdfjam-3.10-r1.ebuild b/app-text/pdfjam/pdfjam-3.10-r1.ebuild
deleted file mode 100644
index 753ee7bbb0f3..000000000000
--- a/app-text/pdfjam/pdfjam-3.10-r1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PDFJAM_EXTRAS_COMMIT=622e03add59db004144c0b41722a09b3b29d6d3e
-
-DESCRIPTION="Allows the manipulation of PDF files"
-HOMEPAGE="https://github.com/rrthomas/pdfjam"
-SRC_URI="
- https://github.com/rrthomas/pdfjam/releases/download/v${PV}/pdfjam-${PV}.tar.gz
- extra? (
- https://github.com/rrthomas/pdfjam-extras/archive/${PDFJAM_EXTRAS_COMMIT}.tar.gz
- -> pdfjam-extra-20191118.tar.gz
- )
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-
-IUSE="extra test"
-RESTRICT="!test? ( test )"
-
-DEPEND="virtual/latex-base"
-RDEPEND="
- ${DEPEND}
- !<dev-texlive/texlive-binextra-2023_p69527-r4
-"
-BDEPEND="test? ( app-arch/unzip )"
-
-src_prepare() {
- default
- if use test; then
- unzip tests.zip || die
- fi
-}
-
-src_test() {
- ./tests/run.sh || die
-}
-
-src_install() {
- dobin bin/*
- dodoc README.md
- doman man1/*
-
- insinto usr/share/etc
- doins pdfjam.conf
-
- if use extra; then
- cd ../pdfjam-extras-${PDFJAM_EXTRAS_COMMIT} || die
-
- dobin bin/*
- newdoc README.md README-extras.md
- doman man1/*
- fi
-}
diff --git a/app-text/pdfjam/pdfjam-3.12.ebuild b/app-text/pdfjam/pdfjam-3.12.ebuild
index b936a43cee41..beb8f3335eac 100644
--- a/app-text/pdfjam/pdfjam-3.12.ebuild
+++ b/app-text/pdfjam/pdfjam-3.12.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
IUSE="extra test"
RESTRICT="!test? ( test )"
diff --git a/app-text/poppler/Manifest b/app-text/poppler/Manifest
index dbf933a00612..332587d87dfa 100644
--- a/app-text/poppler/Manifest
+++ b/app-text/poppler/Manifest
@@ -4,17 +4,11 @@ AUX poppler-23.10.0-qt-deps.patch 2020 BLAKE2B e9f022a7ddbc0e2533554c3263e0f22e6
AUX poppler-24.11.0-readd-SplashFont.patch 672 BLAKE2B 39d3d22cac3600ca71e803eb0fab6396d67bfd9a054c7a79480bfaadfbff3a5cfb10450f88025df9f1779903d3e16f94a0e614bdb5141a7bb33c8700e13bc533 SHA512 6774e05bae26819220ed207ac171ff422807bfc206c2a23a11ed6612b4c5e28c1bfda4b75c3bc827ecc37e92383ebed64d5cc6a60862e03feda69eaddca0aaae
AUX poppler-24.11.0-readd-StructTreeRoot.patch 698 BLAKE2B 08171ca524a1005a923624f2d849295df8a06ed9872fd3e0b0bf961076290069803c34cadc3cab36e3199fdb615325ad6d365f31da85cfd9e711bb1efc962a67 SHA512 b0d786601770a9ea73bd7a8dfc3a91eff086090e599cb335cd9e7bc9719d9752256a1a487d446f8affb68d52f5cf13a71ab17f7c583c66809948e5ec26ba1bf2
AUX poppler-24.11.0-readd-ViewerPreferences.patch 719 BLAKE2B bd3e34a65493b7b76e0cfef98f6ef91ef62bf98aed0250a0d1ca16c0d7ff4babe112513746368c8506d9c844491d1f3d8f1b2986f5c4b8d71bcc7d2102a85f32 SHA512 9b68c2b826b73523f94d5c2264b636ea2962d9d3574185ea913b8387b1ad584a2c42792f648a9093f25a5599b3c53228b9215c37eaf966ed7ad800c551ad5e79
-DIST poppler-24.08.0.tar.xz 1912592 BLAKE2B f76ccb8d596909d671df34f6c028e6161ad734d31b460bc7b3578d08a75ad146d6d2c1e4108acb33d08fd518fee014cc84e23d2e04ea92ad152702af614c5ca2 SHA512 47309b75746d5bc309ae98da9280e5178c81505c8873e849ece6923eb0ae0df6f271dab1e38b3aac1dbd5d05518284ad237ea78ba40d90420c6fc53ae1c3b400
-DIST poppler-24.08.0.tar.xz.sig 833 BLAKE2B d257fc092c8541daf2e88a852655827470fb4890316f0a9b334b18c736ea33500e52c3b6b238047e8e3ded6a155b4466dcfa3afabfede11ed89b3fa17553577e SHA512 5e5c0185db2f3c1e1639e1eead93cf9e282db403edb91750d8ec325ca69f4bfb026345f2e9a8a18ed23a5a02b308163f9b4a8d6a75f9e760414cd709681a25a7
-DIST poppler-24.10.0.tar.xz 1920580 BLAKE2B 5eee232c64f18083fa189b1839a7757c34f31a8711c4f173bfe0ded7c08d96618c9276fade85b3802cc79e31ca4b22f425904102f52a42985c9506f9cefbcf9f SHA512 5515b4c439cd2e92119aedcb8960dd82e6f78a1ffd82543d3649bedb3e0e8e97689ea592f4df347cc3c97d5d90c8518c13859f80be25f157b9aea78e62a31502
-DIST poppler-24.10.0.tar.xz.sig 833 BLAKE2B 241d939ab41687f3a5133418630624cc50f0de4cd00d45b3c7d2ea7afa083ac33b7dbb40a3493743bc6c5ba04f1c82c4bb0acae64f2f8658190fb7587a0097c3 SHA512 1c3668c8092bafe4169c2945b0bb2eeb1ab20097e1a45496837f2ce4edb4651272920583606b1746998a9313da6227814ffbbd22eb06195b21219673a9957a6e
DIST poppler-24.11.0.tar.xz 1922804 BLAKE2B 2ee77ddfd49ab4b3f486fcd160be21fdf2d474e44b6cdfd40a7f927cbe253d407a6f75b66de83ab541288a54558445e409b283a81c7a8ff20f9a6d0d4f33adf7 SHA512 3823c024d9b1cab7c4ee8a99d5209722296cce8894e3f4ba8d5a84ab6bba430fa0c1078bfcddcdbc1c30bd98832e269df2aef1d5af20c1985b9f903cb70a24e7
DIST poppler-24.11.0.tar.xz.sig 833 BLAKE2B 7ef6e5bd5659c91dc5924367b7875a3946116a71b0cc02d98a1cccd51d4a46b8d8b219681e576ba7ea27f736c8a5220ae98acb0f454ac4785c03d1c66d104046 SHA512 7b935eaa99c4c3e8706bfcb010245babf5a4f08f6809a340239a0c40eed0a79472c34e4722d4b480e20fa6618106cc5e9583e209e025689f1fae06c5c499f95f
DIST poppler-24.12.0.tar.xz 1934024 BLAKE2B c1148608430c466ffa61ae420a287642b1b147efec59fee664f446b2f283b3f24841cee5d1ab1dbb5df9db12724e92137e8eb7e559fbd6f6d0941f6b194b2ed0 SHA512 23abac84fe1074eb8fb01ca94d4c1a3397c20fb9f1505993bc4c8286ce6a0d664cbc8770b912d1fb5d3621a801746d1e9353ca45ee4666958c6226a6512bd444
DIST poppler-24.12.0.tar.xz.sig 833 BLAKE2B 48969ab45646935594286ae75205b3f36972d4e360ecb7b60538ddb9b6d329e1ecb59ba10b18f0d191891be78f24cfe0f14c4e6ffbf2f0f453889416cc22c393 SHA512 708186f11d84666e6ffaf090f5181855d54e78dc606451890268246e0ae1791ce4616ce069cde902ee80dddae9542ebf78ca66bd9dcc6833b75529b20ffd9657
DIST poppler-test-ff3133cdb6cb496ee1d2c3231bfa35006a5e8410.tar.bz2 5207226 BLAKE2B 15153457989a53301bcdc3468ab2b06b637457199004651b39ea848f488f8a2ba594ce2e36091de4fd06fc0a52b783c6b2ee243ac5d95ce1e9db7483ea880829 SHA512 335cd3d55fc6e28331e791e5b63a08d293abc70764a9f314b2c590c26a5a78b38243c74f988bb95afffe0bdcc54dee1e633dbf1672b19a290be40a298e16995f
-EBUILD poppler-24.08.0.ebuild 4447 BLAKE2B f88e585dd3992006527baac658f55d778cda382ee76fe3fea904ce890625d3d0c03453b5c8c4d7e3b1df204039b8f2563349ad4ffa386161cdf6c1cd288c949c SHA512 9f35693e28a92d3e5f8cf3f710a67f028571b38814ea2126713b19ab8b229738d89cd7808117323563ad779053ce375b68fc1ed03d62cbec53770be3f06f29d2
-EBUILD poppler-24.10.0.ebuild 4455 BLAKE2B e80ab3bcf12fe79a4d6ed9bd4b4876245c9ca5a7a4cfbb94facad8f10c07599afd0b363aaf1a9a7ec030a13e89d73e4bd5e64f511cedce3e93bdebf71b4b3eae SHA512 935a8e4f1e2b0f376ab8145381469da1c00792bd550005ecee2897ac132cbd770908b6f170bf67172b69bd6e67aff019e8195456a09b9c9a8f5c0439e4fb7438
EBUILD poppler-24.11.0-r1.ebuild 4601 BLAKE2B 445cb55f547da3a3c4b0ddfadb7caebf54f82c5d50a5695e54b41443b4c1d362d424de98733a1c8fd9366dac6c254741a394e179dbcde927dbc1f437af283ee6 SHA512 0d05d9637903b61c9ed0095a3f9555cdb6609ef5ea15224f103976c08ad43996ca6261ff25976968f3007d619fdb44fabe145787fd4a30052fd0fc9be6230673
EBUILD poppler-24.12.0.ebuild 4456 BLAKE2B 37043a6fb58a4aa712003acad5e3f5ac170b61408a5981e2993066336a4214cb31f844995f7d65c145e8caf021899480583c0c77d8c1ff27e61525c20e285da7 SHA512 7ff72dc719cd96feee99c222e36df2813a8a5571d79512003f0d1620322e605ba8d0104413ad85681418b96071ea0db4826e267cc0b06efc596d18d313888eea
EBUILD poppler-9999.ebuild 4455 BLAKE2B 9cd34fc06a62797640a717269a449b2290bcc063adfcc778697b79ab105e327d40c25edeac6690f0eec264921f4ec9e4346cf3ffac9ab5858892a8ea0a1d9d15 SHA512 0070d7d6a5490ed3be66d6b8e5f6f2e9cc86b3ca374d15a92c69a03b460f71d943110102f28159f95f449f2b3bd915619cc560acd7e822e971a638297f9bc5e9
diff --git a/app-text/poppler/poppler-24.08.0.ebuild b/app-text/poppler/poppler-24.08.0.ebuild
deleted file mode 100644
index f2676aa3adc2..000000000000
--- a/app-text/poppler/poppler-24.08.0.ebuild
+++ /dev/null
@@ -1,157 +0,0 @@
-# Copyright 2005-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic toolchain-funcs xdg-utils
-
-if [[ ${PV} == *9999* ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://gitlab.freedesktop.org/poppler/poppler"
- SLOT="0/9999"
-else
- VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/aacid.asc
- inherit verify-sig
-
- TEST_COMMIT="ff3133cdb6cb496ee1d2c3231bfa35006a5e8410"
- SRC_URI="https://poppler.freedesktop.org/${P}.tar.xz"
- SRC_URI+=" test? ( https://gitlab.freedesktop.org/poppler/test/-/archive/${TEST_COMMIT}/test-${TEST_COMMIT}.tar.bz2 -> ${PN}-test-${TEST_COMMIT}.tar.bz2 )"
- SRC_URI+=" verify-sig? ( https://poppler.freedesktop.org/${P}.tar.xz.sig )"
- KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
- SLOT="0/140" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION
-fi
-
-DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
-HOMEPAGE="https://poppler.freedesktop.org/"
-
-LICENSE="GPL-2"
-IUSE="boost cairo cjk curl +cxx debug doc gpgme +introspection +jpeg +jpeg2k +lcms nss png qt5 qt6 test tiff +utils"
-RESTRICT="!test? ( test )"
-
-COMMON_DEPEND="
- >=media-libs/fontconfig-2.13
- >=media-libs/freetype-2.10
- sys-libs/zlib
- cairo? (
- >=dev-libs/glib-2.64:2
- >=x11-libs/cairo-1.16
- introspection? ( >=dev-libs/gobject-introspection-1.72:= )
- )
- curl? ( net-misc/curl )
- gpgme? ( >=app-crypt/gpgme-1.19.0:=[cxx] )
- jpeg? ( >=media-libs/libjpeg-turbo-1.1.0:= )
- jpeg2k? ( >=media-libs/openjpeg-2.3.0-r1:2= )
- lcms? ( media-libs/lcms:2 )
- nss? ( >=dev-libs/nss-3.49 )
- png? ( media-libs/libpng:0= )
- qt5? (
- >=dev-qt/qtcore-5.15.2:5
- >=dev-qt/qtgui-5.15.2:5
- >=dev-qt/qtxml-5.15.2:5
- )
- qt6? ( dev-qt/qtbase:6[gui,xml] )
- tiff? ( media-libs/tiff:= )
-"
-RDEPEND="${COMMON_DEPEND}
- cjk? ( app-text/poppler-data )
-"
-DEPEND="${COMMON_DEPEND}
- boost? ( >=dev-libs/boost-1.74 )
- test? (
- qt5? (
- >=dev-qt/qttest-5.15.2:5
- >=dev-qt/qtwidgets-5.15.2:5
- )
- qt6? ( dev-qt/qtbase:6[widgets] )
- )
-"
-BDEPEND="
- >=dev-util/glib-utils-2.64
- virtual/pkgconfig
-"
-
-if [[ ${PV} != *9999* ]] ; then
- BDEPEND+=" verify-sig? ( >=sec-keys/openpgp-keys-aacid-20230907 )"
-fi
-
-DOCS=( AUTHORS NEWS README.md README-XPDF )
-
-PATCHES=(
- "${FILESDIR}/${PN}-23.10.0-qt-deps.patch"
- "${FILESDIR}/${PN}-21.09.0-respect-cflags.patch"
- "${FILESDIR}/${PN}-0.57.0-disable-internal-jpx.patch"
-)
-
-src_unpack() {
- if [[ ${PV} == *9999* ]] ; then
- git-r3_src_unpack
- elif use verify-sig ; then
- verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.sig}
- fi
-
- default
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # Clang doesn't grok this flag, the configure nicely tests that, but
- # cmake just uses it, so remove it if we use clang
- if tc-is-clang ; then
- sed -e 's/-fno-check-new//' -i cmake/modules/PopplerMacros.cmake || die
- fi
-
- if ! grep -Fq 'cmake_policy(SET CMP0002 OLD)' CMakeLists.txt ; then
- sed -e '/^cmake_minimum_required/acmake_policy(SET CMP0002 OLD)' \
- -i CMakeLists.txt || die
- else
- einfo "policy(SET CMP0002 OLD) - workaround can be removed"
- fi
-}
-
-src_configure() {
- xdg_environment_reset
- append-lfs-flags # bug #898506
-
- local mycmakeargs=(
- -DBUILD_GTK_TESTS=OFF
- -DBUILD_QT5_TESTS=$(usex test $(usex qt5))
- -DBUILD_QT6_TESTS=$(usex test $(usex qt6))
- -DBUILD_CPP_TESTS=$(usex test)
- -DBUILD_MANUAL_TESTS=$(usex test)
- -DTESTDATADIR="${WORKDIR}"/test-${TEST_COMMIT}
- -DRUN_GPERF_IF_PRESENT=OFF
- -DENABLE_BOOST="$(usex boost)"
- -DENABLE_ZLIB_UNCOMPRESS=OFF
- -DENABLE_UNSTABLE_API_ABI_HEADERS=ON
- -DUSE_FLOAT=OFF
- -DWITH_Cairo=$(usex cairo)
- -DENABLE_LIBCURL=$(usex curl)
- -DENABLE_CPP=$(usex cxx)
- -DENABLE_GPGME=$(usex gpgme)
- -DWITH_JPEG=$(usex jpeg)
- -DENABLE_DCTDECODER=$(usex jpeg libjpeg none)
- -DENABLE_LIBOPENJPEG=$(usex jpeg2k openjpeg2 none)
- -DENABLE_LCMS=$(usex lcms)
- -DENABLE_NSS3=$(usex nss)
- -DWITH_PNG=$(usex png)
- -DENABLE_QT5=$(usex qt5)
- -DENABLE_QT6=$(usex qt6)
- -DENABLE_LIBTIFF=$(usex tiff)
- -DENABLE_UTILS=$(usex utils)
- )
- use cairo && mycmakeargs+=( -DWITH_GObjectIntrospection=$(usex introspection) )
-
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- # live version doesn't provide html documentation
- if use cairo && use doc && [[ ${PV} != *9999* ]]; then
- # For now install gtk-doc there
- insinto /usr/share/gtk-doc/html/poppler
- doins -r "${S}"/glib/reference/html/*
- fi
-}
diff --git a/app-text/poppler/poppler-24.10.0.ebuild b/app-text/poppler/poppler-24.10.0.ebuild
deleted file mode 100644
index 30f9b48467a0..000000000000
--- a/app-text/poppler/poppler-24.10.0.ebuild
+++ /dev/null
@@ -1,157 +0,0 @@
-# Copyright 2005-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic toolchain-funcs xdg-utils
-
-if [[ ${PV} == *9999* ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://gitlab.freedesktop.org/poppler/poppler"
- SLOT="0/9999"
-else
- VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/aacid.asc
- inherit verify-sig
-
- TEST_COMMIT="ff3133cdb6cb496ee1d2c3231bfa35006a5e8410"
- SRC_URI="https://poppler.freedesktop.org/${P}.tar.xz"
- SRC_URI+=" test? ( https://gitlab.freedesktop.org/poppler/test/-/archive/${TEST_COMMIT}/test-${TEST_COMMIT}.tar.bz2 -> ${PN}-test-${TEST_COMMIT}.tar.bz2 )"
- SRC_URI+=" verify-sig? ( https://poppler.freedesktop.org/${P}.tar.xz.sig )"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
- SLOT="0/142" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION
-fi
-
-DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
-HOMEPAGE="https://poppler.freedesktop.org/"
-
-LICENSE="GPL-2"
-IUSE="boost cairo cjk curl +cxx debug doc gpgme +introspection +jpeg +jpeg2k +lcms nss png qt5 qt6 test tiff +utils"
-RESTRICT="!test? ( test )"
-
-COMMON_DEPEND="
- >=media-libs/fontconfig-2.13
- >=media-libs/freetype-2.10
- sys-libs/zlib
- cairo? (
- >=dev-libs/glib-2.64:2
- >=x11-libs/cairo-1.16
- introspection? ( >=dev-libs/gobject-introspection-1.72:= )
- )
- curl? ( net-misc/curl )
- gpgme? ( >=app-crypt/gpgme-1.19.0:=[cxx] )
- jpeg? ( >=media-libs/libjpeg-turbo-1.1.0:= )
- jpeg2k? ( >=media-libs/openjpeg-2.3.0-r1:2= )
- lcms? ( media-libs/lcms:2 )
- nss? ( >=dev-libs/nss-3.49 )
- png? ( media-libs/libpng:0= )
- qt5? (
- >=dev-qt/qtcore-5.15.2:5
- >=dev-qt/qtgui-5.15.2:5
- >=dev-qt/qtxml-5.15.2:5
- )
- qt6? ( dev-qt/qtbase:6[gui,xml] )
- tiff? ( media-libs/tiff:= )
-"
-RDEPEND="${COMMON_DEPEND}
- cjk? ( app-text/poppler-data )
-"
-DEPEND="${COMMON_DEPEND}
- boost? ( >=dev-libs/boost-1.74 )
- test? (
- qt5? (
- >=dev-qt/qttest-5.15.2:5
- >=dev-qt/qtwidgets-5.15.2:5
- )
- qt6? ( dev-qt/qtbase:6[widgets] )
- )
-"
-BDEPEND="
- >=dev-util/glib-utils-2.64
- virtual/pkgconfig
-"
-
-if [[ ${PV} != *9999* ]] ; then
- BDEPEND+=" verify-sig? ( >=sec-keys/openpgp-keys-aacid-20230907 )"
-fi
-
-DOCS=( AUTHORS NEWS README.md README-XPDF )
-
-PATCHES=(
- "${FILESDIR}/${PN}-23.10.0-qt-deps.patch"
- "${FILESDIR}/${PN}-21.09.0-respect-cflags.patch"
- "${FILESDIR}/${PN}-0.57.0-disable-internal-jpx.patch"
-)
-
-src_unpack() {
- if [[ ${PV} == *9999* ]] ; then
- git-r3_src_unpack
- elif use verify-sig ; then
- verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.sig}
- fi
-
- default
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # Clang doesn't grok this flag, the configure nicely tests that, but
- # cmake just uses it, so remove it if we use clang
- if tc-is-clang ; then
- sed -e 's/-fno-check-new//' -i cmake/modules/PopplerMacros.cmake || die
- fi
-
- if ! grep -Fq 'cmake_policy(SET CMP0002 OLD)' CMakeLists.txt ; then
- sed -e '/^cmake_minimum_required/acmake_policy(SET CMP0002 OLD)' \
- -i CMakeLists.txt || die
- else
- einfo "policy(SET CMP0002 OLD) - workaround can be removed"
- fi
-}
-
-src_configure() {
- xdg_environment_reset
- append-lfs-flags # bug #898506
-
- local mycmakeargs=(
- -DBUILD_GTK_TESTS=OFF
- -DBUILD_QT5_TESTS=$(usex test $(usex qt5))
- -DBUILD_QT6_TESTS=$(usex test $(usex qt6))
- -DBUILD_CPP_TESTS=$(usex test)
- -DBUILD_MANUAL_TESTS=$(usex test)
- -DTESTDATADIR="${WORKDIR}"/test-${TEST_COMMIT}
- -DRUN_GPERF_IF_PRESENT=OFF
- -DENABLE_BOOST="$(usex boost)"
- -DENABLE_ZLIB_UNCOMPRESS=OFF
- -DENABLE_UNSTABLE_API_ABI_HEADERS=ON
- -DUSE_FLOAT=OFF
- -DWITH_Cairo=$(usex cairo)
- -DENABLE_LIBCURL=$(usex curl)
- -DENABLE_CPP=$(usex cxx)
- -DENABLE_GPGME=$(usex gpgme)
- -DWITH_JPEG=$(usex jpeg)
- -DENABLE_DCTDECODER=$(usex jpeg libjpeg none)
- -DENABLE_LIBOPENJPEG=$(usex jpeg2k openjpeg2 none)
- -DENABLE_LCMS=$(usex lcms)
- -DENABLE_NSS3=$(usex nss)
- -DWITH_PNG=$(usex png)
- -DENABLE_QT5=$(usex qt5)
- -DENABLE_QT6=$(usex qt6)
- -DENABLE_LIBTIFF=$(usex tiff)
- -DENABLE_UTILS=$(usex utils)
- )
- use cairo && mycmakeargs+=( -DWITH_GObjectIntrospection=$(usex introspection) )
-
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- # live version doesn't provide html documentation
- if use cairo && use doc && [[ ${PV} != *9999* ]]; then
- # For now install gtk-doc there
- insinto /usr/share/gtk-doc/html/poppler
- doins -r "${S}"/glib/reference/html/*
- fi
-}