summaryrefslogtreecommitdiff
path: root/app-text/krop
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-12-31 13:43:35 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-12-31 13:43:35 +0000
commit2891d29af8907ce881662f4a02844926d7a293c7 (patch)
tree56979d96839d0827aa52008b81b746b4934d88df /app-text/krop
parentde49812990871e1705b64051c35161d5e6400269 (diff)
gentoo resync : 31.12.2018
Diffstat (limited to 'app-text/krop')
-rw-r--r--app-text/krop/Manifest5
-rw-r--r--app-text/krop/krop-0.5.1.ebuild (renamed from app-text/krop/krop-0.4.13.5.ebuild)6
-rw-r--r--app-text/krop/krop-9999.ebuild41
3 files changed, 46 insertions, 6 deletions
diff --git a/app-text/krop/Manifest b/app-text/krop/Manifest
index 6ea56233a7a3..9d45eeebdafe 100644
--- a/app-text/krop/Manifest
+++ b/app-text/krop/Manifest
@@ -1,3 +1,4 @@
-DIST krop-0.4.13.5.tar.gz 40079 BLAKE2B 9d3505f7d9cbf0eef4ec7a28928f14940e6c0a2fd4499b6c5896fde7b3f7b8a0b84ddc4f9c7735ee348f89e9924a7b8f69a3d4dbfaa4668ac770a0fe8404d469 SHA512 218eb3e256dabcacc53af62b2e704031bd21bedacf2599c4aed7ee3b3847b35741c921a08137b7b6e7295ddfc7f87f4ffbf9d3fec3fb137d1ce36e3945dc6129
-EBUILD krop-0.4.13.5.ebuild 881 BLAKE2B 5a73a8b0ae93c3aae190cf8df89c437fca569ecd59b0efc67224658f943c02a3a885c8f4299ea2f7e58beb9056cdc0c32a0311a99306d6fbea3f67ca575cba3e SHA512 9bec5c026b6f772d3c7a10a16727b14962d356279740eaebf83983839a3f46d997ff2a4135fa7c635b97d388e9f779428ec0b485a78c263fbb8bdbfe776fe201
+DIST krop-0.5.1.tar.gz 42719 BLAKE2B e0baa3c14d9ce63815615eae004a08af720868d584262901eccbc569852177e07d5df659ea560d7e9cbdc4325daef8c35acd9c200440a8dfd73c19b274d8de37 SHA512 2bfd2a5d762454ab45538707c6f333d2b0947b6b203d6e7bd2d9d0d574d79de8ee6b30d87b17d6afea604456b915f323b855c9c9af5c169c192b0a01634075ca
+EBUILD krop-0.5.1.ebuild 772 BLAKE2B 80e6d86fc95989cd3ad84525661d005aaf8f520fc38a39da867d21fc57c91a08609786ce798294d157fa3cc4638074cdc8c403bf05378002c063c243fb05d830 SHA512 fbc43fb2fb7f816767d54b57de28e80256fdcd5dbf41f62d8defb0967830c5ed3a8b0f7a30b7afec14acdec86f90dd18fe9580f9d0c07ad901bd9248c1bf0ed3
+EBUILD krop-9999.ebuild 887 BLAKE2B 8965e42d04b7502d24240957ea43c9705b71a3e7d414a2455e45f71b84848a1d5409083f08490656e8d0a4a26e459ebd5e02cf802f5bcf15300ba8e89a7e2faa SHA512 0d1138ce375ce0c0994738591a07596681efdb848da20a45588ec8758028df68f456f714a7f9d958b6aca790832e7a64cdd74f444f072547249273a18a2e5d65
MISC metadata.xml 333 BLAKE2B b62d23170b13a4d2375de72955c2708368a34435f022231b829b19b60c9f38a1546ec62887dae545691eb1df45998ab7810aa58df3b94729632991e49c4c098f SHA512 30ec13878bbe3b50c90f1849bbc5bf0f8dc05bf1b6a8f79695590f48c76618eef4666965b8130d1909db3c960a43d3149dba525017f342ce9635afc530b873f0
diff --git a/app-text/krop/krop-0.4.13.5.ebuild b/app-text/krop/krop-0.5.1.ebuild
index 108c5f32c840..21e6ff172169 100644
--- a/app-text/krop/krop-0.4.13.5.ebuild
+++ b/app-text/krop/krop-0.5.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -8,9 +8,7 @@ inherit eutils distutils-r1 xdg-utils
DESCRIPTION="A tool to crop PDF files"
HOMEPAGE="http://arminstraub.com/software/krop"
-#SRC_URI="http://arminstraub.com/downloads/${PN}/${P}.tar.gz"
-SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.gz"
-# this is a snapshot of the qt5 branch
+SRC_URI="http://arminstraub.com/downloads/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
diff --git a/app-text/krop/krop-9999.ebuild b/app-text/krop/krop-9999.ebuild
new file mode 100644
index 000000000000..442ae81d8fdf
--- /dev/null
+++ b/app-text/krop/krop-9999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit desktop distutils-r1 xdg-utils
+
+if [[ ${PV} == 9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/arminstraub/krop.git"
+else
+ SRC_URI="http://arminstraub.com/downloads/${PN}/${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"
+IUSE=""
+
+RDEPEND="dev-python/python-poppler-qt5[${PYTHON_USEDEP}]
+ dev-python/PyPDF2[${PYTHON_USEDEP}]
+ dev-python/PyQt5[${PYTHON_USEDEP}]"
+
+src_install() {
+ distutils-r1_src_install
+ domenu "${WORKDIR}/${P}/${PN}.desktop"
+}
+
+pkg_postinst() {
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}