[mupen64plus-core] 308/310: Remove unused GLESv2 library
Sven Eckelmann
ecsv-guest at moszumanska.debian.org
Thu Nov 26 05:58:29 UTC 2015
This is an automated email from the git hooks/post-receive script.
ecsv-guest pushed a commit to branch armhf_test
in repository mupen64plus-core.
commit e08075d1a8fafa21cd691bebd673ec07afbd8542
Author: Sven Eckelmann <sven at narfation.org>
Date: Sun May 10 11:23:56 2015 +0200
Remove unused GLESv2 library
---
debian/changelog | 1 +
debian/patches/Remove-unused-GLESv2-library.patch | 31 +++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 33 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index b88850e..d1c678f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ mupen64plus-core (2.5-2) UNRELEASED; urgency=medium
- Move patches to alternative DEP-3 format and manage them with gbp pq
- Add Use-pkg-config-to-find-GLESv2-library.patch, Use pkg-config to
find GLESv2 library
+ - Add Remove-unused-GLESv2-library.patch, Remove unused GLESv2 library
-- Sven Eckelmann <sven at narfation.org> Fri, 01 May 2015 15:33:16 +0200
diff --git a/debian/patches/Remove-unused-GLESv2-library.patch b/debian/patches/Remove-unused-GLESv2-library.patch
new file mode 100644
index 0000000..b2b5526
--- /dev/null
+++ b/debian/patches/Remove-unused-GLESv2-library.patch
@@ -0,0 +1,31 @@
+From: Sven Eckelmann <sven at narfation.org>
+Date: Sun, 10 May 2015 11:23:56 +0200
+Subject: Remove unused GLESv2 library
+
+---
+ projects/unix/Makefile | 12 ------------
+ 1 file changed, 12 deletions(-)
+
+diff --git a/projects/unix/Makefile b/projects/unix/Makefile
+index 0d33fb7..901ddfc 100755
+--- a/projects/unix/Makefile
++++ b/projects/unix/Makefile
+@@ -273,18 +273,6 @@ endif
+
+ ifeq ($(USE_GLES), 1)
+ CFLAGS += -DUSE_GLES
+-
+- GLESV2_NAME ?= glesv2
+- ifeq ($(origin GLESV2_CFLAGS) $(origin GLESV2_LDLIBS), undefined undefined)
+- ifeq ($(shell $(PKG_CONFIG) --modversion $(GLESV2_NAME) 2>/dev/null),)
+- $(error No $(GLESV2_NAME) development libraries found!)
+- endif
+- GLESV2_CFLAGS += $(shell $(PKG_CONFIG) --cflags $(GLESV2_NAME))
+- GLESV2_LDLIBS += $(shell $(PKG_CONFIG) --libs $(GLESV2_NAME))
+- endif
+- CFLAGS += $(GLESV2_CFLAGS)
+- LDLIBS += $(GLESV2_LDLIBS)
+-
+ # OSD uses non-ES code and breaks attribs of video plugins
+ OSD=0
+ endif
diff --git a/debian/patches/series b/debian/patches/series
index a5365b2..e99e519 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ Use-font-from-ttf-bitstream-vera.patch
Add-printf-format-attribute.patch
Disable-the-disassembler-of-the-recompiled-code.patch
Use-pkg-config-to-find-GLESv2-library.patch
+Remove-unused-GLESv2-library.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mupen64plus-core.git
More information about the Pkg-games-commits
mailing list