1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
10 S="${WORKDIR}/${MY_PN}-${PV}"
12 DESCRIPTION="Open-source DVD to MPEG-4 converter"
13 HOMEPAGE="http://handbrake.fr/"
14 SRC_URI="http://handbrake.fr/rotation.php?file=${MY_PN}-${PV}.tar.bz2
15 -> ${MY_PN}-${PV}.tar.bz2"
19 KEYWORDS="~amd64 ~x86"
22 RDEPEND="sys-libs/zlib
23 css? ( media-libs/libdvdcss )
24 gtk? ( >=x11-libs/gtk+-2.8
30 media-libs/gst-plugins-base
34 || ( net-misc/wget net-misc/curl )
38 # Python configure script doesn't accept all econf flags
39 ./configure --force --prefix=/usr \
41 || die "configure failed"
45 emake -C build || die "failed compiling ${PN}"
49 emake -C build DESTDIR="${D}" install || die "failed installing ${PN}"
53 dodoc AUTHORS CREDITS NEWS THANKS \
54 build/doc/articles/txt/* || die "docs failed"
63 gnome2_icon_cache_update
67 gnome2_icon_cache_update