/[gentoo-x86]/app-cdr/dvd95/dvd95-1.2_p0.ebuild
Gentoo

Contents of /app-cdr/dvd95/dvd95-1.2_p0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Jun 6 20:32:37 2008 UTC (11 years, 7 months ago) by drac
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Version bump for bug 223927. Fix desktop entry for bug 204319. Try to handle LINGUAS for bug 204322. Missing deps for bug 205020.
(Portage version: 2.1.5.3)

1 # Copyright 1999-2007 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.2_p0.ebuild,v 1.3 2007/12/16 21:15:59 pylon Exp $
4
5 MY_P=${P/_/}
6 S=${WORKDIR}/${MY_P}
7
8 DESCRIPTION="DVD95 is a Gnome application to convert DVD9 to DVD5."
9 HOMEPAGE="http://dvd95.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/dvd95/${MY_P/_/}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~x86"
15 IUSE_LINGUAS="linguas_en linguas_fr"
16 IUSE="${IUSE_LINGUAS} mmx 3dnow sse sse2"
17
18 DEPEND="gnome-base/libgnomeui
19 media-libs/libdvdread"
20
21 RDEPEND="gnome-base/libgnomeui
22 media-libs/libdvdread"
23
24 src_unpack() {
25 unpack ${A}
26 cd "${S}"
27
28 sed -i "s#prefix = /usr/local#prefix = /usr#" po/Makefile.in
29 }
30
31 src_compile() {
32 # This package provides en and fr for LINGUAS.
33 # Default language is French, but switch to English if no LINGUAS is set.
34
35 if [ -z "${LINGUAS}" ]; then
36 export LINGUAS="en"
37 fi
38
39 econf $(use_enable mmx) \
40 $(use_enable 3dnow) \
41 $(use_enable sse) \
42 $(use_enable sse2) \
43 || die "econf failed"
44
45 emake || die "emake failed"
46 }
47
48 src_install() {
49 make DESTDIR="${D}" install || die "install failed"
50 dodoc AUTHORS ChangeLog NEWS README
51 }

  ViewVC Help
Powered by ViewVC 1.1.20