summaryrefslogtreecommitdiff
path: root/extra/smpeg2
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-27 01:06:08 -0700
committerroot <root@rshg054.dnsready.net>2013-10-27 01:06:08 -0700
commit2886140ddb1db32f36cb0b27e93888442a603a53 (patch)
tree2a85cef112f53e98d1b959951dc7004b9bc89dc9 /extra/smpeg2
parent24152c3ea77087edccf017c13d44904a75799ff7 (diff)
Sun Oct 27 01:05:45 PDT 2013
Diffstat (limited to 'extra/smpeg2')
-rw-r--r--extra/smpeg2/PKGBUILD17
1 files changed, 8 insertions, 9 deletions
diff --git a/extra/smpeg2/PKGBUILD b/extra/smpeg2/PKGBUILD
index 1f7dd4856..99d59b4ee 100644
--- a/extra/smpeg2/PKGBUILD
+++ b/extra/smpeg2/PKGBUILD
@@ -1,29 +1,28 @@
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgname=smpeg2
-pkgver=412
-pkgrel=2
+epoch=1
+pkgver=2.0.0
+pkgrel=1
pkgdesc="SDL2 MPEG Player Library"
arch=('i686' 'x86_64')
url="http://icculus.org/smpeg/"
license=('LGPL')
-depends=('sdl2')
-makedepends=('gtk' 'mesa' 'glu' 'svn')
-optdepends=('gtk: to use gtv ' 'glu: to use glmovie')
+depends=('sdl2' 'gcc-libs')
+makedepends=('svn')
options=('!libtool')
-source=(svn://svn.icculus.org/smpeg/trunk#revision=$pkgver)
+source=("${pkgname}::svn://svn.icculus.org/smpeg/tags/release_${pkgver//./_}")
md5sums=('SKIP')
build() {
- cd ${srcdir}/trunk
- sed -i s/SDL_CONFIG/SDL2_CONFIG/g smpeg2-config.in
+ cd ${srcdir}/${pkgname}
./autogen.sh
./configure --prefix=/usr --mandir=/usr/share/man --disable-static
make
}
package() {
- cd ${srcdir}/trunk
+ cd ${srcdir}/${pkgname}
make DESTDIR=${pkgdir} install
# hacky way of resolving conflicts