/[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.5 - (show annotations) (download)
Wed Jan 28 19:04:48 2015 UTC (4 years, 11 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +7 -7 lines
Switch to CPU_FLAGS_X86.

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2015 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.4 2014/08/10 02:14:17 patrick 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="cpu_flags_x86_3dnow nls cpu_flags_x86_mmx mpeg cpu_flags_x86_sse cpu_flags_x86_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 cpu_flags_x86_mmx mmx) \
43 $(use_enable cpu_flags_x86_3dnow 3dnow) \
44 $(use_enable cpu_flags_x86_sse sse) \
45 $(use_enable cpu_flags_x86_sse2 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