summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2011-10-08 19:47:37 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2011-10-08 19:47:37 +0000
commit1f89be6f9fac7ab9df822875c5277cc02ac1f6af (patch)
treef35cdc122fb0bf515903e913c24a1326b27cca29 /app-text
parentMasking pngcrush for using the bundled libpng14 and zlib libraries. See bug #... (diff)
downloadgentoo-2-1f89be6f9fac7ab9df822875c5277cc02ac1f6af.tar.gz
gentoo-2-1f89be6f9fac7ab9df822875c5277cc02ac1f6af.tar.bz2
gentoo-2-1f89be6f9fac7ab9df822875c5277cc02ac1f6af.zip
Update live ebuild with new homepage URL, and bump to 0.4 version that use my new fork package.
(Portage version: 2.2.0_alpha63/cvs/Linux x86_64)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/unpaper/ChangeLog9
-rw-r--r--app-text/unpaper/unpaper-0.4.ebuild42
-rw-r--r--app-text/unpaper/unpaper-9999.ebuild21
3 files changed, 63 insertions, 9 deletions
diff --git a/app-text/unpaper/ChangeLog b/app-text/unpaper/ChangeLog
index 2223eba49467..9fce20560c06 100644
--- a/app-text/unpaper/ChangeLog
+++ b/app-text/unpaper/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-text/unpaper
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/unpaper/ChangeLog,v 1.4 2011/09/06 14:25:31 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/unpaper/ChangeLog,v 1.5 2011/10/08 19:47:37 flameeyes Exp $
+
+*unpaper-0.4 (08 Oct 2011)
+
+ 08 Oct 2011; Diego E. Pettenò <flameeyes@gentoo.org> +unpaper-0.4.ebuild,
+ unpaper-9999.ebuild:
+ Update live ebuild with new homepage URL, and bump to 0.4 version that use my
+ new fork package.
06 Sep 2011; Diego E. Pettenò <flameeyes@gentoo.org> unpaper-9999.ebuild:
Drop src_install (leave default); add dependencies for man page generation.
diff --git a/app-text/unpaper/unpaper-0.4.ebuild b/app-text/unpaper/unpaper-0.4.ebuild
new file mode 100644
index 000000000000..e038e600c106
--- /dev/null
+++ b/app-text/unpaper/unpaper-0.4.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/unpaper/unpaper-0.4.ebuild,v 1.1 2011/10/08 19:47:36 flameeyes Exp $
+
+EAPI=4
+
+if [[ ${PV} == 9999 ]]; then
+ EGIT_REPO_URI="git://github.com/Flameeyes/unpaper.git"
+ inherit git-2 autotools
+else
+ SRC_URI="http://www.flameeyes.eu/files/${P}.tar.xz"
+fi
+
+DESCRIPTION="Post-processor for scanned and photocopied book pages"
+HOMEPAGE="http://www.flameeyes.eu/projects/unpaper"
+
+LICENSE="GPL-2"
+
+KEYWORDS=""
+SLOT="0"
+IUSE="test"
+
+DEPEND="test? ( media-libs/netpbm[png] )
+ dev-libs/libxslt
+ app-text/docbook-xsl-ns-stylesheets"
+RDEPEND=""
+
+if [[ ${PV} == 9999 ]]; then
+ src_prepare() {
+ eautoreconf
+ }
+fi
+
+src_configure() {
+ econf \
+ --docdir=/usr/share/doc/${PF} \
+ --htmldir=/usr/share/doc/${PF}/html
+}
+
+src_test() {
+ emake check
+}
diff --git a/app-text/unpaper/unpaper-9999.ebuild b/app-text/unpaper/unpaper-9999.ebuild
index c17f91984aac..c352cea4bbf1 100644
--- a/app-text/unpaper/unpaper-9999.ebuild
+++ b/app-text/unpaper/unpaper-9999.ebuild
@@ -1,15 +1,18 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/unpaper/unpaper-9999.ebuild,v 1.2 2011/09/06 14:25:31 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/unpaper/unpaper-9999.ebuild,v 1.3 2011/10/08 19:47:37 flameeyes Exp $
EAPI=4
-EGIT_REPO_URI="git://github.com/Flameeyes/unpaper.git"
-inherit git-2 autotools
+if [[ ${PV} == 9999 ]]; then
+ EGIT_REPO_URI="git://github.com/Flameeyes/unpaper.git"
+ inherit git-2 autotools
+else
+ SRC_URI="http://www.flameeyes.eu/files/${P}.tar.xz"
+fi
DESCRIPTION="Post-processor for scanned and photocopied book pages"
-HOMEPAGE="http://unpaper.berlios.de/
- https://github.com/flameeyes/unpaper"
+HOMEPAGE="http://www.flameeyes.eu/projects/unpaper"
LICENSE="GPL-2"
@@ -22,9 +25,11 @@ DEPEND="test? ( media-libs/netpbm[png] )
app-text/docbook-xsl-ns-stylesheets"
RDEPEND=""
-src_prepare() {
- eautoreconf
-}
+if [[ ${PV} == 9999 ]]; then
+ src_prepare() {
+ eautoreconf
+ }
+fi
src_configure() {
econf \