blob: cd3ab47e2bbb0656f408486cc080d1931a3e778d (
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
DESCRIPTION = "Video player and streamer - GPE edition"
HOMEPAGE = "http://www.videolan.org"
LICENSE = "GPL"
PRIORITY = "optional"
SECTION = "gpe"
PR = "r2"
DEPENDS = "gtk+ freetype gnutls tremor faad2 ffmpeg flac liba52 libid3tag libmad mpeg2dec"
SRC_URI = "http://download.videolan.org/pub/videolan/vlc/${PV}/vlc-${PV}.tar.gz \
file://pda-interface.patch;patch=1"
S = "${WORKDIR}/vlc-${PV}"
export GTK2_CFLAGS = "`pkg-config --cflags gtk+-2.0 gthread-2.0`"
export GTK2_LIBS = "`pkg-config --libs gtk+-2.0 gthread-2.0`"
export vlc_WORKAROUNDLDFLAGS = "lib/libvlc.a"
LDFLAGS_append = " -L${STAGING_LIBDIR} -lpostproc"
inherit autotools
EXTRA_OECONF = "\
--enable-sout \
--disable-httpd \
--disable-vlm \
--enable-gnutls \
--disable-dvdread \
--disable-dvdnav \
--disable-smb \
--enable-dvbpsi \
--disable-v4l \
--disable-gnomevfs \
--disable-libcdio \
--disable-cddax \
--disable-libcddb \
--disable-vcdx \
--disable-cdda \
--disable-vcd \
--disable-screen \
--disable-ogg \
--disable-mkv \
--disable-mod \
--disable-mpc \
--enable-mad \
--enable-ffmpeg \
--enable-faad \
--enable-a52 \
--disable-dts \
--enable-flac \
--enable-libmpeg2 \
--disable-vorbis \
--enable-tremor \
--disable-speex \
--disable-tarkin \
--disable-theora \
--disable-png \
--disable-x264 \
--disable-cmml \
--enable-x11 \
--disable-xvideo \
--disable-glx \
--disable-opengl \
--disable-sdl \
--enable-freetype \
--disable-fribidi \
--disable-libxml2 \
--disable-qte \
--disable-qt-video \
--enable-fb \
--enable-oss \
--disable-alsa \
--disable-skins \
--disable-skins2 \
--disable-gtk \
--disable-gtk2 \
--enable-pda \
--disable-gnome \
--disable-gnome2 \
--disable-wxwidgets \
--disable-qt \
--disable-kde \
--disable-xosd \
--disable-visual \
--disable-goom \
--disable-slp \
--disable-daap \
--disable-bonjour \
--disable-joystick \
--disable-plugins \
--with-ffmpeg-mp3lame \
--with-ffmpeg-faac \
--with-ffmpeg-zlib \
"
do_install() {
autotools_do_install
install -d ${D}${datadir}/applications
install -m 644 ipkg/vlc.gpe ${D}${datadir}/applications/vlc-gpe.desktop
}
FILES_${PN} = "${bindir}/vlc \
${datadir}/applications \
${datadir}/vlc/pda-* \
${datadir}/vlc/vlc*png \
${datadir}/vlc/vlc*xpm \
${datadir}/vlc/http"
|