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.
|
|
|
# Copyright 1999-2014 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
EAPI="4"
|
|
|
|
PYTHON_DEPEND="2"
|
|
|
|
|
|
|
|
inherit distutils eutils fdo-mime gnome2-utils
|
|
|
|
|
|
|
|
DESCRIPTION="PDF-Shuffler is GUI app that can merge or split pdfs and rotate, crop and rearrange their pages"
|
|
|
|
HOMEPAGE="https://sourceforge.net/projects/pdfshuffler/"
|
|
|
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="amd64 x86"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DEPEND="dev-python/pyPdf
|
|
|
|
dev-python/python-poppler"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
|
|
|
DOCS="ChangeLog README TODO AUTHORS"
|
|
|
|
|
|
|
|
pkg_setup() {
|
|
|
|
python_set_active_version 2
|
|
|
|
python_pkg_setup
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_preinst() {
|
|
|
|
gnome2_icon_savelist
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
distutils_pkg_postinst
|
|
|
|
fdo-mime_desktop_database_update
|
|
|
|
fdo-mime_mime_database_update
|
|
|
|
gnome2_icon_cache_update
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postrm() {
|
|
|
|
distutils_pkg_postrm
|
|
|
|
fdo-mime_desktop_database_update
|
|
|
|
fdo-mime_mime_database_update
|
|
|
|
gnome2_icon_cache_update
|
|
|
|
}
|