From eec1a5f924d47fb9a03ffc7d49c2b625ca9bd04e Mon Sep 17 00:00:00 2001 From: Andrey Grozin Date: Thu, 20 Jul 2023 23:09:07 +0700 Subject: [PATCH] app-text/pdfarranger: bump to 1.10.0 Signed-off-by: Andrey Grozin --- app-text/pdfarranger/Manifest | 1 + .../pdfarranger/pdfarranger-1.10.0.ebuild | 43 +++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 app-text/pdfarranger/pdfarranger-1.10.0.ebuild diff --git a/app-text/pdfarranger/Manifest b/app-text/pdfarranger/Manifest index 0b264609101a8..2a27a40ede74b 100644 --- a/app-text/pdfarranger/Manifest +++ b/app-text/pdfarranger/Manifest @@ -1,2 +1,3 @@ +DIST pdfarranger-1.10.0.tar.gz 303125 BLAKE2B 126b47dfdabbe6d75331788dd891e1d8136a70b98e70601e19fd47fc7e3d81c350eb1fc8866a3a09db88b2b760ef964e7a01cf233464440c81a6dc5462101592 SHA512 92aa53a402d2f4c82a7f99f2acc1c328f71ad18835e524588e0f011f3ba8b074bf425ed881bb5f9ce3020833ce37cc3c301fd90b8931b44f909c8647bc1b09af DIST pdfarranger-1.9.1.tar.gz 279138 BLAKE2B 18ac9a63eff5455e395b3c126adea590b230b1884ee64e08eeaf4951c663787a827e42db9475632210b2ca3875a23e1718fdfc1b4309c5babc7ce31b6e188829 SHA512 ba60744f1b7c96ca9f86ed75cc5ea1b3df41af162048550a916a96972b0e987acfbdc3c46693adc239fdad5569369f24555e157a2f56936374ba132ffc8cbde6 DIST pdfarranger-1.9.2.tar.gz 280531 BLAKE2B 6a7a8e73e701fe9bbb5bd1f94411003dfb16966ad28522820a27e7ab554b3c2679eec3f4a08332bd58dc1c1cafd620e1daef2f39cb0f6dc5589d7bd5eb293650 SHA512 c22cc753e2606d90913970ce57462b4aca7c41fa6a9b6ece76b618800cad12bce808aba4a6fba2ef9698fda209e11799f30d091a88c9beb2e80a09ac7df51cb8 diff --git a/app-text/pdfarranger/pdfarranger-1.10.0.ebuild b/app-text/pdfarranger/pdfarranger-1.10.0.ebuild new file mode 100644 index 0000000000000..44893f0ef11ce --- /dev/null +++ b/app-text/pdfarranger/pdfarranger-1.10.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_SETUPTOOLS=rdepend +inherit distutils-r1 optfeature xdg desktop + +DESCRIPTION="Merge or split pdfs; rearrange, rotate, crop pages" +HOMEPAGE="https://github.com/jeromerobert/pdfarranger" +SRC_URI="https://github.com/jeromerobert/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=" + app-text/poppler[introspection,cairo] + >=dev-python/pikepdf-6.0.0[${PYTHON_USEDEP}] + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP},cairo] + dev-python/python-dateutil[${PYTHON_USEDEP}] + x11-libs/gtk+:3[introspection] + x11-libs/pango[introspection] +" +DEPEND="${RDEPEND} + dev-python/python-distutils-extra[${PYTHON_USEDEP}] + dev-util/intltool +" + +src_install() { + distutils-r1_src_install + for x in 16 32 48 256 scalable + do doicon -s ${x} data/icons/hicolor/${x}*/* + done +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "image file import" media-gfx/img2pdf +}