commit:     eafe6b6a948168d5f761a1a7335d782d07419180
Author:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 29 06:47:04 2025 +0000
Commit:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Sun Jun 29 06:47:23 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eafe6b6a

app-text/pdfarranger: bump to 1.12.1

Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>

 app-text/pdfarranger/Manifest                  |  1 +
 app-text/pdfarranger/pdfarranger-1.12.1.ebuild | 40 ++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/app-text/pdfarranger/Manifest b/app-text/pdfarranger/Manifest
index 9d49aba8048e..a77bbd571544 100644
--- a/app-text/pdfarranger/Manifest
+++ b/app-text/pdfarranger/Manifest
@@ -1 +1,2 @@
 DIST pdfarranger-1.11.1.tar.gz 455095 BLAKE2B 
cc4aebaf27cf2bf66c9ffa6f7519345461072aa36bcdf604f615b4d7366d96d972ff63fc6b3897e424a07c6bcbb78816f275b760335a22056bc9ced6f09618ff
 SHA512 
910c0b03c61f195c5adc054acd249c6a735e276990fdf3f3a77c3538917e76dbf46a8665571730092d1fb23edfad1e97b95337b51fbfe92d1d553c0a78e98cfe
+DIST pdfarranger-1.12.1.tar.gz 607484 BLAKE2B 
a212846517076408eb59b9da88cce353b32e2759ad743537bce670191899b2eee48bb6997765e197e1f547882d3af3d6e251e5014bdbe747ed9f04d7cfb74bc2
 SHA512 
50ae5016b00945f67cc2da881b57db484d247001ad25c6f43ebf5895c809ac72b07011c9d2145b36cbc1d102884873cf04a7b0d0dc6be48a5afcdd5070139bd3

diff --git a/app-text/pdfarranger/pdfarranger-1.12.1.ebuild 
b/app-text/pdfarranger/pdfarranger-1.12.1.ebuild
new file mode 100644
index 000000000000..6f9cddff5173
--- /dev/null
+++ b/app-text/pdfarranger/pdfarranger-1.12.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+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"
+
+RDEPEND="
+       app-text/poppler[introspection,cairo]
+       dev-python/pikepdf[${PYTHON_USEDEP}]
+       dev-python/pycairo[${PYTHON_USEDEP}]
+       dev-python/pillow[${PYTHON_USEDEP},lcms]
+       dev-python/pygobject:3[${PYTHON_USEDEP},cairo]
+       dev-python/python-dateutil[${PYTHON_USEDEP}]
+       x11-libs/gtk+:3[introspection]
+       x11-libs/pango[introspection]
+"
+DEPEND="${RDEPEND}"
+
+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
+}

Reply via email to