Date: Wednesday, February 8, 2023 @ 04:25:38
Author: svenstaro
Revision: 468359
archrelease: copy trunk to extra-x86_64
Added:
sdl2/repos/extra-x86_64/PKGBUILD
(from rev 468358, sdl2/trunk/PKGBUILD)
sdl2/repos/extra-x86_64/keys/
Deleted:
sdl2/repos/extra-x86_64/PKGBUILD
sdl2/repos/extra-x86_64/keys/
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-02-08 04:25:20 UTC (rev 468358)
+++ PKGBUILD 2023-02-08 04:25:38 UTC (rev 468359)
@@ -1,42 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <[email protected]>
-pkgname=sdl2
-pkgver=2.26.2
-pkgrel=1
-pkgdesc="A library for portable low-level access to a video framebuffer, audio
output, mouse, and keyboard (Version 2)"
-arch=('x86_64')
-url="https://www.libsdl.org"
-license=('MIT')
-depends=('glibc' 'libxext' 'libxrender' 'libx11' 'libgl' 'libxcursor' 'hidapi'
'libusb')
-makedepends=('alsa-lib' 'mesa' 'libpulse' 'libxrandr' 'libxinerama' 'wayland'
'libxkbcommon'
- 'wayland-protocols' 'ibus' 'fcitx5' 'libxss' 'cmake' 'jack'
'ninja' 'pipewire'
- 'libdecor')
-optdepends=('alsa-lib: ALSA audio driver'
- 'libpulse: PulseAudio audio driver'
- 'jack: JACK audio driver'
- 'pipewire: PipeWire audio driver'
- 'libdecor: Wayland client decorations')
-source=("https://github.com/libsdl-org/SDL/releases/download/release-${pkgver}/SDL2-${pkgver}.tar.gz"{,.sig})
-sha512sums=('5af6f40790560651a7c6c1f7dae3b97d55c5ab372f02dc6024cb7ad3c996a6fac8a7aba1d510ad994cc5d4ba91efd03010d8678104ed44f55ef948011bc66d28'
- 'SKIP')
-validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6') # Sam Lantinga
-
-build() {
- CFLAGS+=" -ffat-lto-objects"
- cmake -S SDL2-${pkgver} -B build -G Ninja \
- -D SDL_HIDAPI_LIBUSB=ON \
- -D CMAKE_INSTALL_PREFIX=/usr \
- -D SDL_STATIC=OFF \
- -D SDL_RPATH=OFF
- cmake --build build
-}
-
-package() {
- DESTDIR="${pkgdir}" cmake --install build
-
- # For some reason, this isn't named correctly and we have to fix it to
reflect the actual staticlib name.
- sed -i "s/libSDL2\.a/libSDL2main.a/g"
"$pkgdir"/usr/lib/cmake/SDL2/SDL2Targets-noconfig.cmake
-
- install -Dm644 SDL2-${pkgver}/LICENSE.txt
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: sdl2/repos/extra-x86_64/PKGBUILD (from rev 468358, sdl2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-02-08 04:25:38 UTC (rev 468359)
@@ -0,0 +1,42 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+pkgname=sdl2
+pkgver=2.26.3
+pkgrel=1
+pkgdesc="A library for portable low-level access to a video framebuffer, audio
output, mouse, and keyboard (Version 2)"
+arch=('x86_64')
+url="https://www.libsdl.org"
+license=('MIT')
+depends=('glibc' 'libxext' 'libxrender' 'libx11' 'libgl' 'libxcursor' 'hidapi'
'libusb')
+makedepends=('alsa-lib' 'mesa' 'libpulse' 'libxrandr' 'libxinerama' 'wayland'
'libxkbcommon'
+ 'wayland-protocols' 'ibus' 'fcitx5' 'libxss' 'cmake' 'jack'
'ninja' 'pipewire'
+ 'libdecor')
+optdepends=('alsa-lib: ALSA audio driver'
+ 'libpulse: PulseAudio audio driver'
+ 'jack: JACK audio driver'
+ 'pipewire: PipeWire audio driver'
+ 'libdecor: Wayland client decorations')
+source=("https://github.com/libsdl-org/SDL/releases/download/release-${pkgver}/SDL2-${pkgver}.tar.gz"{,.sig})
+sha512sums=('26c10fe004e47a498878ff2aa80bab7f57798d6b0f950b085409818d4c758010be7b49f5e0f43dd0afe2b9d18f94ad52d1e212a1d55505ce6d7fcc371fdda7d8'
+ 'SKIP')
+validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6') # Sam Lantinga
+
+build() {
+ CFLAGS+=" -ffat-lto-objects"
+ cmake -S SDL2-${pkgver} -B build -G Ninja \
+ -D SDL_HIDAPI_LIBUSB=ON \
+ -D CMAKE_INSTALL_PREFIX=/usr \
+ -D SDL_STATIC=OFF \
+ -D SDL_RPATH=OFF
+ cmake --build build
+}
+
+package() {
+ DESTDIR="${pkgdir}" cmake --install build
+
+ # For some reason, this isn't named correctly and we have to fix it to
reflect the actual staticlib name.
+ sed -i "s/libSDL2\.a/libSDL2main.a/g"
"$pkgdir"/usr/lib/cmake/SDL2/SDL2Targets-noconfig.cmake
+
+ install -Dm644 SDL2-${pkgver}/LICENSE.txt
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: