Force the use of wx-config-gtk2
This commit is contained in:
parent
3fd149e904
commit
465d37bdbd
2 changed files with 7 additions and 3 deletions
2
.SRCINFO
2
.SRCINFO
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = openmsx-catapult
|
pkgbase = openmsx-catapult
|
||||||
pkgdesc = Front-end for openMSX: the MSX emulator that aims for perfection.
|
pkgdesc = Front-end for openMSX: the MSX emulator that aims for perfection.
|
||||||
pkgver = 18.0
|
pkgver = 18.0
|
||||||
pkgrel = 2
|
pkgrel = 3
|
||||||
url = http://openmsx.org
|
url = http://openmsx.org
|
||||||
arch = i686
|
arch = i686
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
|
|
8
PKGBUILD
8
PKGBUILD
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
pkgname=openmsx-catapult
|
pkgname=openmsx-catapult
|
||||||
pkgver=18.0
|
pkgver=18.0
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="Front-end for openMSX: the MSX emulator that aims for perfection."
|
pkgdesc="Front-end for openMSX: the MSX emulator that aims for perfection."
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://openmsx.org"
|
url="http://openmsx.org"
|
||||||
|
@ -17,7 +17,11 @@ source=("https://github.com/openMSX/wxcatapult/archive/RELEASE_${pkgver//./_}.ta
|
||||||
build() {
|
build() {
|
||||||
cd "wxcatapult-RELEASE_${pkgver//./_}"
|
cd "wxcatapult-RELEASE_${pkgver//./_}"
|
||||||
|
|
||||||
# Changing some default configurations...
|
# Catapult uses wxwidgets-gtk2
|
||||||
|
sed -i 's@wx-config@wx-config-gtk2@' build/probe.mk
|
||||||
|
sed -i 's@wx-config@wx-config-gtk2@' build/main.mk
|
||||||
|
|
||||||
|
# Changing some default configurations
|
||||||
sed -i 's@SYMLINK_FOR_BINARY:=true@SYMLINK_FOR_BINARY:=false@' build/custom.mk
|
sed -i 's@SYMLINK_FOR_BINARY:=true@SYMLINK_FOR_BINARY:=false@' build/custom.mk
|
||||||
sed -i 's@/opt/openMSX-Catapult@/usr/share/openmsx-catapult@' build/custom.mk
|
sed -i 's@/opt/openMSX-Catapult@/usr/share/openmsx-catapult@' build/custom.mk
|
||||||
sed -i 's@/opt/openMSX/bin/openmsx@/usr/bin/openmsx@' build/custom.mk
|
sed -i 's@/opt/openMSX/bin/openmsx@/usr/bin/openmsx@' build/custom.mk
|
||||||
|
|
Loading…
Reference in a new issue