[arch-commits] Commit in libretro-blastem/repos/community-x86_64 (3 files)

Maxime Gauduin alucryd at archlinux.org
Fri Dec 7 09:24:08 UTC 2018


    Date: Friday, December 7, 2018 @ 09:24:07
  Author: alucryd
Revision: 412044

archrelease: copy trunk to community-x86_64

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

------------------------------+
 PKGBUILD                     |   85 ++++++++++++++++++++++-------------------
 libretro-blastem-flags.patch |   24 +++++++++++
 2 files changed, 71 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-07 09:23:57 UTC (rev 412043)
+++ PKGBUILD	2018-12-07 09:24:07 UTC (rev 412044)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-
-pkgname=libretro-blastem
-pkgver=942
-pkgrel=1
-pkgdesc='Sega Mega Drive core'
-arch=('x86_64')
-url='https://github.com/libretro/blastem-libretro'
-license=('GPL3')
-groups=('libretro')
-depends=('glibc' 'libretro-core-info')
-makedepends=('git')
-_commit='13209ec505694c5f18c12f44cedb81a542f3cafa'
-source=("libretro-blastem::git+https://github.com/libretro/blastem-libretro.git#commit=${_commit}")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd libretro-blastem
-
-  git rev-list --count HEAD
-}
-
-build() {
-  cd libretro-blastem/libretro
-
-  sed 's/CFLAGS :=/CFLAGS +=/g' -i Makefile
-
-  make WITH_DYNAREC='x86_64'
-}
-
-package() {
-  cd libretro-blastem/libretro
-
-  install -Dm 644 blastem_libretro.so -t "${pkgdir}"/usr/lib/libretro/
-}
-
-# vim: ts=2 sw=2 et:

Copied: libretro-blastem/repos/community-x86_64/PKGBUILD (from rev 412043, libretro-blastem/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-12-07 09:24:07 UTC (rev 412044)
@@ -0,0 +1,47 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=libretro-blastem
+pkgver=944
+pkgrel=1
+pkgdesc='Sega Mega Drive core'
+arch=(x86_64)
+url='https://github.com/libretro/blastem-libretro'
+license=(GPL3)
+groups=(libretro)
+depends=(libretro-core-info)
+makedepends=(git)
+_commit='ccc11186b008fd674263812e37361df2b89166a9'
+source=(
+  libretro-blastem::git+https://github.com/libretro/blastem-libretro.git#commit=${_commit}
+  libretro-blastem-flags.patch
+)
+sha256sums=(
+  SKIP
+  2289a7f76626bed09f5e191643a1ffeaaa2191245573eaa336824c0e9a45c35e
+)
+
+pkgver() {
+  cd libretro-blastem
+
+  git rev-list --count HEAD
+}
+
+prepare() {
+  cd libretro-blastem
+
+  patch -Np1 -i ../libretro-blastem-flags.patch
+}
+
+build() {
+  cd libretro-blastem/libretro
+
+  make
+}
+
+package() {
+  cd libretro-blastem/libretro
+
+  install -Dm 644 blastem_libretro.so -t "${pkgdir}"/usr/lib/libretro/
+}
+
+# vim: ts=2 sw=2 et:

Copied: libretro-blastem/repos/community-x86_64/libretro-blastem-flags.patch (from rev 412043, libretro-blastem/trunk/libretro-blastem-flags.patch)
===================================================================
--- libretro-blastem-flags.patch	                        (rev 0)
+++ libretro-blastem-flags.patch	2018-12-07 09:24:07 UTC (rev 412044)
@@ -0,0 +1,24 @@
+Binary files libretro-blastem.orig/.git/index and libretro-blastem/.git/index differ
+diff -rupN libretro-blastem.orig/libretro/Makefile libretro-blastem/libretro/Makefile
+--- libretro-blastem.orig/libretro/Makefile	2018-12-07 10:09:11.171250785 +0100
++++ libretro-blastem/libretro/Makefile	2018-12-07 10:19:39.402863430 +0100
+@@ -1,7 +1,7 @@
+ DEBUG := 0
+ NAME  := blastem_libretro
+ SOEXT := .so
+-FLTO  :=
++FLTO  := -flto
+ WITH_Z80      := 1
+ WITH_DYNAREC  :=
+ OPTIMIZE_FLAG :=
+@@ -29,8 +29,8 @@ ifneq ($(SANITIZER),)
+    LDFLAGS := -fsanitize=$(SANITIZER) $(LDLAGS)
+ endif
+ 
+-CFLAGS  := $(OPTIMIZE_FLAG) -std=gnu99 -Wall -D__LIBRETRO__ -I. -I.. -Ilibco $(SANITIZER)
+-LDFLAGS := $(SANITIZER) -shared -Wl,--no-undefined
++CFLAGS  := $(CFLAGS) -std=gnu99 -Wall -D__LIBRETRO__ -I. -I.. -Ilibco
++LDFLAGS := $(LDFLAGS) -shared -Wl,--no-undefined
+ LIBS    := -lm
+ 
+ ifeq ($(platform),)



More information about the arch-commits mailing list