Magellan Linux

Annotation of /trunk/extras/xine-lib/xine-lib-1.2.8-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 29234 - (hide annotations) (download)
Tue May 30 10:53:06 2017 UTC (6 years, 11 months ago) by niro
File size: 2398 byte(s)
auto added: ver bump to 1.2.8-r4
1 niro 29234 # $Id$
2    
3     PNAME="xine-lib"
4     PVER="1.2.8"
5     PBUILD="r4"
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.93
14     >= virtual/libjpeg
15     >= media-libs/libdvdnav-5.0
16     >= media-libs/libvorbis-1.3
17     >= media-libs/mplayer-codecs-2011
18     >= media-libs/flac-1.2
19     >= media-libs/libogg-1.3
20     >= media-libs/libvorbis-1.3
21     >= media-libs/libfame-0.9.1
22     >= media-libs/xvid-1.3
23     >= media-libs/alsa-lib-1.1
24     >= media-libs/libdvdcss-1.4
25     >= media-libs/libdvdread-5.0
26     >= media-libs/libdvdnav-5.0
27     >= media-libs/libvcdinfo-0.7.24
28     >= media-libs/wavpack-5.1
29     >= media-sound/libpulse-10
30     >= media-video/ffmpeg-3.3
31     >= x11-libs/libXext-1.3
32     >= x11-libs/libX11-1.6
33     >= x11-libs/libXv-1
34     >= x11-libs/libxcb-1.11
35     >= x11-libs/libvdpau-1.1"
36    
37     SDEPEND=">= dev-util/pkgconfig-0.25
38     >= x11-libs/libXt-1
39     >= x11-proto/xextproto-7
40     >= x11-proto/xproto-2
41     >= x11-proto/videoproto-2.3.1
42     >= x11-proto/xf86vidmodeproto-2"
43    
44     SRCFILE="${PNAME}-${PVER}.tar.xz"
45     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
46    
47     sminclude mbuild
48    
49     SRC_URI=(
50     sourceforge://xine/${SRCFILE}
51     mirror://${PNAME}/${SRCFILE}
52     )
53    
54     UP2DATE="updatecmd_sourceforge xine xine-lib xz"
55    
56     src_prepare()
57     {
58     # check for older versions
59     [[ -e /usr/$(mlibdir)/libxine.so ]] && die "Uninstall *all* old versions of ${PNAME} first ..."
60    
61     # force libdvdcss support; break build when the lib is not found
62     # as the configure script has no check
63     [[ ! -e /usr/$(mlibdir)/libdvdcss.so ]] && die "Install libdvdcss first ..."
64    
65     munpack ${SRCFILE} || die
66     }
67    
68     src_compile()
69     {
70     cd ${SRCDIR}
71    
72     # no arts support anymore -> using kde4-branch
73     local myconf
74     myconf+=" --disable-arts"
75     # no esound support anymore
76     myconf+=" --disable-esd"
77    
78     mconfigure \
79     --disable-optimizations \
80     --with-external-dvdnav \
81     --with-w32-path=/usr/$(mlibdir)/win32 \
82     --with-xv-path=/usr/$(mlibdir) \
83     --x-includes=/usr/includes \
84     --x-libraries=/usr/$(mlibdir) \
85     --with-x \
86     --with-xcb \
87     --enable-x11 \
88     --enable-shm \
89     --enable-xft \
90     --enable-nls \
91     --enable-ogg \
92     --enable-vorbis \
93     --disable-ipv6 \
94     --disable-directfb \
95     --enable-alsa \
96     --enable-vcd \
97     --enable-vdpau \
98     --disable-sdltest \
99     --disable-aalib \
100     --disable-musepack \
101     --with-wavpack \
102     ${myconf} \
103     || die
104    
105     # does not like optimations > -j1
106     mmake -j1 || die
107     }