diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2008-12-01 23:48:10 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2008-12-01 23:48:10 (GMT) |
commit | 575bd0829fce6f7582aefca086e1894b63812ef8 (patch) | |
tree | 1b66d798131ebd448034b30a2d7d6111aabf4c52 /abs/core-testing/smpeg/PKGBUILD | |
parent | 466412d4bdf5beb0645eced2d064df5e15f9b76b (diff) | |
download | linhes_pkgbuild-575bd0829fce6f7582aefca086e1894b63812ef8.zip linhes_pkgbuild-575bd0829fce6f7582aefca086e1894b63812ef8.tar.gz linhes_pkgbuild-575bd0829fce6f7582aefca086e1894b63812ef8.tar.bz2 |
Emulators and deps.
Signed-off-by: Cecil Hugh Watson <knoppmyth@gmail.com>
Diffstat (limited to 'abs/core-testing/smpeg/PKGBUILD')
-rw-r--r-- | abs/core-testing/smpeg/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/abs/core-testing/smpeg/PKGBUILD b/abs/core-testing/smpeg/PKGBUILD new file mode 100644 index 0000000..1b52434 --- /dev/null +++ b/abs/core-testing/smpeg/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 19615 2008-11-28 13:17:01Z allan $ +# Maintainer: Eric Belanger <eric@archlinux.org> +# Contributor: Jan de Groot <jgc@archlinux.org> + +pkgname=smpeg +pkgver=0.4.4 +pkgrel=4 +pkgdesc="SDL MPEG Player Library" +arch=('i686' 'x86_64') +url="http://icculus.org/smpeg/" +license=('LGPL') +depends=('sdl') +makedepends=('gtk' 'mesa') +options=('!libtool' '!makeflags') +source=(http://mirrors.dotsrc.org/lokigames/open-source/smpeg/$pkgname-$pkgver.tar.gz smpeg-0.4.4-gcc41.patch) +md5sums=('59c76ac704088ef5539210190c4e1fe3' '8b979a58307d7196655758bd3d2466c4') +sha1sums=('6d7f4449472e6270ab435b2224f3fad951c35259' '7d9a2ad7f6b702dfe3adcb87601d9b55022bbd1e') + +build() { + cd $startdir/src/$pkgname-$pkgver + patch -p1 < ../smpeg-0.4.4-gcc41.patch + ./configure --prefix=/usr + make LDFLAGS+=-lstdc++ || return 1 + make DESTDIR=$startdir/pkg install + + #fix aclocal warnings + sed -i "s#(AM_PATH_SMPEG#([AM_PATH_SMPEG]#" ${pkgdir}/usr/share/aclocal/smpeg.m4 +} |