summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2008-04-11 19:18:30 +0000
committerBen de Groot <yngwin@gentoo.org>2008-04-11 19:18:30 +0000
commita26a15b2e4d0df621ea4016e18feb84897f32083 (patch)
treeab6191ced2ce8bb250228fb81fcb18b2ca1525f4 /media-video/subtitleripper/subtitleripper-0.3.4-r3.ebuild
parentWe need dbus and gtk support for proper python support, bug #216835. (diff)
downloadgentoo-2-a26a15b2e4d0df621ea4016e18feb84897f32083.tar.gz
gentoo-2-a26a15b2e4d0df621ea4016e18feb84897f32083.tar.bz2
gentoo-2-a26a15b2e4d0df621ea4016e18feb84897f32083.zip
Ebuild cleanup
(Portage version: 2.1.5_rc2)
Diffstat (limited to 'media-video/subtitleripper/subtitleripper-0.3.4-r3.ebuild')
-rw-r--r--media-video/subtitleripper/subtitleripper-0.3.4-r3.ebuild21
1 files changed, 9 insertions, 12 deletions
diff --git a/media-video/subtitleripper/subtitleripper-0.3.4-r3.ebuild b/media-video/subtitleripper/subtitleripper-0.3.4-r3.ebuild
index c513c4fb15bf..f1a6e82e20b8 100644
--- a/media-video/subtitleripper/subtitleripper-0.3.4-r3.ebuild
+++ b/media-video/subtitleripper/subtitleripper-0.3.4-r3.ebuild
@@ -1,6 +1,6 @@
# 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-r3.ebuild,v 1.1 2008/04/11 15:48:50 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/subtitleripper/subtitleripper-0.3.4-r3.ebuild,v 1.2 2008/04/11 19:18:30 yngwin Exp $
inherit versionator
@@ -13,30 +13,27 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tgz"
SLOT="0"
IUSE=""
-
-DEPEND=">=media-libs/netpbm-10.41.0
- media-libs/libpng
- sys-libs/zlib"
-
-RDEPEND="${DEPEND}
+RDEPEND=">=media-libs/netpbm-10.41.0
+ media-libs/libpng
+ sys-libs/zlib
>=app-text/gocr-0.39"
+DEPEND="${RDEPEND}"
S="${WORKDIR}/${PN}"
-src_compile() {
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
# PPM library is libnetppm
sed -i -e "s:ppm:netpbm:g" Makefile
# fix for bug 210435
sed -i -e "s:#include <ppm.h>:#include <netpbm/ppm.h>:g" spudec.c subtitle2pgm.c
# 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
+ dobin pgm2txt srttool subtitle2pgm subtitle2vobsub vobsub2pgm
insinto /usr/share/subtitleripper
doins gocrfilter_*.sed