summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-12-17 16:46:55 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-12-17 16:46:55 +0000
commit3b9f60fbf3a980beac97398145460c910623a4c3 (patch)
treea9c84831b94e82c18b1b8420dd993d556423e821 /media-video/subtitleripper
parentclean up a bit (diff)
downloadgentoo-2-3b9f60fbf3a980beac97398145460c910623a4c3.tar.gz
gentoo-2-3b9f60fbf3a980beac97398145460c910623a4c3.tar.bz2
gentoo-2-3b9f60fbf3a980beac97398145460c910623a4c3.zip
Added ebuild patch by Sven Vermeulen <swift@gentoo.org> in bug #97355. Dropped ppc64 keyword for dependencies.
(Portage version: 2.1_pre1)
Diffstat (limited to 'media-video/subtitleripper')
-rw-r--r--media-video/subtitleripper/ChangeLog9
-rw-r--r--media-video/subtitleripper/Manifest4
-rw-r--r--media-video/subtitleripper/files/digest-subtitleripper-0.3.4-r11
-rw-r--r--media-video/subtitleripper/subtitleripper-0.3.4-r1.ebuild48
4 files changed, 60 insertions, 2 deletions
diff --git a/media-video/subtitleripper/ChangeLog b/media-video/subtitleripper/ChangeLog
index 6f62049e2d83..28ffc5dc5d1a 100644
--- a/media-video/subtitleripper/ChangeLog
+++ b/media-video/subtitleripper/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-video/subtitleripper
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/subtitleripper/ChangeLog,v 1.4 2005/06/27 07:45:11 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/subtitleripper/ChangeLog,v 1.5 2005/12/17 16:46:55 flameeyes Exp $
+
+*subtitleripper-0.3.4-r1 (17 Dec 2005)
+
+ 17 Dec 2005; Diego Pettenò <flameeyes@gentoo.org>
+ +subtitleripper-0.3.4-r1.ebuild:
+ Added ebuild patch by Sven Vermeulen <swift@gentoo.org> in bug #97355.
+ Dropped ppc64 keyword for dependencies.
27 Jun 2005; Markus Rothe <corsair@gentoo.org>
subtitleripper-0.3.4.ebuild:
diff --git a/media-video/subtitleripper/Manifest b/media-video/subtitleripper/Manifest
index 18053c94fdd1..397ebe2d83dd 100644
--- a/media-video/subtitleripper/Manifest
+++ b/media-video/subtitleripper/Manifest
@@ -1,4 +1,6 @@
MD5 21e27c00b0574ccd953109026c8f4348 ChangeLog 834
+MD5 f31d83714c7ad3ac1a2e44c4f96fc2f3 files/digest-subtitleripper-0.3.4 68
+MD5 f31d83714c7ad3ac1a2e44c4f96fc2f3 files/digest-subtitleripper-0.3.4-r1 68
MD5 71d5fd4d13e0c7036447e796c292131d metadata.xml 228
+MD5 72570de24c74dd1a934bd8c73901ba60 subtitleripper-0.3.4-r1.ebuild 1278
MD5 801e72f2e970f4d42d05a6fc5d037f22 subtitleripper-0.3.4.ebuild 763
-MD5 f31d83714c7ad3ac1a2e44c4f96fc2f3 files/digest-subtitleripper-0.3.4 68
diff --git a/media-video/subtitleripper/files/digest-subtitleripper-0.3.4-r1 b/media-video/subtitleripper/files/digest-subtitleripper-0.3.4-r1
new file mode 100644
index 000000000000..89dc091f0ef9
--- /dev/null
+++ b/media-video/subtitleripper/files/digest-subtitleripper-0.3.4-r1
@@ -0,0 +1 @@
+MD5 c0bd49a88f667c68c4430ad25bbed510 subtitleripper-0.3-4.tgz 47299
diff --git a/media-video/subtitleripper/subtitleripper-0.3.4-r1.ebuild b/media-video/subtitleripper/subtitleripper-0.3.4-r1.ebuild
new file mode 100644
index 000000000000..35958a3c5b65
--- /dev/null
+++ b/media-video/subtitleripper/subtitleripper-0.3.4-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2005 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-r1.ebuild,v 1.1 2005/12/17 16:46:55 flameeyes 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 ~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
+
+ emake || die
+}
+
+src_install () {
+ exeinto /usr/bin
+ doexe pgm2txt srttool subtitle2pgm subtitle2vobsub vobsub2pgm
+
+ dodoc ChangeLog README*
+}