mirror of https://github.com/mgba-emu/mgba.git
Debian packaging update.
This commit is contained in:
parent
5a3017d082
commit
d4e7bf6862
|
@ -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
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
usr/bin/mgba-qt
|
||||
usr/share/applications/mgba-qt.desktop
|
||||
res/mgba-qt.desktop usr/share/applications
|
||||
usr/share/icons
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
doc/mgba-qt.6
|
|
@ -0,0 +1 @@
|
|||
doc/mgba.6
|
|
@ -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' \
|
||||
|
|
Loading…
Reference in New Issue