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

Maxime Gauduin alucryd at archlinux.org
Wed Apr 17 07:26:47 UTC 2019


    Date: Wednesday, April 17, 2019 @ 07:26:46
  Author: alucryd
Revision: 451846

archrelease: copy trunk to community-x86_64

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

------------------------------+
 PKGBUILD                     |   89 +++++++++++++++++++----------------------
 libretro-blastem-flags.patch |   74 +++++++++++++++++++++++-----------
 2 files changed, 92 insertions(+), 71 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-17 07:26:39 UTC (rev 451845)
+++ PKGBUILD	2019-04-17 07:26:46 UTC (rev 451846)
@@ -1,47 +0,0 @@
-# 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/PKGBUILD (from rev 451845, libretro-blastem/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-17 07:26:46 UTC (rev 451846)
@@ -0,0 +1,42 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=libretro-blastem
+pkgver=1813
+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)
+source=(
+  libretro-blastem::git+https://github.com/libretro/blastem.git#commit=f5583a4f1d7272adde0d406b5affb6046e3f6d6e
+  libretro-blastem-flags.patch
+)
+sha256sums=(
+  SKIP
+  5ddea4412ad3f14da2eb918edbaf1e0e95bacdeaefdc2fc70b7137db4a77f5e8
+)
+
+pkgver() {
+  cd libretro-blastem
+
+  git rev-list --count HEAD
+}
+
+prepare() {
+  cd libretro-blastem
+
+  patch -Np1 -i ../libretro-blastem-flags.patch
+}
+
+build() {
+  make -C libretro-blastem -f Makefile.libretro
+}
+
+package() {
+  install -Dm 644 libretro-blastem/blastem_libretro.so -t "${pkgdir}"/usr/lib/libretro/
+}
+
+# vim: ts=2 sw=2 et:

Deleted: libretro-blastem-flags.patch
===================================================================
--- libretro-blastem-flags.patch	2019-04-17 07:26:39 UTC (rev 451845)
+++ libretro-blastem-flags.patch	2019-04-17 07:26:46 UTC (rev 451846)
@@ -1,24 +0,0 @@
-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),)

Copied: libretro-blastem/repos/community-x86_64/libretro-blastem-flags.patch (from rev 451845, libretro-blastem/trunk/libretro-blastem-flags.patch)
===================================================================
--- libretro-blastem-flags.patch	                        (rev 0)
+++ libretro-blastem-flags.patch	2019-04-17 07:26:46 UTC (rev 451846)
@@ -0,0 +1,50 @@
+diff -rupN libretro-blastem.orig/Makefile libretro-blastem/Makefile
+--- libretro-blastem.orig/Makefile	2019-04-17 09:08:11.641638576 +0200
++++ libretro-blastem/Makefile	2019-04-17 09:23:33.088550471 +0200
+@@ -31,8 +31,8 @@ SDL2_PREFIX:="sdl/x86_64-w64-mingw32"
+ GLUDIR:=x64
+ endif
+ GLEW32S_LIB:=$(GLEW_PREFIX)/lib/Release/$(GLUDIR)/glew32s.lib
+-CFLAGS:=-std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration
+-LDFLAGS:=-lm -lmingw32 -lws2_32 -mwindows
++CFLAGS:=$(CFLAGS) -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration
++LDFLAGS:=$(CFLAGS) -lm -lmingw32 -lws2_32 -mwindows
+ ifneq ($(MAKECMDGOALS),libblastem.dll)
+ CFLAGS+= -I"$(SDL2_PREFIX)/include/SDL2" -I"$(GLEW_PREFIX)/include" -DGLEW_STATIC
+ LDFLAGS+= $(GLEW32S_LIB) -L"$(SDL2_PREFIX)/lib" -lSDL2main -lSDL2 -lopengl32 -lglu32
+@@ -47,7 +47,7 @@ NET:=net.o
+ EXE:=
+ 
+ HAS_PROC:=$(shell if [ -d /proc ]; then /bin/echo -e -DHAS_PROC; fi)
+-CFLAGS:=-std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value $(HAS_PROC) -DHAVE_UNISTD_H
++CFLAGS:=$(CFLAGS) -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value $(HAS_PROC) -DHAVE_UNISTD_H
+ 
+ ifeq ($(OS),Darwin)
+ LIBS=sdl2 glew
+@@ -89,10 +89,10 @@ ifdef USE_GLES
+ ifndef GLES_LIB
+ GLES_LIB:=$(shell pkg-config --libs glesv2)
+ endif
+-LDFLAGS:=-lm $(GLES_LIB)
++LDFLAGS:=$(LDFLAGS) -lm $(GLES_LIB)
+ else
+ CFLAGS+= -DGLEW_STATIC -Iglew/include
+-LDFLAGS:=-lm glew/lib/libGLEW.a
++LDFLAGS:=$(LDFLAGS) -lm glew/lib/libGLEW.a
+ endif
+ 
+ ifeq ($(OS),Darwin)
+@@ -109,10 +109,10 @@ endif #Darwin
+ 
+ else
+ ifeq ($(MAKECMDGOALS),libblastem.$(SO))
+-LDFLAGS:=-lm
++LDFLAGS:=$(LDFLAGS) -lm
+ else
+-CFLAGS:=$(shell pkg-config --cflags-only-I $(LIBS)) $(CFLAGS)
+-LDFLAGS:=-lm $(shell pkg-config --libs $(LIBS))
++CFLAGS:=$(CFLAGS) $(shell pkg-config --cflags-only-I $(LIBS)) $(CFLAGS)
++LDFLAGS:=$(LDFLAGS) -lm $(shell pkg-config --libs $(LIBS))
+ ifdef USE_FBDEV
+ LDFLAGS+= -pthread
+ endif



More information about the arch-commits mailing list