1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 ESVN_REPO_URI
="svn://svn.handbrake.fr/HandBrake/trunk"
9 inherit subversion gnome2-utils
11 DESCRIPTION
="Open-source DVD to MPEG-4 converter."
12 HOMEPAGE
="http://handbrake.fr/"
16 KEYWORDS
="~x86 ~amd64"
19 RDEPEND
="sys-libs/zlib
20 css? ( media-libs/libdvdcss )
21 gtk? ( >=x11-libs/gtk+-2.8
26 media-libs/gst-plugins-base
27 >=sys-fs/udev-147[extras]
29 DEPEND
="=sys-devel/automake-1.10*
30 =sys-devel/automake-1.4*
31 =sys-devel/automake-1.9*
33 >=dev-lang/python-2.4.6
34 || ( >=net-misc/wget-1.11.4 >=net-misc/curl-7.19.4 )
40 ! use gtk
&& myconf
="${myconf} --disable-gtk"
42 .
/configure
--force --prefix=/usr
--disable-gtk-update-checks ${myconf} || die
"configure failed"
46 WANT_AUTOMAKE
=1.9 emake
-C build || die
"failed compiling ${PN}"
50 emake
-C build DESTDIR
="${D}" install || die
"failed installing ${PN}"
54 dodoc AUTHORS CREDITS NEWS THANKS \
55 build
/doc
/articles
/txt
/* || die
"docs failed"
64 gnome2_icon_cache_update
68 gnome2_icon_cache_update