summaryrefslogtreecommitdiff
path: root/app-text/unpaper/unpaper-6.1-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-26 20:10:49 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-26 20:10:49 +0000
commitc85a90f90521c7e11d618b527d6630cc64cecbd4 (patch)
tree27c1f04d8eab0e0140fb62887a6a5d4d87c32ad9 /app-text/unpaper/unpaper-6.1-r1.ebuild
parent2f51c9978dda4c6e8debca43e4235ecc86914032 (diff)
gentoo resync : 26.12.2017
Diffstat (limited to 'app-text/unpaper/unpaper-6.1-r1.ebuild')
-rw-r--r--app-text/unpaper/unpaper-6.1-r1.ebuild21
1 files changed, 8 insertions, 13 deletions
diff --git a/app-text/unpaper/unpaper-6.1-r1.ebuild b/app-text/unpaper/unpaper-6.1-r1.ebuild
index aed3c7c6ab3f..e2d4212348de 100644
--- a/app-text/unpaper/unpaper-6.1-r1.ebuild
+++ b/app-text/unpaper/unpaper-6.1-r1.ebuild
@@ -1,13 +1,11 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
-inherit autotools-utils
-
-if [[ ${PV} == 9999 ]]; then
+if [[ ${PV} == *9999 ]]; then
EGIT_REPO_URI="https://github.com/Flameeyes/unpaper.git"
- inherit git-2 autotools
+ inherit git-r3 autotools
else
SRC_URI="https://www.flameeyes.eu/files/${P}.tar.xz"
KEYWORDS="~amd64 ~x86"
@@ -17,7 +15,6 @@ DESCRIPTION="Post-processor for scanned and photocopied book pages"
HOMEPAGE="https://www.flameeyes.eu/projects/unpaper"
LICENSE="GPL-2"
-
SLOT="0"
IUSE="libav test"
@@ -33,9 +30,7 @@ DEPEND="dev-libs/libxslt
# images. Wait until we get a better testsuite.
RESTRICT="test"
-if [[ ${PV} == 9999 ]]; then
- src_prepare() {
- eautoreconf
- autotools-utils_src_prepare
- }
-fi
+src_prepare() {
+ default
+ [[ ${PV} == *9999 ]] && eautoreconf
+}