diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,6 +1,7 @@ # Maintainer: Ruben Agin <phabrics@phabrics.com> +_gtk="${GTKMAJ:-gtk4}" pkgname=tme -pkgver=0.12rc10 +pkgver=0.12rc11 pkgrel=1 pkgdesc="The Machine Emulator, or tme, provides a general-purpose framework for computer emulation." arch=('i686' 'x86_64') @@ -8,18 +9,17 @@ license=('GPL3') url="http://phabrics.com" optdepends=('perl-x11-protocol: for computing optimal graphics parameters' 'libvncserver: graphics hosted via VNC server' - 'gtk4: graphics hosted via GTK4' + "${_gtk}: graphics hosted via ${_gtk}" 'sdl2: graphics hosted via SDL2') -makedepends=('perl-x11-protocol' 'libvncserver' 'gtk4' 'sdl2') +makedepends=('perl-x11-protocol' 'libvncserver' "${_gtk}" 'sdl2') source=("https://osdn.net/dl/nme/${pkgname}-${pkgver}.tar.xz") -sha256sums=('e2c90f7c63de196c7bf52c9b06f17e2ab9db86fa86d8c3ff3ee2360fb20914f8') +sha256sums=('ea72a457e0fe8144f985e0a5bf848cd5872a807f47fad492b9e1e5fbd7c173bf') options=(libtool debug !strip) install=$pkgname.install prepare() { cd "$pkgname-$pkgver" - sed -i '/#include "display.h"/i unsigned int _tme_scanline_pad(int bpl);' host/display/display.c } build() |