[arch-commits] Commit in vbam/trunk (6 files)

Maxime Gauduin alucryd at archlinux.org
Thu Apr 9 09:22:06 UTC 2015


    Date: Thursday, April 9, 2015 @ 11:22:06
  Author: alucryd
Revision: 131019

upgpkg: vbam 1.8.0.1292-1

Added:
  vbam/trunk/vbam-wx-icon.patch
Modified:
  vbam/trunk/PKGBUILD
Deleted:
  vbam/trunk/sfml.patch
  vbam/trunk/soil.patch
  vbam/trunk/vbam-ffmpeg2.patch
  vbam/trunk/vbam-util.patch

--------------------+
 PKGBUILD           |   67 +++++-------------
 sfml.patch         |  181 ---------------------------------------------------
 soil.patch         |   51 --------------
 vbam-ffmpeg2.patch |   34 ---------
 vbam-util.patch    |   11 ---
 vbam-wx-icon.patch |   18 +++++
 6 files changed, 37 insertions(+), 325 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-04-09 09:18:00 UTC (rev 131018)
+++ PKGBUILD	2015-04-09 09:22:06 UTC (rev 131019)
@@ -4,8 +4,8 @@
 
 pkgbase=vbam
 pkgname=('vbam-sdl' 'vbam-gtk' 'vbam-wx')
-pkgver=1.8.0.1229
-pkgrel=2
+pkgver=1.8.0.1292
+pkgrel=1
 pkgdesc='Nintendo GameBoy Advance emulator'
 arch=('i686' 'x86_64')
 url='http://vba-m.com'
@@ -12,45 +12,22 @@
 license=('GPL2')
 makedepends=('cmake' 'desktop-file-utils' 'ffmpeg' 'freetype2' 'gtkglextmm'
              'imagemagick' 'glew' 'libjpeg' 'libpng' 'libsndfile' 'libxrandr'
-             'openal' 'subversion' 'wxgtk2.8' 'zip')
+             'openal' 'sfml' 'subversion' 'wxgtk2.8' 'zip')
 makedepends_i686=('nasm')
 source=("vbam::svn+http://svn.code.sf.net/p/vbam/code/trunk#revision=${pkgver##*.}"
-        'http://www.sfml-dev.org/files/SFML-1.6-sdk-linux-64.tar.gz'
-        'http://www.lonesock.net/files/soil.zip'
-        'sfml.patch'
-        'soil.patch'
-        'vbam-util.patch'
-        'vbam-ffmpeg2.patch')
+        'vbam-wx-icon.patch')
 sha256sums=('SKIP'
-            '05bdc32286ab2ec8cb1ccdafe53f31830284e09e11ebfc3ab3836c99a0d9654b'
-            'a2305b8d64f6d636e36d669bbdb0ca5445d1345c754b3d61d3f037dad2e5f701'
-            'c3c2fc48f4edc303ad24d91583a57aef9b7ca3b78de1d6734cb666745fff9bad'
-            '65705aeef90667bd4e28dd03ac0b43685470f2925b642637b7ff6e2f3acd34c7'
-            '54515cd8207cc110940c748c9bef801cb160a51071fdedcbea681d9af04bd09e'
-            '91c468480ba5bfbe208a50dc6118a6229aabd3e9c7d41b0d59454b25014343b0')
+            '2c7280ba61359aaaa04edbad4f522aa8b03f3b00a4ab7600b76f60b83a394ea5')
 
 prepare() {
-  patch -Np0 -i soil.patch
-  patch -Np0 -i sfml.patch
-
   cd vbam
 
-  patch -Np1 -i ../vbam-util.patch
-  patch -Np1 -i ../vbam-ffmpeg2.patch
+  patch -Np1 -i ../vbam-wx-icon.patch
   sed 's/wxrc/wxrc-2.8/g' -i {po/update_pot.sh,src/wx/CMakeLists.txt}
+  sed 's|Common/|common/|' -i src/gba/debugger-expr-yacc.cpp
 }
 
 build() {
-  pushd 'Simple OpenGL Image Library/src'
-  make -f "../projects/makefile/alternate Makefile.txt"
-  make -f "../projects/makefile/alternate Makefile.txt" DESTDIR="${srcdir}/staging" install
-  popd
-
-  pushd SFML-1.6
-  make
-  make DESTDIR="${srcdir}/staging/usr" install
-  popd
-
   cd vbam
 
   if [[ -d build ]]; then
@@ -59,33 +36,27 @@
   mkdir build && cd build
 
   _cmakeargs="-DCMAKE_BUILD_TYPE='Release' \
-              -DCMAKE_CXX_FLAGS=-I${srcdir}/staging/usr/include \
               -DCMAKE_INSTALL_PREFIX='/usr' \
               -DCMAKE_SKIP_RPATH='TRUE' \
-              -DENABLE_GTK='TRUE' -DENABLE_WX='TRUE' \
-              -DENABLE_FFMPEG='TRUE' -DENABLE_LINK='TRUE' \
-              -DSFML_INCLUDE_DIR='../../staging/usr/include/SFML' \
-              -DSFML_AUDIO_INCLUDE_DIR='../../staging/usr/include/SFML/Audio' \
-              -DSFML_AUDIO_LIBRARY='../../staging/usr/lib/libsfml-audio-s.a' \
-              -DSFML_GRAPHICS_INCLUDE_DIR='../../staging/usr/include/SFML/Graphics' \
-              -DSFML_GRAPHICS_LIBRARY='../../staging/usr/lib/libsfml-graphics-s.a' \
-              -DSFML_NETWORK_INCLUDE_DIR='../../staging/usr/include/SFML/Network' \
-              -DSFML_NETWORK_LIBRARY='../../staging/usr/lib/libsfml-network-s.a' \
-              -DSFML_SYSTEM_INCLUDE_DIR='../../staging/usr/include/SFML/System' \
-              -DSFML_SYSTEM_LIBRARY='../../staging/usr/lib/libsfml-system-s.a' \
+              -DENABLE_GTK='TRUE' \
+              -DENABLE_WX='TRUE' \
+              -DENABLE_FFMPEG='TRUE' \
+              -DENABLE_LINK='TRUE' \
               -DwxWidgets_CONFIG_EXECUTABLE='/usr/bin/wx-config-2.8' \
               -DwxWidgets_wxrc_EXECUTABLE='/usr/bin/wxrc-2.8'"
 
   if [[ $CARCH == i686 ]]; then
-    cmake .. ${_cmakeargs} -DENABLE_ASM_{CORE,SCALERS}='TRUE'
-  else
-    cmake .. ${_cmakeargs}
+    _cmakeargs="${_cmakeargs} \
+                -DENABLE_ASM_CORE='TRUE' \
+                -DENABLE_ASM_SCALERS='TRUE'"
   fi
+
+  cmake .. ${_cmakeargs}
   make
 }
 
 package_vbam-sdl() {
-depends=('libgl' 'libpng' 'sdl')
+depends=('sdl' 'sfml')
 replaces=('vbam-cli')
 backup=('etc/vbam.cfg')
 
@@ -96,7 +67,7 @@
 }
 
 package_vbam-gtk() {
-depends=('desktop-file-utils' 'gtkglextmm' 'sdl')
+depends=('desktop-file-utils' 'gtkglextmm' 'sdl' 'sfml')
 conflicts=('vbam-wx')
 install='vbam-gtk.install'
 
@@ -108,7 +79,7 @@
 }
 
 package_vbam-wx() {
-depends=('ffmpeg' 'wxgtk2.8')
+depends=('ffmpeg' 'sfml' 'wxgtk2.8')
 conflicts=('vbam-gtk')
 options=('!emptydirs')
 install='vbam-wx.install'

Deleted: sfml.patch
===================================================================
--- sfml.patch	2015-04-09 09:18:00 UTC (rev 131018)
+++ sfml.patch	2015-04-09 09:22:06 UTC (rev 131019)
@@ -1,181 +0,0 @@
-diff -rupN SFML-1.6.orig/include/SFML/System/Resource.hpp SFML-1.6/include/SFML/System/Resource.hpp
---- SFML-1.6.orig/include/SFML/System/Resource.hpp	2010-01-27 14:53:54.000000000 +0100
-+++ SFML-1.6/include/SFML/System/Resource.hpp	2013-10-11 15:22:44.416388808 +0200
-@@ -29,7 +29,7 @@
- // Headers
- ////////////////////////////////////////////////////////////
- #include <set>
--
-+#include <cstddef>
- 
- namespace sf
- {
-diff -rupN SFML-1.6.orig/src/SFML/Audio/Makefile SFML-1.6/src/SFML/Audio/Makefile
---- SFML-1.6.orig/src/SFML/Audio/Makefile	2010-01-27 15:00:19.000000000 +0100
-+++ SFML-1.6/src/SFML/Audio/Makefile	2013-10-11 15:24:44.588725944 +0200
-@@ -25,7 +25,7 @@ $(OBJ): %.o: %.cpp
- 	$(CPP) -o $@ -c $< $(CFLAGS)
- 
- $(OBJVORBIS): %.o: %.c
--	$(CC) -o $@ -c $< $(CFLAGSEXT)
-+	$(CC) -o $@ -c $< $(CFLAGS)
- 
- .PHONY: clean mrproper
- 
-diff -rupN SFML-1.6.orig/src/SFML/Graphics/GraphicsContext.hpp SFML-1.6/src/SFML/Graphics/GraphicsContext.hpp
---- SFML-1.6.orig/src/SFML/Graphics/GraphicsContext.hpp	2010-01-27 15:00:05.000000000 +0100
-+++ SFML-1.6/src/SFML/Graphics/GraphicsContext.hpp	2013-10-11 15:22:44.419722114 +0200
-@@ -30,7 +30,7 @@
- ////////////////////////////////////////////////////////////
- #include <SFML/Config.hpp>
- #include <SFML/System/NonCopyable.hpp>
--#include <SFML/Graphics/GLEW/glew.h>
-+#include <GL/glew.h>
- #include <iostream>
- #include <string>
- 
-diff -rupN SFML-1.6.orig/src/SFML/Graphics/ImageLoader.cpp SFML-1.6/src/SFML/Graphics/ImageLoader.cpp
---- SFML-1.6.orig/src/SFML/Graphics/ImageLoader.cpp	2010-01-27 15:00:05.000000000 +0100
-+++ SFML-1.6/src/SFML/Graphics/ImageLoader.cpp	2013-10-11 15:22:44.419722114 +0200
-@@ -28,11 +28,12 @@
- #include <SFML/Graphics/ImageLoader.hpp>
- extern "C"
- {
--    #include <SFML/Graphics/libjpeg/jpeglib.h>
--    #include <SFML/Graphics/libjpeg/jerror.h>
-+    #include <jpeglib.h>
-+    #include <jerror.h>
- }
--#include <SFML/Graphics/libpng/png.h>
--#include <SFML/Graphics/SOIL/SOIL.h>
-+#include <png.h>
-+#include <SOIL/SOIL.h>
-+#include <cstring>
- #include <iostream>
- 
- 
-@@ -44,7 +45,7 @@ namespace
-     void PngErrorHandler(png_structp Png, png_const_charp Message)
-     {
-         std::cerr << "Failed to write PNG image. Reason : " << Message << std::endl;
--        longjmp(Png->jmpbuf, 1);
-+        longjmp(png_jmpbuf(Png), 1);
-     }
- }
- 
-@@ -289,7 +290,7 @@ bool ImageLoader::WritePng(const std::st
-     }
- 
-     // For proper error handling...
--    if (setjmp(Png->jmpbuf))
-+    if (setjmp(png_jmpbuf(Png)))
-     {
-         png_destroy_write_struct(&Png, &PngInfo);
-         return false;
-diff -rupN SFML-1.6.orig/src/SFML/Graphics/Makefile SFML-1.6/src/SFML/Graphics/Makefile
---- SFML-1.6.orig/src/SFML/Graphics/Makefile	2010-01-27 15:00:05.000000000 +0100
-+++ SFML-1.6/src/SFML/Graphics/Makefile	2013-10-11 15:26:37.971432986 +0200
-@@ -1,15 +1,5 @@
- SRC     = $(wildcard *.cpp)
--SRCGLEW = $(wildcard ./GLEW/*.c)
--SRCJPEG = $(wildcard ./libjpeg/*.c)
--SRCPNG  = $(wildcard ./libpng/*.c)
--SRCSOIL = $(wildcard ./SOIL/*.c)
--SRCZLIB = $(wildcard ./zlib/*.c)
- OBJ     = $(SRC:.cpp=.o)
--OBJGLEW = $(SRCGLEW:.c=.o)
--OBJJPEG = $(SRCJPEG:.c=.o)
--OBJPNG  = $(SRCPNG:.c=.o)
--OBJSOIL = $(SRCSOIL:.c=.o)
--OBJZLIB = $(SRCZLIB:.c=.o)
- 
- ifeq ($(STATIC), yes)
-     LIB     = libsfml-graphics-s.a
-@@ -23,22 +13,19 @@ endif
- 
- all: $(LIB)
- 
--libsfml-graphics-s.a: $(OBJ) $(OBJGLEW) $(OBJJPEG) $(OBJPNG) $(OBJSOIL) $(OBJZLIB)
--	$(AR) $(ARFLAGS) $(LIBNAME) $(OBJ) $(OBJGLEW) $(OBJJPEG) $(OBJPNG) $(OBJSOIL) $(OBJZLIB)
-+libsfml-graphics-s.a: $(OBJ)
-+	$(AR) $(ARFLAGS) $(LIBNAME) $(OBJ)
- 
--libsfml-graphics.so: $(OBJ) $(OBJGLEW) $(OBJJPEG) $(OBJPNG) $(OBJSOIL) $(OBJZLIB)
--	$(CPP) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBNAME) $(OBJ) $(OBJGLEW) $(OBJJPEG) $(OBJPNG) $(OBJSOIL) $(OBJZLIB) -lfreetype -lX11 -lGL
-+libsfml-graphics.so: $(OBJ)
-+	$(CPP) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBNAME) $(OBJ) -lGLEW -ljpeg -lpng -lz -lfreetype -lX11 -lGL
- 
- $(OBJ): %.o: %.cpp
- 	$(CPP) -o $@ -c $< $(CFLAGS) -I/usr/include/freetype2
- 
--$(OBJGLEW) $(OBJJPEG) $(OBJPNG) $(OBJSOIL) $(OBJZLIB): %.o: %.c
--	$(CC) -o $@ -c $< $(CFLAGSEXT) -DSTBI_FAILURE_USERMSG
--
- .PHONY: clean mrproper
- 
- clean:
--	@rm -rf $(OBJ) $(OBJGLEW) $(OBJJPEG) $(OBJPNG) $(OBJSOIL) $(OBJZLIB)
-+	@rm -rf $(OBJ)
- 
- mrproper: clean
- 	@rm -rf $(LIBNAME)
-diff -rupN SFML-1.6.orig/src/SFML/Makefile SFML-1.6/src/SFML/Makefile
---- SFML-1.6.orig/src/SFML/Makefile	2010-01-27 15:00:37.000000000 +0100
-+++ SFML-1.6/src/SFML/Makefile	2013-10-11 15:29:14.687273136 +0200
-@@ -1,10 +1,10 @@
- export DEBUGBUILD = no
--export STATIC     = no
-+export STATIC     = yes
- 
- ifeq ($(DEBUGBUILD), yes)
-     DEBUGFLAGS = -g -DDEBUG
- else
--    DEBUGFLAGS = -O2 -DNDEBUG
-+    DEBUGFLAGS = -DNDEBUG
- endif
- 
- ifeq ($(STATIC), no)
-@@ -17,9 +17,9 @@ endif
- 
- export CC         = gcc
- export CPP        = g++
--export CFLAGS     = -W -Wall -pedantic -I../../../include -I../../ $(DEBUGFLAGS) $(BUILDFLAGS)
--export CFLAGSEXT  = -I../../../include -I../.. $(DEBUGFLAGS) $(BUILDFLAGS)
--export LDFLAGS    = $(LINKFLAGS)
-+export CFLAGS     += -W -Wall -pedantic -I../../../include -I../../../../staging/usr/include -I../../ $(DEBUGFLAGS) $(BUILDFLAGS)
-+export CFLAGSEXT  = -I../../../include -I../../../../staging/usr/include -I../.. $(DEBUGFLAGS) $(BUILDFLAGS)
-+export LDFLAGS    += $(LINKFLAGS)
- export LIBPATH    = ../../../lib
- export VERSION    = 1.6
- export CP         = cp
-diff -rupN SFML-1.6.orig/src/SFML/Window/Linux/Joystick.cpp SFML-1.6/src/SFML/Window/Linux/Joystick.cpp
---- SFML-1.6.orig/src/SFML/Window/Linux/Joystick.cpp	2010-01-27 15:00:27.000000000 +0100
-+++ SFML-1.6/src/SFML/Window/Linux/Joystick.cpp	2013-10-11 15:22:44.423055420 +0200
-@@ -27,7 +27,7 @@
- ////////////////////////////////////////////////////////////
- #include <SFML/Window/Joystick.hpp>
- #include <sstream>
--
-+#include <unistd.h>
- 
- namespace sf
- {
-diff -rupN SFML-1.6.orig/src/SFML/Window/Makefile SFML-1.6/src/SFML/Window/Makefile
---- SFML-1.6.orig/src/SFML/Window/Makefile	2010-01-27 15:00:37.000000000 +0100
-+++ SFML-1.6/src/SFML/Window/Makefile	2013-10-11 15:31:52.909728371 +0200
-@@ -1,6 +1,5 @@
- SRC     = $(wildcard *.cpp ./Linux/*.cpp)
- OBJ     = $(SRC:.cpp=.o)
--OBJGLEW = $(SRCGLEW:.c=.o)
- 
- ifeq ($(STATIC), yes)
-     LIB     = libsfml-window-s.a
-@@ -18,7 +17,7 @@ libsfml-window-s.a: $(OBJ)
- 	$(AR) $(ARFLAGS) $(LIBNAME) $(OBJ)
- 
- libsfml-window.so: $(OBJ)
--	$(CPP) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBNAME) $(OBJ) $(OBJGLEW) -lX11 -lXrandr -lGL
-+	$(CPP) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBNAME) $(OBJ) -lGLEW -lX11 -lXrandr -lGL
- 
- $(OBJ): %.o: %.cpp
- 	$(CPP) -o $@ -c $< $(CFLAGS)

Deleted: soil.patch
===================================================================
--- soil.patch	2015-04-09 09:18:00 UTC (rev 131018)
+++ soil.patch	2015-04-09 09:22:06 UTC (rev 131019)
@@ -1,51 +0,0 @@
-diff -rupN "Simple OpenGL Image Library.orig/projects/makefile/alternate Makefile.txt" "Simple OpenGL Image Library/projects/makefile/alternate Makefile.txt"
---- "Simple OpenGL Image Library.orig/projects/makefile/alternate Makefile.txt"	2008-07-07 18:13:28.000000000 +0200
-+++ "Simple OpenGL Image Library/projects/makefile/alternate Makefile.txt"	2013-10-11 12:31:18.545860800 +0200
-@@ -1,7 +1,7 @@
- MAKE = make
- CC = gcc
--INSTALL_FILE = install -p -o root -g root -m 644
--INSTALL_DIR = install -p -o root -g root -d
-+INSTALL_FILE = install -p -m 644
-+INSTALL_DIR = install -p -d
- LN = ln -s
- RM = rm -fv
- CFLAGS += -c -O2 -Wall
-@@ -10,13 +10,12 @@ LDFLAGS +=
- CFILES = image_DXT.c image_helper.c SOIL.c stb_image_aug.c
- OFILES = $(CFILES:.c=.o)
- LIBNAME = libSOIL
--VERSION = 1.07-20071110
-+VERSION = 1.16
- MAJOR = 1
- 
- HFILES = SOIL.h image_DXT.h image_helper.h \
-   stbi_DDS_aug.h stbi_DDS_aug_c.h stb_image_aug.h
- AFILE = libSOIL.a
--SOFILE = libSOIL.so.$(VERSION)
- INCLUDEDIR = /usr/include/SOIL
- LIBDIR = /usr/lib
- 
-@@ -29,22 +28,17 @@ lib: $(OFILES)
- 	# create static library
- 	ar -cvq $(LIBNAME).a $(OFILES)
- 	# create shared library
--	gcc -shared -Wl,-soname,$(LIBNAME).so.$(MAJOR) -o $(LIBNAME).so.$(VERSION) $(OFILES)
- 
- install:
- 	$(INSTALL_DIR) $(DESTDIR)/$(INCLUDEDIR)
- 	$(INSTALL_FILE) $(HFILES) $(DESTDIR)/$(INCLUDEDIR)
- 	$(INSTALL_DIR) $(DESTDIR)/$(LIBDIR)
- 	$(INSTALL_FILE) $(AFILE) $(DESTDIR)/$(LIBDIR)
--	$(INSTALL_FILE) $(SOFILE) $(DESTDIR)/$(LIBDIR)
--	( cd $(DESTDIR)/$(LIBDIR) && $(LN) $(SOFILE) $(LIBNAME).so.$(MAJOR) \
--	  && $(LN) $(SOFILE) $(LIBNAME).so )
- 
- clean:
- 	$(RM) *.o
- 	$(RM) *~
- 
- distclean:
--	$(RM) $(AFILE) $(SOFILE)
- 
- .PHONY: all lib clean distclean

Deleted: vbam-ffmpeg2.patch
===================================================================
--- vbam-ffmpeg2.patch	2015-04-09 09:18:00 UTC (rev 131018)
+++ vbam-ffmpeg2.patch	2015-04-09 09:22:06 UTC (rev 131019)
@@ -1,34 +0,0 @@
---- vbam/src/common/ffmpeg.cpp.orig	2015-01-05 10:25:47.729542646 +0100
-+++ vbam/src/common/ffmpeg.cpp	2015-01-05 10:34:18.034895901 +0100
-@@ -178,17 +178,31 @@ MediaRet MediaRecorder::setup_video_stre
-     // make sure RGB is supported (mostly not)
-     if(codec->pix_fmts) {
- 	const enum PixelFormat *p;
-+#if LIBAVCODEC_VERSION_MAJOR < 55
- 	int64_t mask = 0;
-+#endif
- 	for(p = codec->pix_fmts; *p != -1; p++) {
- 	    // may get complaints about 1LL; thus the cast
-+#if LIBAVCODEC_VERSION_MAJOR < 55
- 	    mask |= ((int64_t)1) << *p;
-+#endif
- 	    if(*p == pixfmt)
- 		break;
- 	}
- 	if(*p == -1) {
- 	    // if not supported, use a converter to the next best format
- 	    // this is swscale, the converter used by the output demo
-+#if LIBAVCODEC_VERSION_MAJOR < 55
- 	    enum PixelFormat dp = (PixelFormat)avcodec_find_best_pix_fmt(mask, pixfmt, 0, NULL);
-+#else
-+#if LIBAVCODEC_VERSION_MICRO >= 100
-+// FFmpeg
-+		enum AVPixelFormat dp = avcodec_find_best_pix_fmt_of_list(codec->pix_fmts, pixfmt, 0, NULL);
-+#else
-+// Libav
-+		enum AVPixelFormat dp = avcodec_find_best_pix_fmt2(codec->pix_fmts, pixfmt, 0, NULL);
-+#endif
-+#endif
- 	    if(dp == -1)
- 		dp = codec->pix_fmts[0];
- 	    if(!(convpic = avcodec_alloc_frame()) ||

Deleted: vbam-util.patch
===================================================================
--- vbam-util.patch	2015-04-09 09:18:00 UTC (rev 131018)
+++ vbam-util.patch	2015-04-09 09:22:06 UTC (rev 131019)
@@ -1,11 +0,0 @@
---- vbam-1.8.0.1228/src/Util.h
-+++ vbam-1.8.0.1228/src/Util.h
-@@ -23,6 +23,7 @@
- bool utilIsZipFile(const char *);
- void utilStripDoubleExtension(const char *, char *);
- IMAGE_TYPE utilFindType(const char *);
-+IMAGE_TYPE utilFindType(const char *, char (&)[2048]);
- uint8_t *utilLoad(const char *, bool (*)(const char*), uint8_t *, int &);
- 
- void utilPutDword(uint8_t *, uint32_t);
-

Added: vbam-wx-icon.patch
===================================================================
--- vbam-wx-icon.patch	                        (rev 0)
+++ vbam-wx-icon.patch	2015-04-09 09:22:06 UTC (rev 131019)
@@ -0,0 +1,18 @@
+diff -rupN vbam.orig/src/wx/CMakeLists.txt vbam/src/wx/CMakeLists.txt
+--- vbam.orig/src/wx/CMakeLists.txt	2015-04-09 10:39:02.684326894 +0200
++++ vbam/src/wx/CMakeLists.txt	2015-04-09 10:39:28.696831250 +0200
+@@ -76,6 +76,7 @@ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/ic
+ ADD_CUSTOM_COMMAND(OUTPUT wxvbam.xrs
+                    # doing this in its own dir prevents name prefixes
+ 		   COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/wxvbam.xrc wxvbam.xrc
++		   COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/vbam.png vbam.png
+                    COMMAND wxrc wxvbam.xrc -o wxvbam.xrs
+                    WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+ 		   DEPENDS wxvbam.xrc)
+@@ -184,4 +185,4 @@ if(APPLE)
+     SET_SOURCE_FILES_PROPERTIES(wxvbam.icns PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
+ endif(APPLE)
+     
+-SET(WX_EXE_NAME wxvbam${CMAKE_EXECUTABLE_SUFFIX})
+\ No newline at end of file
++SET(WX_EXE_NAME wxvbam${CMAKE_EXECUTABLE_SUFFIX})



More information about the arch-commits mailing list