summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-04-12 13:50:03 +0000
committerSamuli Suominen <drac@gentoo.org>2008-04-12 13:50:03 +0000
commit25760bf88cc4bfea35a1bb4015f42730f861c5c0 (patch)
tree9962c7882bf5fa1fba2b76b4cef202b0049b73f3 /media-video/subtitleripper
parentStable on ppc wrt bug 217075 (diff)
downloadgentoo-2-25760bf88cc4bfea35a1bb4015f42730f861c5c0.tar.gz
gentoo-2-25760bf88cc4bfea35a1bb4015f42730f861c5c0.tar.bz2
gentoo-2-25760bf88cc4bfea35a1bb4015f42730f861c5c0.zip
old
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-video/subtitleripper')
-rw-r--r--media-video/subtitleripper/subtitleripper-0.3.4-r2.ebuild54
-rw-r--r--media-video/subtitleripper/subtitleripper-0.3.4.ebuild30
2 files changed, 0 insertions, 84 deletions
diff --git a/media-video/subtitleripper/subtitleripper-0.3.4-r2.ebuild b/media-video/subtitleripper/subtitleripper-0.3.4-r2.ebuild
deleted file mode 100644
index 08ddcc305d76..000000000000
--- a/media-video/subtitleripper/subtitleripper-0.3.4-r2.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2008 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.2 2008/04/11 15:48:50 yngwin 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-10.41.0
- 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*
-}
diff --git a/media-video/subtitleripper/subtitleripper-0.3.4.ebuild b/media-video/subtitleripper/subtitleripper-0.3.4.ebuild
deleted file mode 100644
index 00b49b94f2eb..000000000000
--- a/media-video/subtitleripper/subtitleripper-0.3.4.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# 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.ebuild,v 1.5 2005/06/27 07:45:11 corsair Exp $
-
-DESCRIPTION="DVD Subtitle Ripper for Linux"
-HOMEPAGE="http://subtitleripper.sourceforge.net/"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ppc64 ~x86"
-SRC_URI="mirror://sourceforge/subtitleripper/subtitleripper-0.3-4.tgz"
-SLOT="0"
-IUSE=""
-
-DEPEND="media-libs/netpbm
- media-libs/libpng
- sys-libs/zlib"
-
-S="${WORKDIR}/subtitleripper"
-
-src_compile() {
- sed -i -e "s:ppm:netpbm:g" Makefile
-
- emake || die
-}
-
-src_install () {
- exeinto /usr/bin
- doexe pgm2txt srttool subtitle2pgm subtitle2vobsub vobsub2pgm
-
- dodoc ChangeLog README*
-}