Debian packaging update.
sergiobenrocha2 sergiobenrocha2@gmail.com
Mon, 10 Aug 2015 22:36:19 -0300
5 files changed,
10 insertions(+),
3 deletions(-)
M
tools/debian/control
→
tools/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.install
→
tools/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
M
tools/debian/rules
→
tools/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' \