[arch-commits] Commit in libretro-flycast (4 files)
Maxime Gauduin
alucryd at archlinux.org
Thu Jan 23 14:36:27 UTC 2020
Date: Thursday, January 23, 2020 @ 14:36:27
Author: alucryd
Revision: 554957
archrelease: copy trunk to community-x86_64
Added:
libretro-flycast/repos/
libretro-flycast/repos/community-x86_64/
libretro-flycast/repos/community-x86_64/PKGBUILD
(from rev 554956, libretro-flycast/trunk/PKGBUILD)
libretro-flycast/repos/community-x86_64/libretro-flycast-flags.patch
(from rev 554956, libretro-flycast/trunk/libretro-flycast-flags.patch)
------------------------------+
PKGBUILD | 48 +++++++++++++++++++++++++++++++++++++++++
libretro-flycast-flags.patch | 19 ++++++++++++++++
2 files changed, 67 insertions(+)
Copied: libretro-flycast/repos/community-x86_64/PKGBUILD (from rev 554956, libretro-flycast/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2020-01-23 14:36:27 UTC (rev 554957)
@@ -0,0 +1,48 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=libretro-flycast
+pkgver=4039
+pkgrel=1
+pkgdesc='Sega Dreamcast core'
+arch=(x86_64)
+url=https://github.com/libretro/flycast
+license=(GPL2)
+groups=(libretro)
+depends=(
+ libgl
+ libretro-core-info
+)
+makedepends=(
+ git
+ mesa
+)
+source=(
+ libretro-flycast::git+https://github.com/libretro/flycast.git#commit=1dc65b0edcdf9320ee9104355a7580a0de2cdc69
+ 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 -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/libretro-flycast-flags.patch (from rev 554956, libretro-flycast/trunk/libretro-flycast-flags.patch)
===================================================================
--- repos/community-x86_64/libretro-flycast-flags.patch (rev 0)
+++ repos/community-x86_64/libretro-flycast-flags.patch 2020-01-23 14:36:27 UTC (rev 554957)
@@ -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