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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Dec 2 16:19:53 2012 UTC (22 months, 2 weeks ago) by sping
Branch: MAIN
Changes since 1.2: +5 -3 lines
app-cdr/dvd95: Fix linking (bug #402669)

(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x401A1600)

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.6_p0.ebuild,v 1.2 2012/05/03 07:51:49 jdhore Exp $
4
5 EAPI=2
6 inherit eutils autotools
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 epatch "${FILESDIR}"/${P}-link-libxml2.patch
33 sed -i -e "s:-O3:${CFLAGS}:" configure.in || die "sed failed"
34 echo "dvd95.glade" >> po/POTFILES.in || die "translation fix failed"
35 eautoreconf
36 }
37
38 src_configure() {
39 econf \
40 --disable-dependency-tracking \
41 $(use_enable nls) \
42 $(use_enable mmx) \
43 $(use_enable 3dnow) \
44 $(use_enable sse) \
45 $(use_enable sse2) \
46 $(use_enable mpeg libmpeg2)
47 }
48
49 src_install() {
50 emake DESTDIR="${D}" install || die "emake install failed"
51 dodoc AUTHORS ChangeLog
52 }

  ViewVC Help
Powered by ViewVC 1.1.20