/[gentoo-x86]/app-cdr/dvd95/dvd95-1.5_p3.ebuild
Gentoo

Contents of /app-cdr/dvd95/dvd95-1.5_p3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu May 3 07:51:49 2012 UTC (2 years, 6 months ago) by jdhore
Branch: MAIN
Changes since 1.1: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 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.5_p3.ebuild,v 1.1 2009/12/24 11:11:58 pacho Exp $
4
5 EAPI=2
6 inherit eutils
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/${P/_}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~x86"
15 IUSE="3dnow nls mmx mpeg sse sse2"
16
17 RDEPEND=">=gnome-base/libgnomeui-2
18 dev-libs/libxml2
19 media-libs/libdvdread
20 mpeg? ( media-libs/libmpeg2 )
21 media-video/mplayer"
22 DEPEND="${RDEPEND}
23 virtual/pkgconfig
24 nls? ( sys-devel/gettext
25 dev-util/intltool )
26 sys-apps/sed"
27
28 S=${WORKDIR}/${P/_}
29
30 src_prepare() {
31 epatch "${FILESDIR}"/${PN}-1.3_p2-desktop-entry.patch
32 sed -i -e "s:-O3:${CFLAGS}:" configure || die "sed failed"
33 echo "dvd95.glade" >> po/POTFILES.in || die "translation fix failed"
34 }
35
36 src_configure() {
37 econf \
38 --disable-dependency-tracking \
39 $(use_enable nls) \
40 $(use_enable mmx) \
41 $(use_enable 3dnow) \
42 $(use_enable sse) \
43 $(use_enable sse2) \
44 $(use_enable mpeg libmpeg2)
45 }
46
47 src_install() {
48 emake DESTDIR="${D}" install || die "emake install failed"
49 dodoc AUTHORS ChangeLog
50 }

  ViewVC Help
Powered by ViewVC 1.1.20