Date: Sunday, April 9, 2023 @ 22:11:19
  Author: svenstaro
Revision: 473583

archrelease: copy trunk to extra-x86_64

Added:
  sdl2/repos/extra-x86_64/PKGBUILD
    (from rev 473582, 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-04-09 22:11:06 UTC (rev 473582)
+++ PKGBUILD    2023-04-09 22:11:19 UTC (rev 473583)
@@ -1,42 +0,0 @@
-# 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:

Copied: sdl2/repos/extra-x86_64/PKGBUILD (from rev 473582, sdl2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-09 22:11:19 UTC (rev 473583)
@@ -0,0 +1,42 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+pkgname=sdl2
+pkgver=2.26.5
+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=('0f37b443950bc89c3f3add2fc9a9970f42b47e933c106a1d676d1715c520125d5725ffcb9ff85bcf66ac3ff78d9d43d994f9c1935b7c0fd7951e10e251936bcc'
+            '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:

Reply via email to