summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2006-11-29 09:36:45 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2006-11-29 09:36:45 +0000
commit2ef8a1935a134ed58aa95a296323f406bd8fdf2a (patch)
tree845832f520c1e6e25d4d26e3637371ce032d6a1f /media-video/subtitleripper
parentAdded patch to enlarge ac3-buffer, thanks to Artur Wegele <A.Wegele@tu-bs.de>... (diff)
downloadgentoo-2-2ef8a1935a134ed58aa95a296323f406bd8fdf2a.tar.gz
gentoo-2-2ef8a1935a134ed58aa95a296323f406bd8fdf2a.tar.bz2
gentoo-2-2ef8a1935a134ed58aa95a296323f406bd8fdf2a.zip
Install gocr-filter, thanks to Christian Schmidt <gentoo@digadd.de>, Bug #155853.
(Portage version: 2.1.2_rc2-r2)
Diffstat (limited to 'media-video/subtitleripper')
-rw-r--r--media-video/subtitleripper/ChangeLog9
-rw-r--r--media-video/subtitleripper/files/digest-subtitleripper-0.3.42
-rw-r--r--media-video/subtitleripper/files/digest-subtitleripper-0.3.4-r12
-rw-r--r--media-video/subtitleripper/files/digest-subtitleripper-0.3.4-r23
-rw-r--r--media-video/subtitleripper/subtitleripper-0.3.4-r2.ebuild54
5 files changed, 69 insertions, 1 deletions
diff --git a/media-video/subtitleripper/ChangeLog b/media-video/subtitleripper/ChangeLog
index 82933631e6fd..f97e5ea0a37c 100644
--- a/media-video/subtitleripper/ChangeLog
+++ b/media-video/subtitleripper/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-video/subtitleripper
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/subtitleripper/ChangeLog,v 1.11 2006/06/23 21:35:39 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/subtitleripper/ChangeLog,v 1.12 2006/11/29 09:36:45 zzam Exp $
+
+*subtitleripper-0.3.4-r2 (29 Nov 2006)
+
+ 29 Nov 2006; Matthias Schwarzott <zzam@gentoo.org>
+ +subtitleripper-0.3.4-r2.ebuild:
+ Install gocr-filter, thanks to Christian Schmidt <gentoo@digadd.de>, Bug
+ #155853.
23 Jun 2006; Gustavo Zacarias <gustavoz@gentoo.org>
subtitleripper-0.3.4-r1.ebuild:
diff --git a/media-video/subtitleripper/files/digest-subtitleripper-0.3.4 b/media-video/subtitleripper/files/digest-subtitleripper-0.3.4
index 89dc091f0ef9..21dff67bd71f 100644
--- a/media-video/subtitleripper/files/digest-subtitleripper-0.3.4
+++ b/media-video/subtitleripper/files/digest-subtitleripper-0.3.4
@@ -1 +1,3 @@
MD5 c0bd49a88f667c68c4430ad25bbed510 subtitleripper-0.3-4.tgz 47299
+RMD160 141355960773ab2dfe3782522858273d197cf797 subtitleripper-0.3-4.tgz 47299
+SHA256 8af6c2ebe55361900871c731ea1098b1a03efa723cd29ee1d471435bd21f3ac4 subtitleripper-0.3-4.tgz 47299
diff --git a/media-video/subtitleripper/files/digest-subtitleripper-0.3.4-r1 b/media-video/subtitleripper/files/digest-subtitleripper-0.3.4-r1
index 89dc091f0ef9..21dff67bd71f 100644
--- a/media-video/subtitleripper/files/digest-subtitleripper-0.3.4-r1
+++ b/media-video/subtitleripper/files/digest-subtitleripper-0.3.4-r1
@@ -1 +1,3 @@
MD5 c0bd49a88f667c68c4430ad25bbed510 subtitleripper-0.3-4.tgz 47299
+RMD160 141355960773ab2dfe3782522858273d197cf797 subtitleripper-0.3-4.tgz 47299
+SHA256 8af6c2ebe55361900871c731ea1098b1a03efa723cd29ee1d471435bd21f3ac4 subtitleripper-0.3-4.tgz 47299
diff --git a/media-video/subtitleripper/files/digest-subtitleripper-0.3.4-r2 b/media-video/subtitleripper/files/digest-subtitleripper-0.3.4-r2
new file mode 100644
index 000000000000..21dff67bd71f
--- /dev/null
+++ b/media-video/subtitleripper/files/digest-subtitleripper-0.3.4-r2
@@ -0,0 +1,3 @@
+MD5 c0bd49a88f667c68c4430ad25bbed510 subtitleripper-0.3-4.tgz 47299
+RMD160 141355960773ab2dfe3782522858273d197cf797 subtitleripper-0.3-4.tgz 47299
+SHA256 8af6c2ebe55361900871c731ea1098b1a03efa723cd29ee1d471435bd21f3ac4 subtitleripper-0.3-4.tgz 47299
diff --git a/media-video/subtitleripper/subtitleripper-0.3.4-r2.ebuild b/media-video/subtitleripper/subtitleripper-0.3.4-r2.ebuild
new file mode 100644
index 000000000000..0ba228f540f4
--- /dev/null
+++ b/media-video/subtitleripper/subtitleripper-0.3.4-r2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/subtitleripper/subtitleripper-0.3.4-r2.ebuild,v 1.1 2006/11/29 09:36:45 zzam Exp $
+
+inherit versionator
+
+MY_PV="$(replace_version_separator 2 "-")"
+
+DESCRIPTION="DVD Subtitle Ripper for Linux"
+HOMEPAGE="http://subtitleripper.sourceforge.net/"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tgz"
+SLOT="0"
+IUSE="zlib png"
+
+DEPEND="media-libs/netpbm
+ media-libs/libpng
+ sys-libs/zlib
+ png? ( >=media-libs/libpng-1.2.8 )
+ zlib? ( >=sys-libs/zlib-1.2.3 )"
+
+RDEPEND="${DEPEND}
+ >=app-text/gocr-0.39"
+
+S="${WORKDIR}/${PN}"
+
+src_compile() {
+ # PPM library is libnetppm
+ sed -i -e "s:ppm:netpbm:g" Makefile
+ if ! use zlib; then
+ sed -i -e "s:DEFINES += -D_HAVE_ZLIB_:#DEFINES += -D_HAVE_ZLIB:g" Makefile
+ sed -i -e "s:LIBS += -lz:#LIBS += -lz:g" Makefile
+ fi
+ if ! use png; then
+ sed -i -e "s:DEFINES += -D_HAVE_PNG_:#DEFINES += -D_HAVE_PNG_:g" Makefile
+ sed -i -e "s:LIBS += -lpng:#LIBS += -lpng:g" Makefile
+ fi
+
+ # we will install the gocrfilters into /usr/share/subtitleripper
+ sed -i -e 's:~/sourceforge/subtitleripper/src/:/usr/share/subtitleripper:' pgm2txt
+
+ emake || die
+}
+
+src_install () {
+ exeinto /usr/bin
+ doexe pgm2txt srttool subtitle2pgm subtitle2vobsub vobsub2pgm
+
+ insinto /usr/share/subtitleripper
+ doins gocrfilter_*.sed
+
+ dodoc ChangeLog README*
+}