/[gentoo-x86]/app-cdr/dvd95/dvd95-1.3_p2.ebuild
Gentoo

Contents of /app-cdr/dvd95/dvd95-1.3_p2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri May 8 22:26:51 2009 UTC (10 years, 8 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Missing media-video/mplayer rdepend wrt #269068
(Portage version: 2.1.6.13/cvs/Linux x86_64)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-cdr/dvd95/dvd95-1.3_p2.ebuild,v 1.1 2008/06/06 20:32:37 drac Exp $
4
5 inherit eutils
6
7 DESCRIPTION="DVD95 is a Gnome application to convert DVD9 to DVD5."
8 HOMEPAGE="http://dvd95.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/dvd95/${P/_}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~x86"
14 IUSE_LINGUAS="linguas_de linguas_nl linguas_hu linguas_el linguas_cs
15 linguas_pt_BR linguas_et_EE linguas_es"
16 IUSE="${IUSE_LINGUAS} mmx 3dnow sse sse2 mpeg"
17
18 RDEPEND="gnome-base/libgnomeui
19 media-libs/libdvdread
20 mpeg? ( media-libs/libmpeg2 )"
21 DEPEND="${RDEPEND}
22 dev-util/pkgconfig
23 sys-devel/gettext"
24
25 S=${WORKDIR}/${P/_}
26
27 src_unpack() {
28 unpack ${A}
29 cd "${S}"
30 sed -i -e "s#prefix = /usr/local#prefix = /usr#" \
31 po/Makefile.in || die "sed failed."
32
33 epatch "${FILESDIR}"/${P}-desktop-entry.patch
34 }
35
36 src_compile() {
37 # Default language is French, but switch to English if no LINGUAS is set.
38 if [[ -z ${LINGUAS} ]]; then
39 export LINGUAS="en"
40 fi
41
42 econf --disable-dependency-tracking \
43 $(use_enable mmx) \
44 $(use_enable 3dnow) \
45 $(use_enable sse) \
46 $(use_enable sse2) \
47 $(use_enable mpeg libmpeg2)
48
49 emake || die "emake failed."
50 }
51
52 src_install() {
53 emake DESTDIR="${D}" install || die "emake install failed."
54 dodoc AUTHORS ChangeLog TODO
55
56 for lang in de nl hu el cs pt_BR es et_EE; do
57 use linguas_${lang} || rm -rf "${D}"/usr/share/locale/${lang}
58 done
59 }

  ViewVC Help
Powered by ViewVC 1.1.20