Magellan Linux

Annotation of /branches/R11-stable/extras/xine-lib/xine-lib-1.2.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 17378 - (hide annotations) (download)
Mon Jun 10 14:54:33 2013 UTC (11 years ago) by niro
Original Path: trunk/extras/xine-lib/xine-lib-1.2.3-r1.smage2
File size: 2293 byte(s)
-fixed ffmpeg version
1 niro 17374 # $Id$
2    
3     PNAME="xine-lib"
4     PVER="1.2.3"
5     PBUILD="r1"
6    
7     PCAT="media-libs"
8    
9     DESCRIPTION="xine-lib is the xine core engine, it is needed for all frontends and applications that use xine."
10     HOMEPAGE="http://xine.sourceforge.net/"
11    
12     DEPEND=">= virtual/glibc
13     >= dev-libs/libcdio-0.83
14     >= media-libs/libdvdnav-4.2
15     >= media-libs/libvorbis-1.3
16     >= media-libs/mplayer-codecs-2011
17     >= media-libs/flac-1.2
18     >= media-libs/libogg-1.3
19     >= media-libs/libvorbis-1.3
20     >= media-libs/libfame-0.9.1
21     >= media-libs/xvid-1.3
22     >= media-libs/alsa-lib-1.0.27
23     >= media-libs/libdvdcss-1.2.10
24     >= media-libs/libvcdinfo-0.7.24
25     >= media-sound/libpulse-3.0
26 niro 17378 >= media-video/ffmpeg-1.2
27 niro 17374 >= x11-libs/libXext-1.3
28     >= x11-libs/libX11-1.5
29     >= x11-libs/libXv-1
30     >= x11-libs/libxcb-1.7
31     >= x11-libs/libvdpau-0.6"
32    
33     SDEPEND=">= dev-util/pkgconfig-0.25
34     >= x11-libs/libXt-1
35     >= x11-proto/xextproto-7
36     >= x11-proto/xproto-2
37     >= x11-proto/videoproto-2.3.1
38     >= x11-proto/xf86vidmodeproto-2"
39    
40     SRCFILE="${PNAME}-${PVER}.tar.xz"
41     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
42    
43     sminclude mbuild
44    
45     SRC_URI=(
46     sourceforge://xine/${SRCFILE}
47     mirror://${PNAME}/${SRCFILE}
48     )
49    
50     UP2DATE="updatecmd_sourceforge xine xine-lib xz"
51    
52     src_prepare()
53     {
54     # check for older versions
55     [[ -e /usr/$(mlibdir)/libxine.so ]] && die "Uninstall *all* old versions of ${PNAME} first ..."
56    
57     # force libdvdcss support; break build when the lib is not found
58     # as the configure script has no check
59     [[ ! -e /usr/$(mlibdir)/libdvdcss.so ]] && die "Install libdvdcss first ..."
60    
61     munpack ${SRCFILE} || die
62     cd ${SRCDIR}
63     }
64    
65     src_compile()
66     {
67     cd ${SRCDIR}
68    
69     # no arts support anymore -> using kde4-branch
70     local myconf
71     myconf+=" --disable-arts"
72     # no esound support anymore
73     myconf+=" --disable-esd"
74    
75     mconfigure \
76     --disable-optimizations \
77     --with-external-dvdnav \
78     --with-w32-path=/usr/$(mlibdir)/win32 \
79     --with-xv-path=/usr/$(mlibdir) \
80     --x-includes=/usr/includes \
81     --x-libraries=/usr/$(mlibdir) \
82     --with-x \
83     --with-xcb \
84     --enable-x11 \
85     --enable-shm \
86     --enable-xft \
87     --enable-nls \
88     --enable-ogg \
89     --enable-vorbis \
90     --disable-ipv6 \
91     --disable-directfb \
92     --enable-alsa \
93     --enable-vcd \
94     --enable-vdpau \
95     --disable-sdltest \
96     --disable-aalib \
97     --disable-musepack \
98     ${myconf} \
99     || die
100    
101     # does not like optimations > -j1
102     mmake -j1 || die
103     }