blob: 204756f07bba0adbf870f921b33e58cdddd156d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
ESVN_REPO_URI="svn://svn.handbrake.fr/HandBrake/trunk"
REV="3890"
inherit subversion gnome2-utils
DESCRIPTION="Open-source DVD to MPEG-4 converter."
HOMEPAGE="http://handbrake.fr/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE=""
RDEPEND=""
DEPEND="sys-libs/zlib
dev-lang/yasm
>=dev-lang/python-2.4.6
|| ( >=net-misc/wget-1.11.4 >=net-misc/curl-7.19.4 )
$RDEPEND"
src_configure() {
local myconf=""
./configure --force --prefix=/usr/local --disable-gtk-update-checks ${myconf} || die "configure failed"
}
src_compile() {
pwd
cd "${S}/build" || die "cannot find build dir"
WANT_AUTOMAKE=1.9 make -j6 build|| die "failed compiling ${PN}"
}
src_install() {
# pwd
echo "${S}"
cd "${S}/build" || die "cannot find build dir"
make DESTDIR="${D}" install || die "failed installing ${PN}"
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}
|