commit:     dc85726ca4d942416af10efd820a672a634801fa
Author:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  2 12:16:18 2020 +0000
Commit:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Thu Jul  2 12:16:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc85726c

app-text/pdfarranger: install icons

Closes: https://bugs.gentoo.org/728588
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>

 app-text/pdfarranger/pdfarranger-1.5.3-r1.ebuild | 41 ++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/app-text/pdfarranger/pdfarranger-1.5.3-r1.ebuild 
b/app-text/pdfarranger/pdfarranger-1.5.3-r1.ebuild
new file mode 100644
index 00000000000..ca5563883b5
--- /dev/null
+++ b/app-text/pdfarranger/pdfarranger-1.5.3-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+inherit distutils-r1 xdg-utils
+
+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="dev-python/pikepdf[${PYTHON_USEDEP}]
+       dev-python/pygobject:3[${PYTHON_USEDEP},cairo]
+       dev-python/pycairo[${PYTHON_USEDEP}]
+       x11-libs/gtk+:3[introspection]
+       x11-libs/pango[introspection]
+       app-text/poppler[introspection,cairo]"
+DEPEND="${RDEPEND}
+       dev-python/python-distutils-extra[${PYTHON_USEDEP}]"
+
+src_install() {
+       distutils-r1_src_install
+       insinto /usr/share/icons
+       doins -r data/icons/hicolor
+}
+
+pkg_postinst() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+       xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+       xdg_mimeinfo_database_update
+}

Reply via email to