all repos — mgba @ d4e7bf68622768a1d9e7a97c0f1160ef7b478eaa

mGBA Game Boy Advance Emulator

Debian packaging update.
sergiobenrocha2 sergiobenrocha2@gmail.com
Mon, 10 Aug 2015 22:36:19 -0300
commit

d4e7bf68622768a1d9e7a97c0f1160ef7b478eaa

parent

5a3017d0823bcbee7e795b06bd89947751558e2d

M tools/debian/controltools/debian/control

@@ -20,7 +20,7 @@ qtbase5-dev,

qtmultimedia5-dev, zlib1g-dev Standards-Version: 3.9.6 -Homepage: https://endrift.com/mgba/ +Homepage: http://mgba.io/ Package: libmgba Architecture: any
M tools/debian/mgba-qt.installtools/debian/mgba-qt.install

@@ -1,3 +1,3 @@

usr/bin/mgba-qt -usr/share/applications/mgba-qt.desktop +res/mgba-qt.desktop usr/share/applications usr/share/icons
A tools/debian/mgba-qt.manpages

@@ -0,0 +1,1 @@

+doc/mgba-qt.6
A tools/debian/mgba-sdl.manpages

@@ -0,0 +1,1 @@

+doc/mgba.6
M tools/debian/rulestools/debian/rules

@@ -7,12 +7,17 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this

# file, You can obtain one at http://mozilla.org/MPL/2.0/. */ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH) + +ifeq ($(ARCH),armhf) + ARM=-DBUILD_GL=OFF -DBUILD_GLES2=ON +endif %: dh $@ --buildsystem=cmake --builddirectory=obj --parallel override_dh_auto_configure: - dh_auto_configure -- -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_SKIP_RPATH=ON -DBUILD_LIBRETRO=ON + dh_auto_configure -- -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_SKIP_RPATH=ON -DBUILD_LIBRETRO=ON $(ARM) sed 's/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/g' \ debian/libretro-mgba.install.in > debian/libretro-mgba.install sed 's/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/g' \