Date: Friday, October 25, 2013 @ 14:57:36 Author: heftig Revision: 197404
FS#37484 do not use cmake (broken on linux). attention: soname change Modified: sdl2/trunk/PKGBUILD (contents, properties) ----------+ PKGBUILD | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-10-25 12:27:43 UTC (rev 197403) +++ PKGBUILD 2013-10-25 12:57:36 UTC (rev 197404) @@ -1,34 +1,34 @@ # Maintainer: Sven-Hendrik Haase <[email protected]> pkgname=sdl2 pkgver=2.0.1 -pkgrel=1 +pkgrel=2 pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2)" arch=('i686' 'x86_64') url="http://www.libsdl.org" license=('MIT') depends=('glibc' 'libxext' 'libxrender' 'libx11' 'libgl') -makedepends=('alsa-lib' 'mesa' 'libpulse' 'cmake' 'libxrandr' 'libxinerama') +makedepends=('alsa-lib' 'mesa' 'libpulse' 'libxrandr' 'libxinerama') optdepends=('alsa-lib: ALSA audio driver' 'libpulse: PulseAudio audio driver') source=("http://www.libsdl.org/release/SDL2-${pkgver}.tar.gz") md5sums=('0eb97039488bf463e775295f7b18b227') +prepare() { + mkdir build +} + build() { - cd "${srcdir}/SDL2-${pkgver}" - - mkdir build && cd build - - cmake .. \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DSDL_STATIC=OFF \ - -DRPATH=OFF + cd build + ../SDL2-$pkgver/configure --prefix=/usr \ + --enable-sdl-dlopen \ + --disable-arts --disable-esd --disable-nas \ + --enable-alsa --enable-pulseaudio-shared \ + --disable-rpath make } package() { - cd "${srcdir}/SDL2-${pkgver}/build" - - make DESTDIR="${pkgdir}/" install - - install -Dm644 ../COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + cd build + make DESTDIR="$pkgdir" install + install -Dm644 ../SDL2-$pkgver/COPYING.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } Property changes on: sdl2/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property
