[arch-commits] Commit in libretro-flycast/repos (3 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun Mar 6 15:42:41 UTC 2022


    Date: Sunday, March 6, 2022 @ 15:42:40
  Author: foutrelis
Revision: 1142487

archrelease: copy trunk to community-staging-x86_64

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

------------------------------+
 PKGBUILD                     |   58 +++++++++++++++++++++++++++++++++++++++++
 libretro-flycast-flags.patch |   19 +++++++++++++
 2 files changed, 77 insertions(+)

Copied: libretro-flycast/repos/community-staging-x86_64/PKGBUILD (from rev 1142485, libretro-flycast/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-03-06 15:42:40 UTC (rev 1142487)
@@ -0,0 +1,58 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=libretro-flycast
+pkgver=4481
+pkgrel=2
+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=d820f09f4c2562731d78463fab06fb861819c7de
+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-staging-x86_64/libretro-flycast-flags.patch (from rev 1142485, libretro-flycast/trunk/libretro-flycast-flags.patch)
===================================================================
--- community-staging-x86_64/libretro-flycast-flags.patch	                        (rev 0)
+++ community-staging-x86_64/libretro-flycast-flags.patch	2022-03-06 15:42:40 UTC (rev 1142487)
@@ -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")



More information about the arch-commits mailing list