Debian packaging update.

This commit is contained in:
sergiobenrocha2 2015-08-10 22:36:19 -03:00
parent 5a3017d082
commit d4e7bf6862
5 changed files with 10 additions and 3 deletions

View File

@ -20,7 +20,7 @@ Build-Depends: cmake (>= 2.8.11),
qtmultimedia5-dev,
zlib1g-dev
Standards-Version: 3.9.6
Homepage: https://endrift.com/mgba/
Homepage: http://mgba.io/
Package: libmgba
Architecture: any

View File

@ -1,3 +1,3 @@
usr/bin/mgba-qt
usr/share/applications/mgba-qt.desktop
res/mgba-qt.desktop usr/share/applications
usr/share/icons

View File

@ -0,0 +1 @@
doc/mgba-qt.6

View File

@ -0,0 +1 @@
doc/mgba.6

View File

@ -7,12 +7,17 @@
# 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' \