Contents of /branches/branch-xorg18/core/xine-lib/xine-lib-1.1.16.3-r3.smage2
Parent Directory | Revision Log
Revision 5192 -
(show annotations)
(download)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 2591 byte(s)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 2591 byte(s)
created branch 'branch-xorg18'
1 | # $Id$ |
2 | |
3 | PNAME="xine-lib" |
4 | PVER="1.1.16.3" |
5 | PBUILD="r3" |
6 | |
7 | PCATEGORIE="media-libs" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="xine-lib is the xine core engine, it is needed for all frontends and applications that use xine." |
11 | HOMEPAGE="http://xine.sourceforge.net/" |
12 | |
13 | DEPEND=">= virtual/glibc |
14 | >= media-libs/libvorbis-1.2 |
15 | >= media-libs/mplayer-codecs-2007 |
16 | >= media-libs/flac-1.2 |
17 | >= media-libs/libfame-0.9.1 |
18 | >= media-libs/xvid-1.2.2 |
19 | >= media-libs/alsa-lib-1.0.21 |
20 | >= media-libs/libdvdcss-1.2.10 |
21 | >= x11-libs/libXext-1 |
22 | >= x11-libs/libX11-1 |
23 | >= x11-libs/libXv-1 |
24 | >= x11-libs/libxcb-1" |
25 | |
26 | SDEPEND=">= dev-util/pkgconfig-0.23 |
27 | >= x11-base/xorg-server-1 |
28 | >= x11-libs/libXt-1 |
29 | >= x11-proto/xextproto-7 |
30 | >= x11-proto/xproto-2 |
31 | >= x11-proto/videoproto-2 |
32 | >= x11-proto/xf86vidmodeproto-2" |
33 | |
34 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
35 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
36 | |
37 | sminclude mbuild |
38 | |
39 | SRC_URI=( |
40 | sourceforge://xine/${SRCFILE} |
41 | mirror://${PNAME}/${SRCFILE} |
42 | mirror://${PNAME}/${PNAME}-1.1.4-pic.patch |
43 | ) |
44 | |
45 | UP2DATE="updatecmd_sourceforge xine '${PNAME} (xine core)' - ${PNAME}" |
46 | |
47 | # small fix for sse2 support and gcc-3.3 |
48 | CFLAGS="${CFLAGS} -mno-sse2" |
49 | |
50 | # fixes artifacts when playing a movie (-O3 uses -fweb), only >=gcc-3.4 |
51 | CFLAGS="${CFLAGS} -fno-web" |
52 | |
53 | # fixes some compile errors, only >= gcc-3.4 |
54 | CFLAGS="${CFLAGS} -funit-at-a-time" |
55 | |
56 | CXXFLAGS="${CFLAGS}" |
57 | |
58 | src_prepare() |
59 | { |
60 | # check for older versions |
61 | [[ -e /usr/$(mlibdir)/libxine.so ]] && die "Uninstall *all* old versions of ${PNAME} first ..." |
62 | |
63 | # force libdvdcss support; break build when the lib is not found |
64 | # as the configure script has no check |
65 | [[ ! -e /usr/$(mlibdir)/libdvdcss.so ]] && die "Install libdvdcss first ..." |
66 | |
67 | munpack ${SRCFILE} || die |
68 | cd ${SRCDIR} |
69 | |
70 | # fixes compilation errors when using -fpic |
71 | mpatch ${PNAME}-1.1.4-pic.patch || die |
72 | |
73 | # libtoolize it or the linking will fail (1.0.2 only?) |
74 | mlibtoolize || die |
75 | |
76 | # rebuild makefiles |
77 | autoreconf --install --force || die |
78 | } |
79 | |
80 | src_compile() |
81 | { |
82 | cd ${SRCDIR} |
83 | |
84 | # no arts support anymore -> using kde4-branch |
85 | local myconf |
86 | myconf+=" --disable-arts" |
87 | # no esound support anymore |
88 | myconf+=" --disable-esd" |
89 | |
90 | mconfigure \ |
91 | --with-included-dvdnav \ |
92 | --disable-aalib \ |
93 | --with-w32-path=/usr/$(mlibdir)/win32 \ |
94 | --with-xv-path=/usr/$(mlibdir) \ |
95 | --x-includes=/usr/includes \ |
96 | --x-libraries=/usr/$(mlibdir) \ |
97 | --disable-sdltest \ |
98 | --with-x \ |
99 | --with-xcb \ |
100 | --enable-x11 \ |
101 | --enable-shm \ |
102 | --enable-xft \ |
103 | --enable-nls \ |
104 | --enable-ogg \ |
105 | --enable-vorbis \ |
106 | --disable-ipv6 \ |
107 | --disable-directfb \ |
108 | --enable-alsa \ |
109 | ${myconf} \ |
110 | || die |
111 | |
112 | # does not like optimations > -j1 |
113 | mmake -j1 || die |
114 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |