[arch-commits] Commit in lib32-sdl2/repos/multilib-x86_64 (6 files)
Date: Wednesday, March 18, 2020 @ 09:58:37 Author: alucryd Revision: 600501 archrelease: copy trunk to multilib-x86_64 Added: lib32-sdl2/repos/multilib-x86_64/PKGBUILD (from rev 600500, lib32-sdl2/trunk/PKGBUILD) lib32-sdl2/repos/multilib-x86_64/cmake-include-paths.patch (from rev 600500, lib32-sdl2/trunk/cmake-include-paths.patch) lib32-sdl2/repos/multilib-x86_64/dynapi.patch (from rev 600500, lib32-sdl2/trunk/dynapi.patch) Deleted: lib32-sdl2/repos/multilib-x86_64/PKGBUILD lib32-sdl2/repos/multilib-x86_64/cmake-include-paths.patch lib32-sdl2/repos/multilib-x86_64/dynapi.patch ---+ PKGBUILD | 178 +--- cmake-include-paths.patch | 90 +++--- dynapi.patch | 168 - 3 files changed, 217 insertions(+), 219 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-03-18 09:58:29 UTC (rev 600500) +++ PKGBUILD2020-03-18 09:58:37 UTC (rev 600501) @@ -1,90 +0,0 @@ -# Maintainer: Maxime Gauduin -# Contributor: Jameson Pugh -# Contributor: J0k3r - -pkgname=lib32-sdl2 -pkgver=2.0.10 -pkgrel=1 -pkgdesc='A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2. 32 -bit)' -arch=(x86_64) -url=https://www.libsdl.org -license=(MIT) -depends=( - lib32-glibc - lib32-libxext - lib32-libxrender - lib32-libx11 - lib32-libgl - lib32-libxcursor - sdl2 -) -makedepends=( - cmake - jack - lib32-alsa-lib - lib32-mesa - lib32-libpulse - lib32-libxrandr - lib32-libxinerama - lib32-wayland - lib32-libxkbcommon - lib32-libxss - mercurial - wayland-protocols -) -optdepends=( - 'lib32-alsa-lib: ALSA audio driver' - 'lib32-libpulse: PulseAudio audio driver' - 'lib32-jack: JACK audio driver' -) -source=(hg+https://hg.libsdl.org/SDL#tag=release-${pkgver}) -sha512sums=(SKIP) - -prepare() { - if [[ -d build ]]; then -rm -rf build - fi - mkdir build - - # fix libdir - sed -i 's|lib/cmake|lib32/cmake|' SDL/CMakeLists.txt - # Don't try to link against ibus - sed -i '/pkg_search_module.*ibus-1.0/d' SDL/CMakeLists.txt - -} - -build() { - cd build - - export CC='gcc -m32' - export CXX='g++ -m32' - export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' - - cmake ../SDL \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_SUFFIX=32 \ - -DSDL_STATIC=OFF \ - -DSDL_DLOPEN=ON \ - -DARTS=OFF \ - -DESD=OFF \ - -DNAS=OFF \ - -DALSA=ON \ - -DPULSEAUDIO_SHARED=ON \ - -DVIDEO_WAYLAND=ON \ - -DRPATH=OFF \ - -DCLOCK_GETTIME=ON \ - -DJACK_SHARED=ON - make -} - -package() { - make DESTDIR="${pkgdir}" -C build install - rm -rf "${pkgdir}"/usr/{bin,include,share} - - sed -i "s/libSDL2\.a/libSDL2main.a/g" "$pkgdir"/usr/lib32/cmake/SDL2/SDL2Targets-noconfig.cmake - - install -dm 755 "${pkgdir}"/usr/share/licenses - ln -s sdl2 "${pkgdir}"/usr/share/licenses/lib32-sdl2 -} - -# vim: ts=2 sw=2 et: Copied: lib32-sdl2/repos/multilib-x86_64/PKGBUILD (from rev 600500, lib32-sdl2/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-03-18 09:58:37 UTC (rev 600501) @@ -0,0 +1,88 @@ +# Maintainer: Maxime Gauduin +# Contributor: Jameson Pugh +# Contributor: J0k3r + +pkgname=lib32-sdl2 +pkgver=2.0.12 +pkgrel=1 +pkgdesc='A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard' +arch=(x86_64) +url=https://www.libsdl.org +license=(MIT) +depends=( + lib32-glibc + lib32-libxext + lib32-libxrender + lib32-libx11 + lib32-libgl + lib32-libxcursor + sdl2 +) +makedepends=( + cmake + jack + lib32-alsa-lib + lib32-mesa + lib32-libpulse + lib32-libxrandr + lib32-libxinerama + lib32-wayland + lib32-libxkbcommon + lib32-libxss + mercurial + wayland-protocols +) +optdepends=( + 'lib32-alsa-lib: ALSA audio driver' + 'lib32-libpulse: PulseAudio audio driver' + 'lib32-jack: JACK audio driver' +) +source=(hg+https://hg.libsdl.org/SDL#tag=355a4f94a782) +sha512sums=(SKIP) + +pkgver() { + cd SDL + + hg id --tags | sed 's/^release-//' +} + +prepare() { + # fix libdir + sed -i 's|lib/cmake|lib32/cmake|' SDL/CMakeLists.txt + # Don't try to link against ibus + sed -i '/pkg_search_module.*ibus-1.0/d' SDL/CMakeLists.txt +} + +build() { + export CC='gcc -m32' + export CXX='g++ -m32' + export PKG_CONFIG_PATH=/usr/lib32/pkgconfig + + cmake -S SDL -B build \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=32 \ + -DSDL_STATIC=OFF \ + -DSDL_DLOPEN=ON \ + -DARTS=OFF \ + -DESD=OFF \ + -DNAS=OFF \ + -DALSA=ON \ + -DPULSEAUDIO_SHARED=ON \ + -DVIDEO_WAYLAND=ON \ + -DRPATH=OFF \ + -DCLOCK_GETTIME=ON \ + -DJACK_SHARED=ON + make -C build +} + +package() { + make DESTDIR="${pkgdir}" -C build
[arch-commits] Commit in lib32-sdl2/repos/multilib-x86_64 (6 files)
Date: Monday, August 12, 2019 @ 09:18:31 Author: alucryd Revision: 499007 archrelease: copy trunk to multilib-x86_64 Added: lib32-sdl2/repos/multilib-x86_64/PKGBUILD (from rev 499006, lib32-sdl2/trunk/PKGBUILD) lib32-sdl2/repos/multilib-x86_64/cmake-include-paths.patch (from rev 499006, lib32-sdl2/trunk/cmake-include-paths.patch) lib32-sdl2/repos/multilib-x86_64/dynapi.patch (from rev 499006, lib32-sdl2/trunk/dynapi.patch) Deleted: lib32-sdl2/repos/multilib-x86_64/PKGBUILD lib32-sdl2/repos/multilib-x86_64/cmake-include-paths.patch lib32-sdl2/repos/multilib-x86_64/dynapi.patch ---+ PKGBUILD | 162 +++--- cmake-include-paths.patch | 90 +++ dynapi.patch | 168 ++-- 3 files changed, 219 insertions(+), 201 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-08-12 09:18:24 UTC (rev 499006) +++ PKGBUILD2019-08-12 09:18:31 UTC (rev 499007) @@ -1,72 +0,0 @@ -# Maintainer: Maxime Gauduin -# Contributor: Jameson Pugh -# Contributor: J0k3r - -pkgname=lib32-sdl2 -pkgver=2.0.9 -pkgrel=1 -pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2. 32 -bit)" -arch=('x86_64') -url="https://www.libsdl.org; -license=('MIT') -depends=('lib32-glibc' 'lib32-libxext' 'lib32-libxrender' 'lib32-libx11' 'lib32-libgl' - 'lib32-libxcursor' 'sdl2') -makedepends=('gcc-multilib' 'lib32-alsa-lib' 'lib32-mesa' 'lib32-libpulse' 'lib32-libxrandr' - 'lib32-libxinerama' 'lib32-wayland' 'lib32-libxkbcommon' 'wayland-protocols' - 'lib32-libxss' 'cmake' 'jack') -optdepends=('lib32-alsa-lib: ALSA audio driver' -'lib32-libpulse: PulseAudio audio driver' -'lib32-jack: JACK audio driver') -source=("https://www.libsdl.org/release/SDL2-${pkgver}.tar.gz"{,.sig}) -sha512sums=('a78a4708b2bb5b35a7c7b7501eb3bd60a9aa3bb95a3d84e57763df4a377185e7312a94b66321eef7ca0d17255e4b402fc950e83ef0dbbd08f14ff1194107dc10' -'SKIP') -validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6') # Sam Lantinga - -prepare() { - cd SDL2-${pkgver} - - sed -i 's|lib/cmake|lib32/cmake|' CMakeLists.txt - - # Don't try to link against ibus - sed -i '/pkg_search_module.*ibus-1.0/d' CMakeLists.txt - - mkdir build -} - -build() { - cd SDL2-${pkgver}/build - - export CC='gcc -m32' - export CXX='g++ -m32' - export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' - - cmake .. \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_SUFFIX=32 \ - -DSDL_STATIC=OFF \ - -DSDL_DLOPEN=ON \ - -DARTS=OFF \ - -DESD=OFF \ - -DNAS=OFF \ - -DALSA=ON \ - -DPULSEAUDIO_SHARED=ON \ - -DVIDEO_WAYLAND=ON \ - -DRPATH=OFF \ - -DCLOCK_GETTIME=ON \ - -DJACK_SHARED=ON - make -} - -package() { - cd SDL2-${pkgver}/build - - make DESTDIR="${pkgdir}" install - rm -rf "${pkgdir}"/usr/{bin,include,share} - - sed -i "s/libSDL2\.a/libSDL2main.a/g" "$pkgdir"/usr/lib32/cmake/SDL2/SDL2Targets-noconfig.cmake - - install -dm 755 "${pkgdir}"/usr/share/licenses - ln -s sdl2 "${pkgdir}"/usr/share/licenses/lib32-sdl2 -} - -# vim: ts=2 sw=2 et: Copied: lib32-sdl2/repos/multilib-x86_64/PKGBUILD (from rev 499006, lib32-sdl2/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-08-12 09:18:31 UTC (rev 499007) @@ -0,0 +1,90 @@ +# Maintainer: Maxime Gauduin +# Contributor: Jameson Pugh +# Contributor: J0k3r + +pkgname=lib32-sdl2 +pkgver=2.0.10 +pkgrel=1 +pkgdesc='A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2. 32 -bit)' +arch=(x86_64) +url=https://www.libsdl.org +license=(MIT) +depends=( + lib32-glibc + lib32-libxext + lib32-libxrender + lib32-libx11 + lib32-libgl + lib32-libxcursor + sdl2 +) +makedepends=( + cmake + jack + lib32-alsa-lib + lib32-mesa + lib32-libpulse + lib32-libxrandr + lib32-libxinerama + lib32-wayland + lib32-libxkbcommon + lib32-libxss + mercurial + wayland-protocols +) +optdepends=( + 'lib32-alsa-lib: ALSA audio driver' + 'lib32-libpulse: PulseAudio audio driver' + 'lib32-jack: JACK audio driver' +) +source=(hg+https://hg.libsdl.org/SDL#tag=release-${pkgver}) +sha512sums=(SKIP) + +prepare() { + if [[ -d build ]]; then +rm -rf build + fi + mkdir build + + # fix libdir + sed -i 's|lib/cmake|lib32/cmake|' SDL/CMakeLists.txt + # Don't try to link against ibus + sed -i '/pkg_search_module.*ibus-1.0/d' SDL/CMakeLists.txt + +} + +build() { + cd build + + export CC='gcc -m32' + export CXX='g++ -m32' + export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' + + cmake ../SDL \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=32 \ + -DSDL_STATIC=OFF \ + -DSDL_DLOPEN=ON
[arch-commits] Commit in lib32-sdl2/repos/multilib-x86_64 (6 files)
Date: Thursday, November 1, 2018 @ 17:12:27 Author: svenstaro Revision: 401130 archrelease: copy trunk to multilib-x86_64 Added: lib32-sdl2/repos/multilib-x86_64/PKGBUILD (from rev 401129, lib32-sdl2/trunk/PKGBUILD) lib32-sdl2/repos/multilib-x86_64/cmake-include-paths.patch (from rev 401129, lib32-sdl2/trunk/cmake-include-paths.patch) lib32-sdl2/repos/multilib-x86_64/dynapi.patch (from rev 401129, lib32-sdl2/trunk/dynapi.patch) Deleted: lib32-sdl2/repos/multilib-x86_64/PKGBUILD lib32-sdl2/repos/multilib-x86_64/cmake-include-paths.patch lib32-sdl2/repos/multilib-x86_64/dynapi.patch ---+ PKGBUILD | 151 ++- cmake-include-paths.patch | 90 +++ dynapi.patch | 168 ++-- 3 files changed, 201 insertions(+), 208 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-11-01 17:12:19 UTC (rev 401129) +++ PKGBUILD2018-11-01 17:12:27 UTC (rev 401130) @@ -1,79 +0,0 @@ -# Maintainer: Maxime Gauduin -# Contributor: Jameson Pugh -# Contributor: J0k3r - -pkgname=lib32-sdl2 -pkgver=2.0.8 -pkgrel=10 -pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2. 32 -bit)" -arch=('x86_64') -url="https://www.libsdl.org; -license=('MIT') -depends=('lib32-glibc' 'lib32-libxext' 'lib32-libxrender' 'lib32-libx11' 'lib32-libgl' - 'lib32-libxcursor' 'sdl2') -makedepends=('gcc-multilib' 'lib32-alsa-lib' 'lib32-mesa' 'lib32-libpulse' 'lib32-libxrandr' - 'lib32-libxinerama' 'lib32-wayland' 'lib32-libxkbcommon' 'wayland-protocols' - 'lib32-libxss' 'cmake' 'jack') -optdepends=('lib32-alsa-lib: ALSA audio driver' -'lib32-libpulse: PulseAudio audio driver' -'lib32-jack: JACK audio driver') -source=("https://www.libsdl.org/release/SDL2-${pkgver}.tar.gz"{,.sig} -cmake-include-paths.patch dynapi.patch) -sha512sums=('673c6058b8692a36b4a3594456b10ef6051efe79e4fb644421fc5c76b11fd68b895840a2c8b72413418c378733e2993d33f19767d0d7ed101eda6310bd70c869' -'SKIP' - '53eb853153b189bd9c0978ab8c7375608b6df5fc78e22168505bf9f6e695f6fbdc553eead0b17deb734002e047c6d5ae06642363fc629aa9ab7bef0c30388c84' - 'bdb634b070af2f67fddcdd7908fe9ec0ea49d6edb013c35aaf1dbc840f941072ee16b21e5158de500aa5ec81165780a3aaf03e27d8bb30d50c2efb2a5465f824') -validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6') # Sam Lantinga - -prepare() { - cd SDL2-${pkgver} - - patch -Np1 -i "${srcdir}"/cmake-include-paths.patch - sed -i 's|lib/cmake|lib32/cmake|' CMakeLists.txt - - # Don't try to link against ibus - sed -i '/pkg_search_module.*ibus-1.0/d' CMakeLists.txt - - # Taken from Fedora; fixes "Firewatch" and "Enter the Gungeon" - patch -Np1 -i "${srcdir}"/dynapi.patch - - mkdir build -} - -build() { - cd SDL2-${pkgver}/build - - export CC='gcc -m32' - export CXX='g++ -m32' - export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' - - cmake .. \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_SUFFIX=32 \ - -DSDL_STATIC=OFF \ - -DSDL_DLOPEN=ON \ - -DARTS=OFF \ - -DESD=OFF \ - -DNAS=OFF \ - -DALSA=ON \ - -DPULSEAUDIO_SHARED=ON \ - -DVIDEO_WAYLAND=ON \ - -DRPATH=OFF \ - -DCLOCK_GETTIME=ON \ - -DJACK_SHARED=ON - make -} - -package() { - cd SDL2-${pkgver}/build - - make DESTDIR="${pkgdir}" install - rm -rf "${pkgdir}"/usr/{bin,include,share} - - sed -i "s/libSDL2\.a/libSDL2main.a/g" "$pkgdir"/usr/lib32/cmake/SDL2/SDL2Targets-noconfig.cmake - - install -dm 755 "${pkgdir}"/usr/share/licenses - ln -s sdl2 "${pkgdir}"/usr/share/licenses/lib32-sdl2 -} - -# vim: ts=2 sw=2 et: Copied: lib32-sdl2/repos/multilib-x86_64/PKGBUILD (from rev 401129, lib32-sdl2/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-11-01 17:12:27 UTC (rev 401130) @@ -0,0 +1,72 @@ +# Maintainer: Maxime Gauduin +# Contributor: Jameson Pugh +# Contributor: J0k3r + +pkgname=lib32-sdl2 +pkgver=2.0.9 +pkgrel=1 +pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2. 32 -bit)" +arch=('x86_64') +url="https://www.libsdl.org; +license=('MIT') +depends=('lib32-glibc' 'lib32-libxext' 'lib32-libxrender' 'lib32-libx11' 'lib32-libgl' + 'lib32-libxcursor' 'sdl2') +makedepends=('gcc-multilib' 'lib32-alsa-lib' 'lib32-mesa' 'lib32-libpulse' 'lib32-libxrandr' + 'lib32-libxinerama' 'lib32-wayland' 'lib32-libxkbcommon' 'wayland-protocols' + 'lib32-libxss' 'cmake' 'jack') +optdepends=('lib32-alsa-lib: ALSA audio driver' +'lib32-libpulse: PulseAudio audio driver' +'lib32-jack: JACK audio driver')
[arch-commits] Commit in lib32-sdl2/repos/multilib-x86_64 (6 files)
Date: Tuesday, October 30, 2018 @ 12:23:58 Author: svenstaro Revision: 399619 archrelease: copy trunk to multilib-x86_64 Added: lib32-sdl2/repos/multilib-x86_64/PKGBUILD (from rev 399618, lib32-sdl2/trunk/PKGBUILD) lib32-sdl2/repos/multilib-x86_64/cmake-include-paths.patch (from rev 399618, lib32-sdl2/trunk/cmake-include-paths.patch) lib32-sdl2/repos/multilib-x86_64/dynapi.patch (from rev 399618, lib32-sdl2/trunk/dynapi.patch) Deleted: lib32-sdl2/repos/multilib-x86_64/PKGBUILD lib32-sdl2/repos/multilib-x86_64/cmake-include-paths.patch lib32-sdl2/repos/multilib-x86_64/dynapi.patch ---+ PKGBUILD | 158 - cmake-include-paths.patch | 90 +++ dynapi.patch | 168 ++-- 3 files changed, 208 insertions(+), 208 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-10-30 12:23:07 UTC (rev 399618) +++ PKGBUILD2018-10-30 12:23:58 UTC (rev 399619) @@ -1,79 +0,0 @@ -# Maintainer: Maxime Gauduin -# Contributor: Jameson Pugh -# Contributor: J0k3r - -pkgname=lib32-sdl2 -pkgver=2.0.8 -pkgrel=9 -pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2. 32 -bit)" -arch=('x86_64') -url="https://www.libsdl.org; -license=('MIT') -depends=('lib32-glibc' 'lib32-libxext' 'lib32-libxrender' 'lib32-libx11' 'lib32-libgl' - 'lib32-libxcursor' 'sdl2') -makedepends=('gcc-multilib' 'lib32-alsa-lib' 'lib32-mesa' 'lib32-libpulse' 'lib32-libxrandr' - 'lib32-libxinerama' 'lib32-wayland' 'lib32-libxkbcommon' 'wayland-protocols' - 'lib32-libxss' 'cmake' 'jack') -optdepends=('lib32-alsa-lib: ALSA audio driver' -'lib32-libpulse: PulseAudio audio driver' -'lib32-jack: JACK audio driver') -source=("https://www.libsdl.org/release/SDL2-${pkgver}.tar.gz"{,.sig} -cmake-include-paths.patch dynapi.patch) -sha512sums=('673c6058b8692a36b4a3594456b10ef6051efe79e4fb644421fc5c76b11fd68b895840a2c8b72413418c378733e2993d33f19767d0d7ed101eda6310bd70c869' -'SKIP' - '53eb853153b189bd9c0978ab8c7375608b6df5fc78e22168505bf9f6e695f6fbdc553eead0b17deb734002e047c6d5ae06642363fc629aa9ab7bef0c30388c84' - 'bdb634b070af2f67fddcdd7908fe9ec0ea49d6edb013c35aaf1dbc840f941072ee16b21e5158de500aa5ec81165780a3aaf03e27d8bb30d50c2efb2a5465f824') -validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6') # Sam Lantinga - -prepare() { - cd SDL2-${pkgver} - - patch -Np1 -i "${srcdir}"/cmake-include-paths.patch - sed -i 's|lib/cmake|lib32/cmake|' CMakeLists.txt - - # Don't try to link against ibus - sed -i '/pkg_search_module.*ibus-1.0/d' CMakeLists.txt - - # Taken from Fedora; fixes "Firewatch" and "Enter the Gungeon" - patch -Np1 -i "${srcdir}"/dynapi.patch - - mkdir build -} - -build() { - cd SDL2-${pkgver}/build - - export CC='gcc -m32' - export CXX='g++ -m32' - export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' - - cmake .. \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_SUFFIX=32 \ - -DSDL_STATIC=OFF \ - -DSDL_DLOPEN=ON \ - -DARTS=OFF \ - -DESD=OFF \ - -DNAS=OFF \ - -DALSA=ON \ - -DPULSEAUDIO_SHARED=ON \ - -DVIDEO_WAYLAND=ON \ - -DRPATH=OFF \ - -DCLOCK_GETTIME=ON \ - -DJACK_SHARED=ON - make -} - -package() { - cd SDL2-${pkgver}/build - - make DESTDIR="${pkgdir}" install - rm -rf "${pkgdir}"/usr/{bin,include,share} - - sed -i "s/libSDL2\.a/libSDL2main.a/g" "$pkgdir"/usr/lib32/cmake/SDL2/SDL2Targets-noconfig.cmake - - install -dm 755 "${pkgdir}"/usr/share/licenses - ln -s sdl2 "${pkgdir}"/usr/share/licenses/lib32-sdl2 -} - -# vim: ts=2 sw=2 et: Copied: lib32-sdl2/repos/multilib-x86_64/PKGBUILD (from rev 399618, lib32-sdl2/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-10-30 12:23:58 UTC (rev 399619) @@ -0,0 +1,79 @@ +# Maintainer: Maxime Gauduin +# Contributor: Jameson Pugh +# Contributor: J0k3r + +pkgname=lib32-sdl2 +pkgver=2.0.8 +pkgrel=10 +pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2. 32 -bit)" +arch=('x86_64') +url="https://www.libsdl.org; +license=('MIT') +depends=('lib32-glibc' 'lib32-libxext' 'lib32-libxrender' 'lib32-libx11' 'lib32-libgl' + 'lib32-libxcursor' 'sdl2') +makedepends=('gcc-multilib' 'lib32-alsa-lib' 'lib32-mesa' 'lib32-libpulse' 'lib32-libxrandr' + 'lib32-libxinerama' 'lib32-wayland' 'lib32-libxkbcommon' 'wayland-protocols' + 'lib32-libxss' 'cmake' 'jack') +optdepends=('lib32-alsa-lib: ALSA audio driver' +'lib32-libpulse: PulseAudio audio driver' +'lib32-jack: JACK audio driver')
[arch-commits] Commit in lib32-sdl2/repos/multilib-x86_64 (6 files)
Date: Tuesday, October 30, 2018 @ 12:20:08 Author: svenstaro Revision: 399617 archrelease: copy trunk to multilib-x86_64 Added: lib32-sdl2/repos/multilib-x86_64/PKGBUILD (from rev 399616, lib32-sdl2/trunk/PKGBUILD) lib32-sdl2/repos/multilib-x86_64/cmake-include-paths.patch (from rev 399616, lib32-sdl2/trunk/cmake-include-paths.patch) lib32-sdl2/repos/multilib-x86_64/dynapi.patch (from rev 399616, lib32-sdl2/trunk/dynapi.patch) Deleted: lib32-sdl2/repos/multilib-x86_64/PKGBUILD lib32-sdl2/repos/multilib-x86_64/cmake-include-paths.patch lib32-sdl2/repos/multilib-x86_64/dynapi.patch ---+ PKGBUILD | 158 - cmake-include-paths.patch | 90 +++ dynapi.patch | 168 ++-- 3 files changed, 208 insertions(+), 208 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-10-30 12:19:59 UTC (rev 399616) +++ PKGBUILD2018-10-30 12:20:08 UTC (rev 399617) @@ -1,79 +0,0 @@ -# $Id$ -# Maintainer: Maxime Gauduin -# Contributor: Jameson Pugh -# Contributor: J0k3r - -pkgname=lib32-sdl2 -pkgver=2.0.8 -pkgrel=9 -pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2. 32 -bit)" -arch=('x86_64') -url="https://www.libsdl.org; -license=('MIT') -depends=('lib32-glibc' 'lib32-libxext' 'lib32-libxrender' 'lib32-libx11' 'lib32-libgl' - 'lib32-libxcursor' 'sdl2') -makedepends=('gcc-multilib' 'lib32-alsa-lib' 'lib32-mesa' 'lib32-libpulse' 'lib32-libxrandr' - 'lib32-libxinerama' 'lib32-wayland' 'lib32-libxkbcommon' 'wayland-protocols' - 'lib32-libxss' 'cmake') -optdepends=('lib32-alsa-lib: ALSA audio driver' -'lib32-libpulse: PulseAudio audio driver') -source=("https://www.libsdl.org/release/SDL2-${pkgver}.tar.gz"{,.sig} -cmake-include-paths.patch dynapi.patch) -sha512sums=('673c6058b8692a36b4a3594456b10ef6051efe79e4fb644421fc5c76b11fd68b895840a2c8b72413418c378733e2993d33f19767d0d7ed101eda6310bd70c869' -'SKIP' - '53eb853153b189bd9c0978ab8c7375608b6df5fc78e22168505bf9f6e695f6fbdc553eead0b17deb734002e047c6d5ae06642363fc629aa9ab7bef0c30388c84' - 'bdb634b070af2f67fddcdd7908fe9ec0ea49d6edb013c35aaf1dbc840f941072ee16b21e5158de500aa5ec81165780a3aaf03e27d8bb30d50c2efb2a5465f824') -validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6') # Sam Lantinga - -prepare() { - cd SDL2-${pkgver} - - patch -Np1 -i "${srcdir}"/cmake-include-paths.patch - sed -i 's|lib/cmake|lib32/cmake|' CMakeLists.txt - - # Don't try to link against ibus - sed -i '/pkg_search_module.*ibus-1.0/d' CMakeLists.txt - - # Taken from Fedora; fixes "Firewatch" and "Enter the Gungeon" - patch -Np1 -i "${srcdir}"/dynapi.patch - - rm -rf build - mkdir build -} - -build() { - cd SDL2-${pkgver}/build - - export CC='gcc -m32' - export CXX='g++ -m32' - export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' - - cmake .. \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_SUFFIX=32 \ - -DSDL_STATIC=OFF \ - -DSDL_DLOPEN=ON \ - -DARTS=OFF \ - -DESD=OFF \ - -DNAS=OFF \ - -DALSA=ON \ - -DPULSEAUDIO_SHARED=ON \ - -DVIDEO_WAYLAND=ON \ - -DRPATH=OFF \ - -DCLOCK_GETTIME=ON - make -} - -package() { - cd SDL2-${pkgver}/build - - make DESTDIR="${pkgdir}" install - rm -rf "${pkgdir}"/usr/{bin,include,share} - - sed -i "s/libSDL2\.a/libSDL2main.a/g" "$pkgdir"/usr/lib32/cmake/SDL2/SDL2Targets-noconfig.cmake - - install -dm 755 "${pkgdir}"/usr/share/licenses - ln -s sdl2 "${pkgdir}"/usr/share/licenses/lib32-sdl2 -} - -# vim: ts=2 sw=2 et: Copied: lib32-sdl2/repos/multilib-x86_64/PKGBUILD (from rev 399616, lib32-sdl2/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-10-30 12:20:08 UTC (rev 399617) @@ -0,0 +1,79 @@ +# Maintainer: Maxime Gauduin +# Contributor: Jameson Pugh +# Contributor: J0k3r + +pkgname=lib32-sdl2 +pkgver=2.0.8 +pkgrel=9 +pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2. 32 -bit)" +arch=('x86_64') +url="https://www.libsdl.org; +license=('MIT') +depends=('lib32-glibc' 'lib32-libxext' 'lib32-libxrender' 'lib32-libx11' 'lib32-libgl' + 'lib32-libxcursor' 'sdl2') +makedepends=('gcc-multilib' 'lib32-alsa-lib' 'lib32-mesa' 'lib32-libpulse' 'lib32-libxrandr' + 'lib32-libxinerama' 'lib32-wayland' 'lib32-libxkbcommon' 'wayland-protocols' + 'lib32-libxss' 'cmake' 'jack') +optdepends=('lib32-alsa-lib: ALSA audio driver' +'lib32-libpulse: PulseAudio audio driver' +'lib32-jack: JACK audio driver') +source=("https://www.libsdl.org/release/SDL2-${pkgver}.tar.gz"{,.sig} +