Last active
December 24, 2015 08:49
-
-
Save PedroHLC/6772725 to your computer and use it in GitHub Desktop.
AUR mingw32-smpeg-svn remade
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=mingw32-smpeg-svn | |
pkgver=412 | |
pkgrel=0 | |
pkgdesc="svn build of SDL2 MPEG Player Library (mingw32)" | |
arch=('any') | |
url="http://icculus.org/smpeg/" | |
license=('LGPL') | |
depends=('mingw32-sdl-hg' 'mingw32-runtime') | |
makedepends=('mingw32-gcc' 'svn') | |
optdepends=('mingw32-gtk: to use gtv ' 'mingw32-glu: to use glmovie') | |
provides=('mingw32-smpeg2') | |
conflicts=('mingw32-smpeg2') | |
options=(!libtool !strip !buildflags) | |
source=(svn://svn.icculus.org/smpeg/trunk) | |
md5sums=('SKIP') | |
prepare() { | |
cd ${srcdir}/trunk | |
sed -i s/SDL_CONFIG/SDL2_CONFIG/g smpeg2-config.in | |
} | |
build() { | |
cd ${srcdir}/trunk | |
./autogen.sh | |
PKG_CONFIG_PATH=/usr/i486-mingw32/lib/pkgconfig \ | |
./configure --mandir=/usr/i486-mingw32/share/man --disable-static \ | |
--host=i486-mingw32 \ | |
--prefix=/usr/i486-mingw32 \ | |
--enable-static \ | |
--enable-shared | |
make | |
} | |
package() { | |
cd ${srcdir}/trunk | |
make DESTDIR=${pkgdir} install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment