summaryrefslogtreecommitdiff
path: root/app-text/unpaper
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/unpaper')
-rw-r--r--app-text/unpaper/Manifest9
-rw-r--r--app-text/unpaper/metadata.xml8
-rw-r--r--app-text/unpaper/unpaper-5.1.ebuild37
-rw-r--r--app-text/unpaper/unpaper-6.1-r1.ebuild41
-rw-r--r--app-text/unpaper/unpaper-6.1.ebuild39
-rw-r--r--app-text/unpaper/unpaper-9999.ebuild41
6 files changed, 175 insertions, 0 deletions
diff --git a/app-text/unpaper/Manifest b/app-text/unpaper/Manifest
new file mode 100644
index 000000000000..c9eac375d3af
--- /dev/null
+++ b/app-text/unpaper/Manifest
@@ -0,0 +1,9 @@
+DIST unpaper-5.1.tar.xz 2861432 SHA256 5380417efb5a766d132b496000ad9772a5338b87e37abfa3f10255e9f59ee7c1 SHA512 5ccd90c4c92774085df6cee5552d72d538d3ee553f95ca3d2bea850975ac6e728be97aa7dca194ba44ef8156c26c19d61d051c4581100f8c553998d9a86cefdf WHIRLPOOL 75006b03908c6086236744cdff51d1dc66b80a94e9f7e3630444af149ce235c7b0c54af2954e7f093ecc23f6e86d1478333d991db8ae223e212ebc0a92c6dfee
+DIST unpaper-6.1.tar.xz 2655724 SHA256 237c84f5da544b3f7709827f9f12c37c346cdf029b1128fb4633f9bafa5cb930 SHA512 afef705985d3c265672c9e42130acc34befc080c361f3169e299b5110c662d0b9845a9d0ca4fc3aad468f49967ded36fb60ffed296373569dd7337c3cb81e79c WHIRLPOOL e88a296f1b0718a593d70b769e4ed122b4ca92fb802d3a8e74da49dbf756cac2782cbe754ed7a6c0cf73adf73b7aa970ef6154ee2c8ce5f42da127ccee2d8936
+EBUILD unpaper-5.1.ebuild 753 SHA256 717118c1b437487e8b36af0e7fff8e4a92490b4ca8b9510f5d3e964e2725a905 SHA512 4c5169cfaec2ad853cd9591a73cc87c24750b8dda1d58784348048a634d471992ce5dbf23db4e518e4c6b3bdbbcf5ae0a84ae901b7fc166a690190d0d5f5f3b6 WHIRLPOOL 9a74c367d5af6312458aee34636861b9728ea1af5f5ea8d72abe385ceba0574929ae8c324b95dd2fa76a579b5cff9b48d1ccb68d16365ba00f718ee7c256cfce
+EBUILD unpaper-6.1-r1.ebuild 943 SHA256 18ba378bbda65863c8684ae2a5e57e2373019ea8436bc4f58781e9342becbf61 SHA512 cbf3e72d0c6cfa4924e78e6da5970b6a1cbe906ea4e32b725389888d2b609028d4b4c55773971269a1e5bc10e7c6c991bcee179595d62c9fd693491df94dd953 WHIRLPOOL 2e2f6f850b851e3da81e287d9be477bb22755c9084b40c1adc13b27a4beabc83e20efb98f1054ef3028f59b76463a2e4cf0a5e95a395c789a1001fdff63ff83e
+EBUILD unpaper-6.1.ebuild 912 SHA256 b8c96dd3dbe77f6362e626f4ed274705c371cca892199b6b5aaa5f47b61d33f2 SHA512 e70fe61488b1fd2f48f41e6ca075ba1c46e5202e95ff150ba7adccf803d469949dcb4c3d1986ce62f523ae46fe277429216bf8f767fcab70202281e61cf1d352 WHIRLPOOL 5910ddcfb24f025f42dc488d43387d81f63b097b621214c24b50dacf8b241f610688bb7ad25824978d4445fe9da1f71c69b99fe14f88d51952ae5ff80a845c50
+EBUILD unpaper-9999.ebuild 943 SHA256 18ba378bbda65863c8684ae2a5e57e2373019ea8436bc4f58781e9342becbf61 SHA512 cbf3e72d0c6cfa4924e78e6da5970b6a1cbe906ea4e32b725389888d2b609028d4b4c55773971269a1e5bc10e7c6c991bcee179595d62c9fd693491df94dd953 WHIRLPOOL 2e2f6f850b851e3da81e287d9be477bb22755c9084b40c1adc13b27a4beabc83e20efb98f1054ef3028f59b76463a2e4cf0a5e95a395c789a1001fdff63ff83e
+MISC ChangeLog 2446 SHA256 a7701aad8c047270bfb9d09697469961bfd4fc279a3d93f0de3cdcfdd66df60e SHA512 5fa04a6e08b88c8e941867977bb5c033863b24a1afb891e9bb50421ef24a38a5c90ba22e09a2b66ecf8982d7c0af0a1ba825c435afede75b9c5216e2283a13d8 WHIRLPOOL 5939130c1aa37a72abffc6d9f94efdbdea36fe7453d88fcb961f2b26d7e18dba24c86a513d4d76d32e0c04a353bae99c0cb85ddaec9efb9825e0dfa505dc1cd3
+MISC ChangeLog-2015 2755 SHA256 3f532dc2cddaf85aad75e2f42d20f715dd726a88e89f9034cb38ff8d1fec3127 SHA512 3f12434446d9cc416af72fd1aa86e96a0cefb6266dc0011853d8bec9efd0b3115181b52a5536885ce3fceb795c137d502f5540d709845bdb10c5ba396b9a2cc5 WHIRLPOOL 48c93a0017922212027d06b25070de29a7b5dada6a4530bd9d2ef3c708e44ae507eda1ff58ffd78278c522e824e3c92e5c7930f1b026e765fc57822caac75cdb
+MISC metadata.xml 292 SHA256 daeb699d428ad40519667da2f3b7b658a99a23414440a0ba5f380c47fc9d0d42 SHA512 67a23847327391a27c4acbb895e63063fa541de6fdf062887b1aa25a731bf2096e26f26c6cd62720bdc84fcbde256dbe6c9cc44687a7931d5e1a657ea684348a WHIRLPOOL 98defe1795423e7af8d4f3cf109f9df2463a99719221ca8c5e78f20fcc50445c8a55bcd487031d1aed3fe901e6daad6759dce9f8eace6cec46bb7b5559cefb88
diff --git a/app-text/unpaper/metadata.xml b/app-text/unpaper/metadata.xml
new file mode 100644
index 000000000000..5c69cff947ef
--- /dev/null
+++ b/app-text/unpaper/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="github">Flameeyes/unpaper</remote-id>
+ <bugs-to>https://github.com/Flameeyes/unpaper/issues</bugs-to>
+ </upstream>
+</pkgmetadata>
diff --git a/app-text/unpaper/unpaper-5.1.ebuild b/app-text/unpaper/unpaper-5.1.ebuild
new file mode 100644
index 000000000000..945ae6370e42
--- /dev/null
+++ b/app-text/unpaper/unpaper-5.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+if [[ ${PV} == 9999 ]]; then
+ EGIT_REPO_URI="https://github.com/Flameeyes/unpaper.git"
+ inherit git-2 autotools
+else
+ SRC_URI="https://www.flameeyes.eu/files/${P}.tar.xz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Post-processor for scanned and photocopied book pages"
+HOMEPAGE="https://www.flameeyes.eu/projects/unpaper"
+
+LICENSE="GPL-2"
+
+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
+}
diff --git a/app-text/unpaper/unpaper-6.1-r1.ebuild b/app-text/unpaper/unpaper-6.1-r1.ebuild
new file mode 100644
index 000000000000..aed3c7c6ab3f
--- /dev/null
+++ b/app-text/unpaper/unpaper-6.1-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools-utils
+
+if [[ ${PV} == 9999 ]]; then
+ EGIT_REPO_URI="https://github.com/Flameeyes/unpaper.git"
+ inherit git-2 autotools
+else
+ SRC_URI="https://www.flameeyes.eu/files/${P}.tar.xz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Post-processor for scanned and photocopied book pages"
+HOMEPAGE="https://www.flameeyes.eu/projects/unpaper"
+
+LICENSE="GPL-2"
+
+SLOT="0"
+IUSE="libav test"
+
+RDEPEND="
+ libav? ( >=media-video/libav-10:0=[encode] )
+ !libav? ( >=media-video/ffmpeg-2:0=[encode] )"
+DEPEND="dev-libs/libxslt
+ app-text/docbook-xsl-ns-stylesheets
+ virtual/pkgconfig
+ ${RDEPEND}"
+
+# gcc can generate slightly different code that leads to slightly different
+# images. Wait until we get a better testsuite.
+RESTRICT="test"
+
+if [[ ${PV} == 9999 ]]; then
+ src_prepare() {
+ eautoreconf
+ autotools-utils_src_prepare
+ }
+fi
diff --git a/app-text/unpaper/unpaper-6.1.ebuild b/app-text/unpaper/unpaper-6.1.ebuild
new file mode 100644
index 000000000000..068f014b1ee9
--- /dev/null
+++ b/app-text/unpaper/unpaper-6.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools-utils
+
+if [[ ${PV} == 9999 ]]; then
+ EGIT_REPO_URI="https://github.com/Flameeyes/unpaper.git"
+ inherit git-2 autotools
+else
+ SRC_URI="https://www.flameeyes.eu/files/${P}.tar.xz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Post-processor for scanned and photocopied book pages"
+HOMEPAGE="https://www.flameeyes.eu/projects/unpaper"
+
+LICENSE="GPL-2"
+
+SLOT="0"
+IUSE="test"
+
+RDEPEND="|| ( >=media-video/libav-10[encode] >=media-video/ffmpeg-2[encode] )"
+DEPEND="dev-libs/libxslt
+ app-text/docbook-xsl-ns-stylesheets
+ virtual/pkgconfig
+ ${RDEPEND}"
+
+# gcc can generate slightly different code that leads to slightly different
+# images. Wait until we get a better testsuite.
+RESTRICT="test"
+
+if [[ ${PV} == 9999 ]]; then
+ src_prepare() {
+ eautoreconf
+ autotools-utils_src_prepare
+ }
+fi
diff --git a/app-text/unpaper/unpaper-9999.ebuild b/app-text/unpaper/unpaper-9999.ebuild
new file mode 100644
index 000000000000..aed3c7c6ab3f
--- /dev/null
+++ b/app-text/unpaper/unpaper-9999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools-utils
+
+if [[ ${PV} == 9999 ]]; then
+ EGIT_REPO_URI="https://github.com/Flameeyes/unpaper.git"
+ inherit git-2 autotools
+else
+ SRC_URI="https://www.flameeyes.eu/files/${P}.tar.xz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Post-processor for scanned and photocopied book pages"
+HOMEPAGE="https://www.flameeyes.eu/projects/unpaper"
+
+LICENSE="GPL-2"
+
+SLOT="0"
+IUSE="libav test"
+
+RDEPEND="
+ libav? ( >=media-video/libav-10:0=[encode] )
+ !libav? ( >=media-video/ffmpeg-2:0=[encode] )"
+DEPEND="dev-libs/libxslt
+ app-text/docbook-xsl-ns-stylesheets
+ virtual/pkgconfig
+ ${RDEPEND}"
+
+# gcc can generate slightly different code that leads to slightly different
+# images. Wait until we get a better testsuite.
+RESTRICT="test"
+
+if [[ ${PV} == 9999 ]]; then
+ src_prepare() {
+ eautoreconf
+ autotools-utils_src_prepare
+ }
+fi