Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 131527 | Differences between
and this patch

Collapse All | Expand All

(-)/tmp/miro-1.0.ebuild (-5 / +18 lines)
Lines 2-7 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: $
3
# $Header: $
4
4
5
inherit eutils
6
5
DESCRIPTION="Open source video player"
7
DESCRIPTION="Open source video player"
6
HOMEPAGE="http://www.getmiro.com/"
8
HOMEPAGE="http://www.getmiro.com/"
7
#SRC_URI="http://ftp.osuosl.org/pub/pculture.org/miro/src/Miro-${PV}.tar.gz"
9
#SRC_URI="http://ftp.osuosl.org/pub/pculture.org/miro/src/Miro-${PV}.tar.gz"
Lines 27-49 Link Here
27
	    dev-util/pkgconfig
29
	    dev-util/pkgconfig
28
		dev-util/subversion"
30
		dev-util/subversion"
29
31
32
src_unpack() {
33
	unpack "${A}"
34
	if built_with_use dev-libs/boost threadsonly
35
	then
36
		sed -e "s/'boost_python'/'boost_python-mt'/g" -i \
37
			./Miro-${PV/_/-}/platform/gtk-x11/setup.py \
38
			|| die "sed failed!"
39
	fi
40
}
41
30
src_compile() {
42
src_compile() {
31
	./Miro-${PV/_/-}/platform/gtk-x11/setup.py build 
43
	./Miro-${PV/_/-}/platform/gtk-x11/setup.py build \
44
		|| die "build failed"
32
}
45
}
33
46
34
src_install() {
47
src_install() {
35
	./Miro-${PV/_/-}/platform/gtk-x11/setup.py install --root "${D}"
48
	./Miro-${PV/_/-}/platform/gtk-x11/setup.py install --root "${D}" \
49
		|| die "install failed"
36
}
50
}
37
51
38
pkg_postinst() {
52
pkg_postinst() {
53
	MOZSETUP=/usr/lib*/python*/site-packages/miro/mozsetup.py
39
	elog ""
54
	elog ""
40
	elog "To increase the font size of the main display area, add:"
55
	elog "To increase the font size of the main display area, add:"
41
	elog "user_pref(\"font.minimum-size.x-western\", 15);"
56
	elog "user_pref(\"font.minimum-size.x-western\", 15);"
42
	elog ""
57
	elog ""
43
	elog "to the following file:"
58
	elog "to the following file:"
44
	elog "/usr/lib64/python2.4/site-packages/miro/mozsetup.py"
59
	elog /usr/lib*/python*/site-packages/miro/mozsetup.py
45
	elog ""
46
	elog "Be sure to substitute \"lib64\" and \"python2.4\" with your correct paths."
47
	elog ""
60
	elog ""
48
}
61
}
49
62

Return to bug 131527