[arch-commits] Commit in libretro-reicast/trunk (2 files)

Maxime Gauduin alucryd at archlinux.org
Mon Oct 8 07:53:31 UTC 2018


    Date: Monday, October 8, 2018 @ 07:53:31
  Author: alucryd
Revision: 391071

upgpkg: libretro-reicast 3321-1

Added:
  libretro-reicast/trunk/libretro-reicast-flags.patch
Modified:
  libretro-reicast/trunk/PKGBUILD

------------------------------+
 PKGBUILD                     |   24 ++++++++++++++----------
 libretro-reicast-flags.patch |   19 +++++++++++++++++++
 2 files changed, 33 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-08 07:40:55 UTC (rev 391070)
+++ PKGBUILD	2018-10-08 07:53:31 UTC (rev 391071)
@@ -1,7 +1,7 @@
 # Maintainer: Maxime Gauduin <alucryd at archlinux.org>
 
 pkgname=libretro-reicast
-pkgver=2618
+pkgver=3321
 pkgrel=1
 pkgdesc='Sega Dreamcast core'
 arch=('x86_64')
@@ -8,11 +8,13 @@
 url='https://github.com/libretro/reicast-emulator'
 license=('GPL2')
 groups=('libretro')
-depends=('gcc-libs' 'glibc' 'libgl' 'libretro-core-info')
+depends=('libgl' 'libretro-core-info')
 makedepends=('git' 'mesa')
-_commit='74c4ddf8c7efcd87dfa674c7dfc80b97a9be4122'
-source=("libretro-reicast::git+https://github.com/libretro/reicast-emulator.git#commit=${_commit}")
-sha256sums=('SKIP')
+_commit='028d1478e23bab274e5bd8657599c03cf16e19a9'
+source=("libretro-reicast::git+https://github.com/libretro/reicast-emulator.git#commit=${_commit}"
+        'libretro-reicast-flags.patch')
+sha256sums=('SKIP'
+            '051f6fda81d816a8f8c58748565ba4db73a18d0d788e520dc343839471606709')
 
 pkgver() {
   cd libretro-reicast
@@ -20,16 +22,18 @@
   git rev-list --count HEAD
 }
 
-build() {
+prepare() {
   cd libretro-reicast
 
-  make
+  patch -Np1 -i ../libretro-reicast-flags.patch
 }
 
+build() {
+  make -C libretro-reicast
+}
+
 package() {
-  cd libretro-reicast
-
-  install -Dm 644 reicast_libretro.so -t "${pkgdir}"/usr/lib/libretro/
+  install -Dm 644 libretro-reicast/reicast_libretro.so -t "${pkgdir}"/usr/lib/libretro/
 }
 
 # vim: ts=2 sw=2 et:

Added: libretro-reicast-flags.patch
===================================================================
--- libretro-reicast-flags.patch	                        (rev 0)
+++ libretro-reicast-flags.patch	2018-10-08 07:53:31 UTC (rev 391071)
@@ -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