Date: Wednesday, March 8, 2023 @ 03:02:07
Author: svenstaro
Revision: 470394
archrelease: copy trunk to extra-x86_64
Added:
sdl2/repos/extra-x86_64/PKGBUILD
(from rev 470393, 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-03-08 03:01:53 UTC (rev 470393)
+++ PKGBUILD 2023-03-08 03:02:07 UTC (rev 470394)
@@ -1,42 +0,0 @@
-# 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:
Copied: sdl2/repos/extra-x86_64/PKGBUILD (from rev 470393, sdl2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-08 03:02:07 UTC (rev 470394)
@@ -0,0 +1,42 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+pkgname=sdl2
+pkgver=2.26.4
+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=('138f52a23d796803c450722c8a4db8226214522e99f1e5ae657e2b28eb45abf0c81c9c3df9ab16f1a07d59722ed9415d64dd04332ff040cdfbbc0329f0d05ce4'
+ '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: