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

Maxime Gauduin alucryd at archlinux.org
Thu Jan 23 14:38:23 UTC 2020


    Date: Thursday, January 23, 2020 @ 14:38:23
  Author: alucryd
Revision: 554959

archrelease: copy trunk to community-x86_64

Added:
  libretro-blastem/repos/community-x86_64/PKGBUILD
    (from rev 554958, libretro-blastem/trunk/PKGBUILD)
  libretro-blastem/repos/community-x86_64/libretro-blastem-flags.patch
    (from rev 554958, 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                     |   84 +++++++++++++++++-----------------
 libretro-blastem-flags.patch |  100 ++++++++++++++++++++---------------------
 2 files changed, 92 insertions(+), 92 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-23 14:38:16 UTC (rev 554958)
+++ PKGBUILD	2020-01-23 14:38:23 UTC (rev 554959)
@@ -1,42 +0,0 @@
-# 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
-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:

Copied: libretro-blastem/repos/community-x86_64/PKGBUILD (from rev 554958, libretro-blastem/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-01-23 14:38:23 UTC (rev 554959)
@@ -0,0 +1,42 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=libretro-blastem
+pkgver=1841
+pkgrel=1
+pkgdesc='Sega Mega Drive core'
+arch=(x86_64)
+url=https://github.com/libretro/blastem
+license=(GPL3)
+groups=(libretro)
+depends=(libretro-core-info)
+makedepends=(git)
+source=(
+  libretro-blastem::git+https://github.com/libretro/blastem.git#commit=4206da1f986ecda199c82d4a2404eff904397f55
+  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	2020-01-23 14:38:16 UTC (rev 554958)
+++ libretro-blastem-flags.patch	2020-01-23 14:38:23 UTC (rev 554959)
@@ -1,50 +0,0 @@
-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

Copied: libretro-blastem/repos/community-x86_64/libretro-blastem-flags.patch (from rev 554958, libretro-blastem/trunk/libretro-blastem-flags.patch)
===================================================================
--- libretro-blastem-flags.patch	                        (rev 0)
+++ libretro-blastem-flags.patch	2020-01-23 14:38:23 UTC (rev 554959)
@@ -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