summaryrefslogtreecommitdiff
path: root/app-text/krop
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-28 23:59:44 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-28 23:59:44 +0100
commit5f0030fd1370c4d03dbb2e0d3086f5e618a33749 (patch)
treed3996b456278fbe1e1528053ddd115c4bac05401 /app-text/krop
parent413421048cc2b0df9a218f0ab3cb151846809eb5 (diff)
gentoo auto-resync : 28:04:2024 - 23:59:44
Diffstat (limited to 'app-text/krop')
-rw-r--r--app-text/krop/Manifest1
-rw-r--r--app-text/krop/krop-0.6.0-r3.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/app-text/krop/Manifest b/app-text/krop/Manifest
index d147d3a206a4..976e741e9238 100644
--- a/app-text/krop/Manifest
+++ b/app-text/krop/Manifest
@@ -2,4 +2,5 @@ AUX krop-0.6.0-links.patch 2327 BLAKE2B 5bae0df80ac0e68845b5b231306bf1ca92452b6f
AUX krop-0.6.0-pikepdf.patch 5691 BLAKE2B 4cae2438ec89197616ab5a680d6cc1a391207c44396d0699fac264a39f0e642541e2c1047b86f1def842ef19d15158408ef6496a8dc956ec699db52a7b89c452 SHA512 c6a47582e8821d987e11fce3ae8de5e59383d1bca37328f8ab24aee590bf5f9b21dcc3d64cf20150026fd4a38beb653161804fc828da07b5bb265a2703ca86ae
DIST krop-0.6.0.tar.gz 48331 BLAKE2B ca6a00a410ed4e18a401fab3a21bc49c86f73165f68b192ab83c8fad74111ba9a9941f464a2646faa5a3317bbb45cdc89bed19c901999c0b11db353ac2997a65 SHA512 51a988e4fcb65d11cc26cf5b0c808e79097a66ef8ec4751a6c051289cd77b3328ebc8ecd9829adc466f87330beb8bc715d290cc20be415a7b8f179378b7bcb4f
EBUILD krop-0.6.0-r2.ebuild 1028 BLAKE2B d4bb1286241cf0bcaa7a992a7bc206224cd057782cf5eaa9a69d32561a2d4065d3d19812b77c04688a5c47c3a81ddae1d0aee830e4a07faac1c282bf91f075ad SHA512 0bbb96cc197457df3bf9eacffc1ca26484960a3d40aeae9943ccc8368ba6dea028cb8fa38019ae779c5aa4532b3059c6929b11d5579662b20bf961452b9fbc4b
+EBUILD krop-0.6.0-r3.ebuild 861 BLAKE2B 49050d806b34e2f8f7de5ecb05fdd9c14a830bd4c8cf36dd01364c930ed927d3a96d4b9a13a2cb203529a72103a7e1542229f8a0dc99ae912611b872ba73ffdc SHA512 634827c2a0f27403d5b1cb215764aa059a8e173f3b3e5821ce5f930e5d52923428e3f4535505fc3cc4361dd1b08b2923dd983a26d204291cb9232ef9def2ba91
MISC metadata.xml 412 BLAKE2B cf7adf888afec0389c32bf0ebbb83a0723168970203742a5564872471eb05700cc387ace750b0606deb337e9e0e3d109ff56e650c8c617e516d1196d6ef1f52b SHA512 bc6dd57f76f5ac0468e15f31062d302cc4a7815eb6bd323a610657f02ce46524520652b2125512bb40d50e18b37369b8e1911debd3116a644f3c6ed2c099d62d
diff --git a/app-text/krop/krop-0.6.0-r3.ebuild b/app-text/krop/krop-0.6.0-r3.ebuild
new file mode 100644
index 000000000000..21c3bf034087
--- /dev/null
+++ b/app-text/krop/krop-0.6.0-r3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit desktop distutils-r1 xdg
+
+if [[ ${PV} == 9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/arminstraub/krop.git"
+else
+ SRC_URI="https://github.com/arminstraub/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="A tool to crop PDF files"
+HOMEPAGE="http://arminstraub.com/software/krop"
+LICENSE="GPL-3+"
+SLOT="0"
+
+PATCHES=(
+ "${FILESDIR}/${P}-links.patch"
+ "${FILESDIR}/${P}-pikepdf.patch"
+)
+
+RDEPEND="
+ dev-python/python-poppler-qt5[${PYTHON_USEDEP}]
+ dev-python/pikepdf[${PYTHON_USEDEP}]
+ dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets]
+"
+
+src_install() {
+ distutils-r1_src_install
+ domenu "${WORKDIR}/${P}/${PN}.desktop"
+}