Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 100730
Collapse All | Expand All

(-)/usr/portage/media-video/vlc/vlc-0.8.1-r3.ebuild (-4 / +21 lines)
Lines 16-22 Link Here
16
16
17
LICENSE="GPL-2"
17
LICENSE="GPL-2"
18
SLOT="0"
18
SLOT="0"
19
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
19
KEYWORDS="~amd64 ~ppc ~sparc x86"
20
IUSE="a52 3dfx nls unicode debug altivec httpd vlm gnutls live v4l cdio cddb cdda ogg matroska dvb dvd vcd ffmpeg aac dts flac mpeg vorbis theora X opengl freetype svg fbcon svga oss aalib ggi libcaca esd arts alsa wxwindows ncurses xosd lirc joystick nsplugin hal stream mp3 xv bidi gtk2 sdl ssl"
20
IUSE="a52 3dfx nls unicode debug altivec httpd vlm gnutls live v4l cdio cddb cdda ogg matroska dvb dvd vcd ffmpeg aac dts flac mpeg vorbis theora X opengl freetype svg fbcon svga oss aalib ggi libcaca esd arts alsa wxwindows ncurses xosd lirc joystick nsplugin hal stream mp3 xv bidi gtk2 sdl ssl"
21
21
22
RDEPEND="hal? ( =sys-apps/hal-0.4* )
22
RDEPEND="hal? ( =sys-apps/hal-0.4* )
Lines 48-54 Link Here
48
		libcaca? ( media-libs/libcaca )
48
		libcaca? ( media-libs/libcaca )
49
		arts? ( kde-base/arts )
49
		arts? ( kde-base/arts )
50
		alsa? ( virtual/alsa )
50
		alsa? ( virtual/alsa )
51
		wxwindows? ( =x11-libs/wxGTK-2.6* )
51
		wxwindows? ( =x11-libs/wxGTK-2.4* )
52
		ncurses? ( sys-libs/ncurses )
52
		ncurses? ( sys-libs/ncurses )
53
		xosd? ( x11-libs/xosd )
53
		xosd? ( x11-libs/xosd )
54
		lirc? ( app-misc/lirc )
54
		lirc? ( app-misc/lirc )
Lines 71-82 Link Here
71
	>=sys-devel/gettext-0.11.5
71
	>=sys-devel/gettext-0.11.5
72
	=sys-devel/automake-1.6*
72
	=sys-devel/automake-1.6*
73
	sys-devel/autoconf
73
	sys-devel/autoconf
74
	dev-util/pkgconfig"
74
	dev-util/pkgconfig
75
	doc? ( net-misc/wget )"
75
76
76
77
77
pkg_setup() {
78
pkg_setup() {
78
	if use wxwindows; then
79
	if use wxwindows; then
79
		WX_GTK_VER="2.6"
80
		WX_GTK_VER="2.4"
80
		if use gtk2; then
81
		if use gtk2; then
81
			if use unicode; then
82
			if use unicode; then
82
				need-wxwidgets unicode || die "You need to install wxGTK with unicode support."
83
				need-wxwidgets unicode || die "You need to install wxGTK with unicode support."
Lines 218-223 Link Here
218
src_install() {
219
src_install() {
219
	make DESTDIR="${D}" install || die "Installation failed!"
220
	make DESTDIR="${D}" install || die "Installation failed!"
220
221
222
	use doc && {
223
		LNG=en
224
		cd ${S}
225
		for docfile in play-howto/$LNG/play-howto-$LNG \
226
			streaming-howto/$LNG/streaming-howto-$LNG \
227
			vls-user-guide/$LNG/vls-user-guide-$LNG \
228
			faq/$LNG/videolan-faq-$LNG; do
229
			for ending in txt pdf rtf html; do
230
				REL=$docfile.$ending
231
				wget http://www.videolan.org/doc/$REL
232
				dodoc `basename $REL`
233
				rm -f $REL
234
			done
235
		done
236
	}
237
221
	dodoc ABOUT-NLS AUTHORS MAINTAINERS HACKING THANKS TODO NEWS README \
238
	dodoc ABOUT-NLS AUTHORS MAINTAINERS HACKING THANKS TODO NEWS README \
222
		doc/fortunes.txt doc/intf-cdda.txt doc/intf-vcd.txt
239
		doc/fortunes.txt doc/intf-cdda.txt doc/intf-vcd.txt
223
240

Return to bug 100730