1 |
commit: dc85726ca4d942416af10efd820a672a634801fa |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 2 12:16:18 2020 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 2 12:16:18 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc85726c |
7 |
|
8 |
app-text/pdfarranger: install icons |
9 |
|
10 |
Closes: https://bugs.gentoo.org/728588 |
11 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
12 |
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org> |
13 |
|
14 |
app-text/pdfarranger/pdfarranger-1.5.3-r1.ebuild | 41 ++++++++++++++++++++++++ |
15 |
1 file changed, 41 insertions(+) |
16 |
|
17 |
diff --git a/app-text/pdfarranger/pdfarranger-1.5.3-r1.ebuild b/app-text/pdfarranger/pdfarranger-1.5.3-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..ca5563883b5 |
20 |
--- /dev/null |
21 |
+++ b/app-text/pdfarranger/pdfarranger-1.5.3-r1.ebuild |
22 |
@@ -0,0 +1,41 @@ |
23 |
+# Copyright 1999-2020 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=7 |
27 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
28 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
29 |
+inherit distutils-r1 xdg-utils |
30 |
+ |
31 |
+DESCRIPTION="Merge or split pdfs; rearrange, rotate, crop pages." |
32 |
+HOMEPAGE="https://github.com/jeromerobert/pdfarranger" |
33 |
+SRC_URI="https://github.com/jeromerobert/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
34 |
+LICENSE="GPL-3" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~amd64" |
37 |
+IUSE="" |
38 |
+RDEPEND="dev-python/pikepdf[${PYTHON_USEDEP}] |
39 |
+ dev-python/pygobject:3[${PYTHON_USEDEP},cairo] |
40 |
+ dev-python/pycairo[${PYTHON_USEDEP}] |
41 |
+ x11-libs/gtk+:3[introspection] |
42 |
+ x11-libs/pango[introspection] |
43 |
+ app-text/poppler[introspection,cairo]" |
44 |
+DEPEND="${RDEPEND} |
45 |
+ dev-python/python-distutils-extra[${PYTHON_USEDEP}]" |
46 |
+ |
47 |
+src_install() { |
48 |
+ distutils-r1_src_install |
49 |
+ insinto /usr/share/icons |
50 |
+ doins -r data/icons/hicolor |
51 |
+} |
52 |
+ |
53 |
+pkg_postinst() { |
54 |
+ xdg_desktop_database_update |
55 |
+ xdg_icon_cache_update |
56 |
+ xdg_mimeinfo_database_update |
57 |
+} |
58 |
+ |
59 |
+pkg_postrm() { |
60 |
+ xdg_desktop_database_update |
61 |
+ xdg_icon_cache_update |
62 |
+ xdg_mimeinfo_database_update |
63 |
+} |