[arch-commits] Commit in mgba/repos (10 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sun Jan 25 10:48:51 UTC 2015


    Date: Sunday, January 25, 2015 @ 11:48:51
  Author: bpiotrowski
Revision: 126559

archrelease: copy trunk to community-i686, community-x86_64

Added:
  mgba/repos/community-i686/PKGBUILD
    (from rev 126558, mgba/trunk/PKGBUILD)
  mgba/repos/community-i686/mgba.desktop
    (from rev 126558, mgba/trunk/mgba.desktop)
  mgba/repos/community-x86_64/PKGBUILD
    (from rev 126558, mgba/trunk/PKGBUILD)
  mgba/repos/community-x86_64/mgba.desktop
    (from rev 126558, mgba/trunk/mgba.desktop)
Deleted:
  mgba/repos/community-i686/PKGBUILD
  mgba/repos/community-i686/component.patch
  mgba/repos/community-i686/mgba.desktop
  mgba/repos/community-x86_64/PKGBUILD
  mgba/repos/community-x86_64/component.patch
  mgba/repos/community-x86_64/mgba.desktop

----------------------------------+
 /PKGBUILD                        |  128 +++++++++++++++++++++++++++++++++++++
 /mgba.desktop                    |   20 +++++
 community-i686/PKGBUILD          |   67 -------------------
 community-i686/component.patch   |   58 ----------------
 community-i686/mgba.desktop      |   10 --
 community-x86_64/PKGBUILD        |   67 -------------------
 community-x86_64/component.patch |   58 ----------------
 community-x86_64/mgba.desktop    |   10 --
 8 files changed, 148 insertions(+), 270 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2015-01-25 10:48:39 UTC (rev 126558)
+++ community-i686/PKGBUILD	2015-01-25 10:48:51 UTC (rev 126559)
@@ -1,67 +0,0 @@
-# $Id$
-# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: Duck Hunt <vaporeon at tfwno.gf>
-
-pkgbase=mgba
-pkgname=('libmgba' 'mgba-sdl' 'mgba-qt')
-pkgver=0.1.0
-pkgrel=5
-pkgdesc='A Nintendo Gameboy Advance Emulator focusing on both speed and accuracy'
-arch=('i686' 'x86_64')
-url="https://endrift.com/mgba/"
-license=('custom:MPL2')
-makedepends=('cmake' 'qt5-base' 'sdl2' 'zlib' 'libpng' 'libzip' 'libedit'
-             'ffmpeg' 'imagemagick' 'desktop-file-utils')
-source=(https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz
-        mgba.desktop
-        component.patch)
-sha1sums=('a3cefcc31453904a01c5d537b49ed6a62cf6a474'
-          '0f6f43ed45b702f6571c254d4717fbc1fe15e845'
-          'a58b27e29f2ffe023859ebfbd0d007c822f79073')
-
-prepare() {
-  [[ ! -d build ]] && mkdir build || rm -rf build
-
-  cd mgba-$pkgver
-  patch -p1 -i ../component.patch
-
-  cd res
-  convert mgba-1024.png -resize 256x256 mgba-256.png
-}
-
-build() {
-  cd build
-  cmake "$srcdir"/mgba-$pkgver -DCMAKE_INSTALL_PREFIX=/usr
-  make
-}
-
-package_libmgba() {
-  depends=('zlib' 'libpng' 'libzip' 'libedit' 'ffmpeg' 'imagemagick')
-
-  cmake -DCOMPONENT=libmgba mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
-    -P build/cmake_install.cmake
-  install -Dm644 mgba-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_mgba-sdl() {
-  depends=('libmgba' 'sdl2')
-
-  cmake -DCOMPONENT=mgba-sdl mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
-    -P build/cmake_install.cmake
-
-  install -d "$pkgdir"/usr/share/licenses/$pkgname
-  ln -s /usr/share/licenses/libmgba/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_mgba-qt() {
-  depends=('libmgba' 'qt5-base' 'sdl2')
-
-  cmake -DCOMPONENT=mgba-qt mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
-    -P build/cmake_install.cmake
-
-  desktop-file-install mgba.desktop --dir "$pkgdir"/usr/share/applications/
-  install -Dm644 mgba-$pkgver/res/mgba-256.png "$pkgdir"/usr/share/pixmaps/mgba.png
-
-  install -d "$pkgdir"/usr/share/licenses/$pkgname
-  ln -s /usr/share/licenses/libmgba/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: mgba/repos/community-i686/PKGBUILD (from rev 126558, mgba/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-01-25 10:48:51 UTC (rev 126559)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Duck Hunt <vaporeon at tfwno.gf>
+
+pkgbase=mgba
+pkgname=('libmgba' 'mgba-sdl' 'mgba-qt')
+pkgver=0.1.1
+pkgrel=1
+arch=('i686' 'x86_64')
+url='https://endrift.com/mgba/'
+license=('custom:MPL2')
+makedepends=('cmake' 'qt5-base' 'sdl2' 'zlib' 'libpng' 'libzip' 'libedit'
+             'ffmpeg' 'imagemagick' 'desktop-file-utils')
+source=(https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz
+        mgba.desktop)
+sha1sums=('8ea1c347bb609690e5c0dc1d21aaf3b97241d903'
+          '0f6f43ed45b702f6571c254d4717fbc1fe15e845')
+
+prepare() {
+  [[ ! -d build ]] && mkdir build || rm -rf build
+
+  cd mgba-$pkgver/res
+  convert mgba-1024.png -resize 256x256 mgba-256.png
+}
+
+build() {
+  cd build
+  cmake "$srcdir"/mgba-$pkgver -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package_libmgba() {
+  pkgdesc='Shared library of mGBA'
+  depends=('zlib' 'libpng' 'libzip' 'libedit' 'ffmpeg' 'imagemagick')
+
+  cmake -DCOMPONENT=libmgba mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
+    -P build/cmake_install.cmake
+  install -Dm644 mgba-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_mgba-sdl() {
+  pkgdesc='A Nintendo Gameboy Advance Emulator focusing on both speed and accuracy'
+  depends=('libmgba' 'sdl2')
+
+  cmake -DCOMPONENT=mgba-sdl mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
+    -P build/cmake_install.cmake
+
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s /usr/share/licenses/libmgba/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_mgba-qt() {
+  pkgdesc='A Nintendo Gameboy Advance Emulator focusing on both speed and accuracy. Qt5 UI.'
+  depends=('libmgba' 'qt5-base' 'sdl2')
+
+  cmake -DCOMPONENT=mgba-qt mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
+    -P build/cmake_install.cmake
+
+  desktop-file-install mgba.desktop --dir "$pkgdir"/usr/share/applications/
+  install -Dm644 mgba-$pkgver/res/mgba-256.png "$pkgdir"/usr/share/pixmaps/mgba.png
+
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s /usr/share/licenses/libmgba/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Deleted: community-i686/component.patch
===================================================================
--- community-i686/component.patch	2015-01-25 10:48:39 UTC (rev 126558)
+++ community-i686/component.patch	2015-01-25 10:48:51 UTC (rev 126559)
@@ -1,58 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 141d0b3..f082190 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -207,7 +207,7 @@ add_library(${BINARY_NAME} SHARED
- 	${OS_SRC}
- 	${THIRD_PARTY_SRC})
- target_link_libraries(${BINARY_NAME} m ${DEBUGGER_LIB} ${OS_LIB} ${DEPENDENCY_LIB})
--install(TARGETS ${BINARY_NAME} DESTINATION lib)
-+install(TARGETS ${BINARY_NAME} DESTINATION lib COMPONENT lib${BINARY_NAME})
- set_target_properties(${BINARY_NAME} PROPERTIES VERSION ${LIB_VERSION_STRING} SOVERSION ${LIB_VERSION_ABI})
- 
- if(BUILD_SDL)
-@@ -227,8 +227,8 @@ if(BUILD_PERF)
- 
- 	add_executable(${BINARY_NAME}-perf ${PERF_SRC})
- 	target_link_libraries(${BINARY_NAME}-perf ${BINARY_NAME} ${PERF_LIB})
--	install(TARGETS ${BINARY_NAME}-perf DESTINATION bin)
--	install(FILES ${CMAKE_SOURCE_DIR}/tools/perf.py DESTINATION "${CMAKE_INSTALL_LIBDIR}/${BINARY_NAME}")
-+	install(TARGETS ${BINARY_NAME}-perf DESTINATION bin COMPONENT ${BINARY_NAME}-perf)
-+	install(FILES ${CMAKE_SOURCE_DIR}/tools/perf.py DESTINATION "${CMAKE_INSTALL_LIBDIR}/${BINARY_NAME}" COMPONENT ${BINARY_NAME}-perf)
- endif()
- 
- # Packaging
-diff --git a/src/platform/qt/CMakeLists.txt b/src/platform/qt/CMakeLists.txt
-index 7fc53a2..295c405 100644
---- a/src/platform/qt/CMakeLists.txt
-+++ b/src/platform/qt/CMakeLists.txt
-@@ -89,7 +89,9 @@ set_target_properties(${BINARY_NAME}-qt PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CM
- list(APPEND QT_LIBRARIES Qt5::Widgets Qt5::OpenGL)
- target_link_libraries(${BINARY_NAME}-qt ${PLATFORM_LIBRARY} ${OPENGL_LIBRARY} ${BINARY_NAME} ${QT_LIBRARIES})
- 
--install(TARGETS ${BINARY_NAME}-qt RUNTIME DESTINATION bin BUNDLE DESTINATION /Applications)
-+install(TARGETS ${BINARY_NAME}-qt
-+	RUNTIME DESTINATION bin COMPONENT ${BINARY_NAME}-qt
-+	BUNDLE DESTINATION ${CMAKE_INSTALL_PREFIX}/Applications COMPONENT ${BINARY_NAME}-qt)
- if(APPLE OR WIN32)
- 	set_target_properties(${BINARY_NAME}-qt PROPERTIES OUTPUT_NAME ${PROJECT_NAME})
- endif()
-diff --git a/src/platform/sdl/CMakeLists.txt b/src/platform/sdl/CMakeLists.txt
-index d12d718..517057d 100644
---- a/src/platform/sdl/CMakeLists.txt
-+++ b/src/platform/sdl/CMakeLists.txt
-@@ -39,7 +39,7 @@ if(BUILD_RASPI)
- 	set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fgnu89-inline")
- 	add_executable(${BINARY_NAME}-rpi ${PLATFORM_SRC} ${MAIN_SRC} ${EGL_MAIN_SRC})
- 	target_link_libraries(${BINARY_NAME}-rpi ${BINARY_NAME} ${PLATFORM_LIBRARY} ${EGL_LIBRARY})
--	install(TARGETS ${BINARY_NAME}-rpi DESTINATION bin)
-+	install(TARGETS ${BINARY_NAME}-rpi DESTINATION bin COMPONENT ${BINARY_NAME}-rpi)
- endif()
- 
- if(BUILD_BBB OR BUILD_RASPI OR NOT BUILD_GL)
-@@ -54,4 +54,4 @@ endif()
- add_executable(${BINARY_NAME}-sdl WIN32 ${PLATFORM_SRC} ${MAIN_SRC})
- target_link_libraries(${BINARY_NAME}-sdl ${BINARY_NAME} ${PLATFORM_LIBRARY} ${OPENGL_LIBRARY})
- set_target_properties(${BINARY_NAME}-sdl PROPERTIES OUTPUT_NAME ${BINARY_NAME})
--install(TARGETS ${BINARY_NAME}-sdl DESTINATION bin)
-+install(TARGETS ${BINARY_NAME}-sdl DESTINATION bin COMPONENT ${BINARY_NAME}-sdl)

Deleted: community-i686/mgba.desktop
===================================================================
--- community-i686/mgba.desktop	2015-01-25 10:48:39 UTC (rev 126558)
+++ community-i686/mgba.desktop	2015-01-25 10:48:51 UTC (rev 126559)
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Type=Application
-Version=1.0
-Name=mGBA
-Comment=mGBA Game Boy Advance Emulator
-Icon=mgba.png
-Exec=mgba-qt
-Categories=Game;Emulator;
-Terminal=false
-StartupNotify=false

Copied: mgba/repos/community-i686/mgba.desktop (from rev 126558, mgba/trunk/mgba.desktop)
===================================================================
--- community-i686/mgba.desktop	                        (rev 0)
+++ community-i686/mgba.desktop	2015-01-25 10:48:51 UTC (rev 126559)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=mGBA
+Comment=mGBA Game Boy Advance Emulator
+Icon=mgba.png
+Exec=mgba-qt
+Categories=Game;Emulator;
+Terminal=false
+StartupNotify=false

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2015-01-25 10:48:39 UTC (rev 126558)
+++ community-x86_64/PKGBUILD	2015-01-25 10:48:51 UTC (rev 126559)
@@ -1,67 +0,0 @@
-# $Id$
-# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: Duck Hunt <vaporeon at tfwno.gf>
-
-pkgbase=mgba
-pkgname=('libmgba' 'mgba-sdl' 'mgba-qt')
-pkgver=0.1.0
-pkgrel=5
-pkgdesc='A Nintendo Gameboy Advance Emulator focusing on both speed and accuracy'
-arch=('i686' 'x86_64')
-url="https://endrift.com/mgba/"
-license=('custom:MPL2')
-makedepends=('cmake' 'qt5-base' 'sdl2' 'zlib' 'libpng' 'libzip' 'libedit'
-             'ffmpeg' 'imagemagick' 'desktop-file-utils')
-source=(https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz
-        mgba.desktop
-        component.patch)
-sha1sums=('a3cefcc31453904a01c5d537b49ed6a62cf6a474'
-          '0f6f43ed45b702f6571c254d4717fbc1fe15e845'
-          'a58b27e29f2ffe023859ebfbd0d007c822f79073')
-
-prepare() {
-  [[ ! -d build ]] && mkdir build || rm -rf build
-
-  cd mgba-$pkgver
-  patch -p1 -i ../component.patch
-
-  cd res
-  convert mgba-1024.png -resize 256x256 mgba-256.png
-}
-
-build() {
-  cd build
-  cmake "$srcdir"/mgba-$pkgver -DCMAKE_INSTALL_PREFIX=/usr
-  make
-}
-
-package_libmgba() {
-  depends=('zlib' 'libpng' 'libzip' 'libedit' 'ffmpeg' 'imagemagick')
-
-  cmake -DCOMPONENT=libmgba mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
-    -P build/cmake_install.cmake
-  install -Dm644 mgba-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_mgba-sdl() {
-  depends=('libmgba' 'sdl2')
-
-  cmake -DCOMPONENT=mgba-sdl mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
-    -P build/cmake_install.cmake
-
-  install -d "$pkgdir"/usr/share/licenses/$pkgname
-  ln -s /usr/share/licenses/libmgba/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_mgba-qt() {
-  depends=('libmgba' 'qt5-base' 'sdl2')
-
-  cmake -DCOMPONENT=mgba-qt mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
-    -P build/cmake_install.cmake
-
-  desktop-file-install mgba.desktop --dir "$pkgdir"/usr/share/applications/
-  install -Dm644 mgba-$pkgver/res/mgba-256.png "$pkgdir"/usr/share/pixmaps/mgba.png
-
-  install -d "$pkgdir"/usr/share/licenses/$pkgname
-  ln -s /usr/share/licenses/libmgba/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: mgba/repos/community-x86_64/PKGBUILD (from rev 126558, mgba/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-01-25 10:48:51 UTC (rev 126559)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Duck Hunt <vaporeon at tfwno.gf>
+
+pkgbase=mgba
+pkgname=('libmgba' 'mgba-sdl' 'mgba-qt')
+pkgver=0.1.1
+pkgrel=1
+arch=('i686' 'x86_64')
+url='https://endrift.com/mgba/'
+license=('custom:MPL2')
+makedepends=('cmake' 'qt5-base' 'sdl2' 'zlib' 'libpng' 'libzip' 'libedit'
+             'ffmpeg' 'imagemagick' 'desktop-file-utils')
+source=(https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz
+        mgba.desktop)
+sha1sums=('8ea1c347bb609690e5c0dc1d21aaf3b97241d903'
+          '0f6f43ed45b702f6571c254d4717fbc1fe15e845')
+
+prepare() {
+  [[ ! -d build ]] && mkdir build || rm -rf build
+
+  cd mgba-$pkgver/res
+  convert mgba-1024.png -resize 256x256 mgba-256.png
+}
+
+build() {
+  cd build
+  cmake "$srcdir"/mgba-$pkgver -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package_libmgba() {
+  pkgdesc='Shared library of mGBA'
+  depends=('zlib' 'libpng' 'libzip' 'libedit' 'ffmpeg' 'imagemagick')
+
+  cmake -DCOMPONENT=libmgba mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
+    -P build/cmake_install.cmake
+  install -Dm644 mgba-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_mgba-sdl() {
+  pkgdesc='A Nintendo Gameboy Advance Emulator focusing on both speed and accuracy'
+  depends=('libmgba' 'sdl2')
+
+  cmake -DCOMPONENT=mgba-sdl mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
+    -P build/cmake_install.cmake
+
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s /usr/share/licenses/libmgba/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_mgba-qt() {
+  pkgdesc='A Nintendo Gameboy Advance Emulator focusing on both speed and accuracy. Qt5 UI.'
+  depends=('libmgba' 'qt5-base' 'sdl2')
+
+  cmake -DCOMPONENT=mgba-qt mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
+    -P build/cmake_install.cmake
+
+  desktop-file-install mgba.desktop --dir "$pkgdir"/usr/share/applications/
+  install -Dm644 mgba-$pkgver/res/mgba-256.png "$pkgdir"/usr/share/pixmaps/mgba.png
+
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s /usr/share/licenses/libmgba/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Deleted: community-x86_64/component.patch
===================================================================
--- community-x86_64/component.patch	2015-01-25 10:48:39 UTC (rev 126558)
+++ community-x86_64/component.patch	2015-01-25 10:48:51 UTC (rev 126559)
@@ -1,58 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 141d0b3..f082190 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -207,7 +207,7 @@ add_library(${BINARY_NAME} SHARED
- 	${OS_SRC}
- 	${THIRD_PARTY_SRC})
- target_link_libraries(${BINARY_NAME} m ${DEBUGGER_LIB} ${OS_LIB} ${DEPENDENCY_LIB})
--install(TARGETS ${BINARY_NAME} DESTINATION lib)
-+install(TARGETS ${BINARY_NAME} DESTINATION lib COMPONENT lib${BINARY_NAME})
- set_target_properties(${BINARY_NAME} PROPERTIES VERSION ${LIB_VERSION_STRING} SOVERSION ${LIB_VERSION_ABI})
- 
- if(BUILD_SDL)
-@@ -227,8 +227,8 @@ if(BUILD_PERF)
- 
- 	add_executable(${BINARY_NAME}-perf ${PERF_SRC})
- 	target_link_libraries(${BINARY_NAME}-perf ${BINARY_NAME} ${PERF_LIB})
--	install(TARGETS ${BINARY_NAME}-perf DESTINATION bin)
--	install(FILES ${CMAKE_SOURCE_DIR}/tools/perf.py DESTINATION "${CMAKE_INSTALL_LIBDIR}/${BINARY_NAME}")
-+	install(TARGETS ${BINARY_NAME}-perf DESTINATION bin COMPONENT ${BINARY_NAME}-perf)
-+	install(FILES ${CMAKE_SOURCE_DIR}/tools/perf.py DESTINATION "${CMAKE_INSTALL_LIBDIR}/${BINARY_NAME}" COMPONENT ${BINARY_NAME}-perf)
- endif()
- 
- # Packaging
-diff --git a/src/platform/qt/CMakeLists.txt b/src/platform/qt/CMakeLists.txt
-index 7fc53a2..295c405 100644
---- a/src/platform/qt/CMakeLists.txt
-+++ b/src/platform/qt/CMakeLists.txt
-@@ -89,7 +89,9 @@ set_target_properties(${BINARY_NAME}-qt PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CM
- list(APPEND QT_LIBRARIES Qt5::Widgets Qt5::OpenGL)
- target_link_libraries(${BINARY_NAME}-qt ${PLATFORM_LIBRARY} ${OPENGL_LIBRARY} ${BINARY_NAME} ${QT_LIBRARIES})
- 
--install(TARGETS ${BINARY_NAME}-qt RUNTIME DESTINATION bin BUNDLE DESTINATION /Applications)
-+install(TARGETS ${BINARY_NAME}-qt
-+	RUNTIME DESTINATION bin COMPONENT ${BINARY_NAME}-qt
-+	BUNDLE DESTINATION ${CMAKE_INSTALL_PREFIX}/Applications COMPONENT ${BINARY_NAME}-qt)
- if(APPLE OR WIN32)
- 	set_target_properties(${BINARY_NAME}-qt PROPERTIES OUTPUT_NAME ${PROJECT_NAME})
- endif()
-diff --git a/src/platform/sdl/CMakeLists.txt b/src/platform/sdl/CMakeLists.txt
-index d12d718..517057d 100644
---- a/src/platform/sdl/CMakeLists.txt
-+++ b/src/platform/sdl/CMakeLists.txt
-@@ -39,7 +39,7 @@ if(BUILD_RASPI)
- 	set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fgnu89-inline")
- 	add_executable(${BINARY_NAME}-rpi ${PLATFORM_SRC} ${MAIN_SRC} ${EGL_MAIN_SRC})
- 	target_link_libraries(${BINARY_NAME}-rpi ${BINARY_NAME} ${PLATFORM_LIBRARY} ${EGL_LIBRARY})
--	install(TARGETS ${BINARY_NAME}-rpi DESTINATION bin)
-+	install(TARGETS ${BINARY_NAME}-rpi DESTINATION bin COMPONENT ${BINARY_NAME}-rpi)
- endif()
- 
- if(BUILD_BBB OR BUILD_RASPI OR NOT BUILD_GL)
-@@ -54,4 +54,4 @@ endif()
- add_executable(${BINARY_NAME}-sdl WIN32 ${PLATFORM_SRC} ${MAIN_SRC})
- target_link_libraries(${BINARY_NAME}-sdl ${BINARY_NAME} ${PLATFORM_LIBRARY} ${OPENGL_LIBRARY})
- set_target_properties(${BINARY_NAME}-sdl PROPERTIES OUTPUT_NAME ${BINARY_NAME})
--install(TARGETS ${BINARY_NAME}-sdl DESTINATION bin)
-+install(TARGETS ${BINARY_NAME}-sdl DESTINATION bin COMPONENT ${BINARY_NAME}-sdl)

Deleted: community-x86_64/mgba.desktop
===================================================================
--- community-x86_64/mgba.desktop	2015-01-25 10:48:39 UTC (rev 126558)
+++ community-x86_64/mgba.desktop	2015-01-25 10:48:51 UTC (rev 126559)
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Type=Application
-Version=1.0
-Name=mGBA
-Comment=mGBA Game Boy Advance Emulator
-Icon=mgba.png
-Exec=mgba-qt
-Categories=Game;Emulator;
-Terminal=false
-StartupNotify=false

Copied: mgba/repos/community-x86_64/mgba.desktop (from rev 126558, mgba/trunk/mgba.desktop)
===================================================================
--- community-x86_64/mgba.desktop	                        (rev 0)
+++ community-x86_64/mgba.desktop	2015-01-25 10:48:51 UTC (rev 126559)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=mGBA
+Comment=mGBA Game Boy Advance Emulator
+Icon=mgba.png
+Exec=mgba-qt
+Categories=Game;Emulator;
+Terminal=false
+StartupNotify=false



More information about the arch-commits mailing list