You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.0 KiB
41 lines
1.0 KiB
3 months ago
|
# Copyright 1999-2024 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=8
|
||
|
|
||
|
DISTUTILS_USE_PEP517=setuptools
|
||
2 months ago
|
PYTHON_COMPAT=( python3_{9..12} )
|
||
3 months ago
|
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}]
|
||
2 months ago
|
dev-python/pillow[${PYTHON_USEDEP},lcms]
|
||
3 months ago
|
dev-python/pygobject:3[${PYTHON_USEDEP},cairo]
|
||
|
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||
|
x11-libs/gtk+:3[introspection]
|
||
|
x11-libs/pango[introspection]
|
||
|
"
|
||
2 months ago
|
DEPEND="${RDEPEND}"
|
||
3 months ago
|
|
||
|
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
|
||
|
}
|