wok-next view libsmpeg2/receipt @ rev 20616
xrdp: up 0.9.3.1; zopfli: fix build; gcc61: attempt to fix; add gcc6 (latest among 6.x.x).
gcc61 and gcc6 are broken now.
gcc61 and gcc6 are broken now.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 21 05:15:11 2018 +0300 (2018-04-21) |
parents | 52b498d67ad8 |
children | df20b2110f7e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libsmpeg2"
4 VERSION="2.0.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="SDL2 MPEG Player Library"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2"
9 WEB_SITE="http://icculus.org/smpeg/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="subversion|svn://svn.icculus.org/smpeg/tags/release_${VERSION//./_}"
14 BUILD_DEPENDS="subversion automake libsdl2-dev"
15 SPLIT="libsmpeg2-player libsmpeg2 libsmpeg2-dev"
17 compile_rules() {
18 CFLAGS="$CFLAGS -Wno-error=narrowing"
19 ./autogen.sh &&
20 ./configure \
21 --disable-static \
22 --disable-debug \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 *-player)
32 copy plaympeg
33 CAT="multimedia|player"
34 DEPENDS="libsmpeg2"
35 ;;
36 libsmpeg2)
37 copy @std @rm
38 DEPENDS="libsdl2 tslib"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="libsmpeg2 tslib-dev"
43 ;;
44 esac
45 }