summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMcModder2019-10-08 16:10:20 +0300
committerMcModder2019-10-08 16:10:28 +0300
commit75d447270bd28c516c3247c6271471f9cb315115 (patch)
tree6f57480475f60c862a3f5124ae8e5141be909d9d
parent4d49bf76c9bf3fb7001b3b3afa0a0b374feb3da7 (diff)
downloadaur-75d447270bd28c516c3247c6271471f9cb315115.tar.gz
openttd has SDL2 support now, see github.com/OpenTTD/OpenTTD/pull/7086
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD5
2 files changed, 6 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 72d0c7aa55ca..3d34a169c4d0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -8,7 +8,7 @@ pkgbase = openttd-git
license = GPL
makedepends = git
depends = libpng
- depends = sdl
+ depends = sdl2
depends = icu
depends = fontconfig
depends = lzo
@@ -18,7 +18,8 @@ pkgbase = openttd-git
optdepends = openttd-opengfx: free graphics
optdepends = openttd-opensfx: free soundset
optdepends = timidity++: for in-game music
- optdepends = allegro4: allegro support (launch the game with -v allegro)
+ optdepends = allegro4: allegro support (install and rebuild game; launch the game with -v allegro)
+ optdepends = sdl: old SDL1 support
source = openttd-git::git+https://github.com/OpenTTD/OpenTTD.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 5ada58559917..ac9dd7169106 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,11 +7,12 @@ pkgdesc='An engine for running Transport Tycoon Deluxe (latest GIT build)'
arch=('i686' 'x86_64')
url='http://openttd.org'
license=('GPL')
-depends=('libpng' 'sdl' 'icu' 'fontconfig' 'lzo' 'hicolor-icon-theme' 'desktop-file-utils' 'xz')
+depends=('libpng' 'sdl2' 'icu' 'fontconfig' 'lzo' 'hicolor-icon-theme' 'desktop-file-utils' 'xz')
optdepends=('openttd-opengfx: free graphics'
'openttd-opensfx: free soundset'
'timidity++: for in-game music'
- 'allegro4: allegro support (launch the game with -v allegro)')
+ 'allegro4: allegro support (install and rebuild game; launch the game with -v allegro)'
+ 'sdl: old SDL1 support')
makedepends=('git')
source=("$pkgname::git+https://github.com/OpenTTD/OpenTTD.git")