mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-09 00:10:21 +03:00
app-text/poppler: add 25.12.0, bump subslot
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
DIST poppler-25.11.0.tar.xz 1988596 BLAKE2B 77ad24f518ab41549a2db8927804d25ef27a13242133a63ed0d6fb997d4a5078255ee875c9a635d68d999b569c654dcf867e25745833670329b6d52b38cdff7e SHA512 5b2a6fb034360bf6d80263463f5062cc2ab15421c01e2adbe61b54254a53e584575e5ff7fcad534642edd435839a27b807277b21ef5479ef32ca0c89bd54abb8
|
||||
DIST poppler-25.11.0.tar.xz.sig 833 BLAKE2B 31abd8345c81a4752beea7f5a859854688218d9956d9d8e640208c58f048a4386143ff0a5701517bd65b232e8df5c0c3f2355df78ee22aee4875759eb1fb5d9c SHA512 eb5a283032c82080a09ea14cdafa9de5a01004af2fc08c5e4f0d3a0ce632a75d0fc0bc5bd73aa3d9eb7bb39973c586b021f6170fd3d481b7c66e6624ee4730e3
|
||||
DIST poppler-25.12.0.tar.xz 1992456 BLAKE2B 77ba5031a1e7c5c1a619050bf0e3bfca4f09da175559ca8eeebb1706291f2348c20f790845584863a9af3829b691e453af3781b6ebaa4f4292c017468a094ee7 SHA512 4f68713d7efa5003a60773749d3bcff4041b165dfb65104a56cec576559c15164fc4a021244cc91f4ed76aab709757637396d7c5b6fbcf3eed23e3469072e4f3
|
||||
DIST poppler-25.12.0.tar.xz.sig 833 BLAKE2B 013277f73e6d63481c3a208aac2a02aeeef9d945c861f79f5738105c725015d3dff24ee1b22bf14461c7c570f3f161b15b52c871c9a667217581a471ca096ab3 SHA512 11d6eccfe953905d09528ed3a8bfee8841126d869e5242e8ac5cb969f6dc599a7e07fda9cdc3090ec6c70097ae9215517dbf2ca3eb9cd4e21b6310a8fd340b9f
|
||||
DIST poppler-test-9d5011815a14c157ba25bb160187842fb81579a5.tar.bz2 5500878 BLAKE2B 4ced4be267431cfd7c39398055e22c7228df2f1de09cba86bfbd76d785b26f4767a69eefccaa7473b4f410a7f1a4b97d9133141b8c66892bb3f209376d5d231e SHA512 89982192b2d98c5c1e9c03ad1e4a09fe38d1525669799690e8d5f333d2e5905b5b57f58dd09483e5a4d3634fa35da22984b9d2797f4e11c3d821eaaf67865f6c
|
||||
|
||||
150
app-text/poppler/poppler-25.12.0.ebuild
Normal file
150
app-text/poppler/poppler-25.12.0.ebuild
Normal file
@@ -0,0 +1,150 @@
|
||||
# Copyright 2005-2025 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="9d5011815a14c157ba25bb160187842fb81579a5"
|
||||
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/155" # 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
|
||||
virtual/zlib:=
|
||||
cairo? (
|
||||
>=dev-libs/glib-2.64:2
|
||||
>=x11-libs/cairo-1.16
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= )
|
||||
)
|
||||
curl? ( net-misc/curl )
|
||||
gpgme? ( dev-cpp/gpgmepp:= )
|
||||
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
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
@@ -18,7 +18,7 @@ else
|
||||
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/154" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION
|
||||
SLOT="0/155" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION
|
||||
fi
|
||||
|
||||
DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
|
||||
|
||||
Reference in New Issue
Block a user