Date: Tuesday, December 6, 2022 @ 17:04:56
  Author: alucryd
Revision: 1356806

archrelease: copy trunk to community-x86_64

Added:
  libretro-flycast/repos/community-x86_64/PKGBUILD
    (from rev 1356805, libretro-flycast/trunk/PKGBUILD)
  libretro-flycast/repos/community-x86_64/libretro-flycast-flags.patch
    (from rev 1356805, libretro-flycast/trunk/libretro-flycast-flags.patch)
Deleted:
  libretro-flycast/repos/community-x86_64/PKGBUILD
  libretro-flycast/repos/community-x86_64/libretro-flycast-flags.patch

------------------------------+
 PKGBUILD                     |  120 +++++++++++++++++++++--------------------
 libretro-flycast-flags.patch |   38 ++++++------
 2 files changed, 81 insertions(+), 77 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-06 17:04:44 UTC (rev 1356805)
+++ PKGBUILD    2022-12-06 17:04:56 UTC (rev 1356806)
@@ -1,58 +0,0 @@
-# Maintainer: Maxime Gauduin <[email protected]>
-
-pkgname=libretro-flycast
-pkgver=4487
-pkgrel=1
-pkgdesc='Sega Dreamcast core'
-arch=(x86_64)
-url=https://github.com/libretro/flycast
-license=(GPL2)
-groups=(libretro)
-depends=(
-  libgl
-  libretro-core-info
-  libzip
-  xxhash
-  zlib
-)
-makedepends=(
-  git
-  mesa
-)
-_commit=4c293f306bc16a265c2d768af5d0cea138426054
-source=(
-  
libretro-flycast::git+https://github.com/libretro/flycast.git#commit=${_commit}
-  libretro-flycast-flags.patch
-)
-sha256sums=('SKIP'
-            '051f6fda81d816a8f8c58748565ba4db73a18d0d788e520dc343839471606709')
-
-pkgver() {
-  cd libretro-flycast
-
-  git rev-list --count HEAD
-}
-
-prepare() {
-  cd libretro-flycast
-
-  patch -Np1 -i ../libretro-flycast-flags.patch
-}
-
-build() {
-  make \
-    HAVE_OIT=1 \
-    SYSTEM_GLSLANG=0 \
-    SYSTEM_LIBCHDR=0 \
-    SYSTEM_LIBZIP=1 \
-    SYSTEM_PICOTCP=0 \
-    SYSTEM_XXHASH=1 \
-    SYSTEM_ZLIB=1 \
-    -C libretro-flycast
-}
-
-package() {
-  install -Dm 644 libretro-flycast/flycast_libretro.so -t 
"${pkgdir}"/usr/lib/libretro/
-}
-
-# vim: ts=2 sw=2 et:

Copied: libretro-flycast/repos/community-x86_64/PKGBUILD (from rev 1356805, 
libretro-flycast/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-12-06 17:04:56 UTC (rev 1356806)
@@ -0,0 +1,62 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+
+pkgname=libretro-flycast
+pkgver=5247
+pkgrel=1
+pkgdesc='Sega Dreamcast core'
+arch=(x86_64)
+url=https://github.com/libretro/flycast
+license=(GPL2)
+groups=(libretro)
+depends=(
+  libgl
+  libretro-core-info
+  zlib
+)
+makedepends=(
+  cmake
+  git
+  mesa
+  ninja
+)
+_commit=71ba0187820da4f89c490bdfa78b006504e57adf
+source=(
+  git+https://github.com/flyinghead/flycast.git#commit=${_commit}
+  git+https://github.com/KhronosGroup/glslang.git
+  git+https://github.com/rtissera/libchdr.git
+  git+https://github.com/KhronosGroup/Vulkan-Headers.git
+  git+https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
+)
+b2sums=('SKIP'
+        'SKIP'
+        'SKIP'
+        'SKIP'
+        'SKIP')
+
+prepare() {
+  cd flycast
+  for submodule in 
core/deps/{glslang,libchdr,Vulkan-Headers,VulkanMemoryAllocator}; do
+    git submodule init ${submodule}
+    git submodule set-url ${submodule} "${srcdir}/${submodule##*/}"
+    git -c protocol.file.allow=always submodule update ${submodule}
+  done
+}
+
+pkgver() {
+  cd flycast
+  git rev-list --count HEAD
+}
+
+build() {
+  cmake -S flycast -B build -G Ninja \
+    -DCMAKE_BUILD_TYPE=None \
+    -DLIBRETRO=ON \
+    -Wno-dev
+  cmake --build build
+}
+
+package() {
+  install -Dm 644 build/flycast_libretro.so -t "${pkgdir}"/usr/lib/libretro/
+}
+
+# vim: ts=2 sw=2 et:

Deleted: libretro-flycast-flags.patch
===================================================================
--- libretro-flycast-flags.patch        2022-12-06 17:04:44 UTC (rev 1356805)
+++ libretro-flycast-flags.patch        2022-12-06 17:04:56 UTC (rev 1356806)
@@ -1,19 +0,0 @@
-diff -rupN libretro-reicast.orig/Makefile libretro-reicast/Makefile
---- libretro-reicast.orig/Makefile     2018-10-08 09:46:38.219688904 +0200
-+++ libretro-reicast/Makefile  2018-10-08 09:48:19.840450287 +0200
-@@ -26,12 +26,12 @@ CC_AS    = ${CC_PREFIX}as
- 
- MFLAGS   := 
- ASFLAGS  := 
--LDFLAGS  :=
-+LDFLAGS  := ${LDFLAGS}
- LDFLAGS_END :=
- INCFLAGS :=
- LIBS     :=
--CFLAGS   := 
--CXXFLAGS :=
-+CFLAGS   := ${CFLAGS}
-+CXXFLAGS := ${CXXFLAGS}
- 
- GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"
- ifneq ($(GIT_VERSION)," unknown")

Copied: libretro-flycast/repos/community-x86_64/libretro-flycast-flags.patch 
(from rev 1356805, libretro-flycast/trunk/libretro-flycast-flags.patch)
===================================================================
--- libretro-flycast-flags.patch                                (rev 0)
+++ libretro-flycast-flags.patch        2022-12-06 17:04:56 UTC (rev 1356806)
@@ -0,0 +1,19 @@
+diff -rupN libretro-reicast.orig/Makefile libretro-reicast/Makefile
+--- libretro-reicast.orig/Makefile     2018-10-08 09:46:38.219688904 +0200
++++ libretro-reicast/Makefile  2018-10-08 09:48:19.840450287 +0200
+@@ -26,12 +26,12 @@ CC_AS    = ${CC_PREFIX}as
+ 
+ MFLAGS   := 
+ ASFLAGS  := 
+-LDFLAGS  :=
++LDFLAGS  := ${LDFLAGS}
+ LDFLAGS_END :=
+ INCFLAGS :=
+ LIBS     :=
+-CFLAGS   := 
+-CXXFLAGS :=
++CFLAGS   := ${CFLAGS}
++CXXFLAGS := ${CXXFLAGS}
+ 
+ GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"
+ ifneq ($(GIT_VERSION)," unknown")

Reply via email to