wesnoth: misc cleanups.
- Add missing build deps. - Remove redundant build deps. - Enable OpenMP. - Added a runit service for the network daemon. Close #748
This commit is contained in:
parent
b651170df8
commit
0e927c7a17
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
mkdir -m0700 -p /run/wesnoth
|
||||||
|
exec wesnothd
|
|
@ -1,14 +1,21 @@
|
||||||
# Template file for 'wesnoth'
|
# Template file for 'wesnoth'
|
||||||
pkgname=wesnoth
|
pkgname=wesnoth
|
||||||
version=1.12
|
version=1.12
|
||||||
revision=0
|
revision=1
|
||||||
|
wrksrc="${pkgname}-${version}.0"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="cmake"
|
configure_args="-DENABLE_OMP=1"
|
||||||
makedepends="SDL-devel SDL_image-devel SDL_net-devel SDL_ttf-devel SDL_mixer-devel pango-devel fontconfig-devel libvorbis-devel zlib-devel bzip2-devel boost-devel pkg-config"
|
hostmakedepends="cmake pkg-config"
|
||||||
|
makedepends="libgomp-devel fribidi-devel SDL_image-devel SDL_net-devel SDL_ttf-devel SDL_mixer-devel pango-devel libvorbis-devel zlib-devel bzip2-devel boost-devel"
|
||||||
|
depends="desktop-file-utils"
|
||||||
short_desc="Turn-based fantasy strategy game"
|
short_desc="Turn-based fantasy strategy game"
|
||||||
maintainer="M Farkas-Dyck <strake888@gmail.com>"
|
maintainer="M Farkas-Dyck <strake888@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="https://wesnoth.org/"
|
homepage="https://wesnoth.org/"
|
||||||
distfiles="http://downloads.sourceforge.net/project/wesnoth/wesnoth-${version}/wesnoth-${version}/wesnoth-${version}.tar.bz2"
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=9e2b15cf6196ae7059fc48b5483aa6973473688602958dd64211b1775b513e0a
|
checksum=9e2b15cf6196ae7059fc48b5483aa6973473688602958dd64211b1775b513e0a
|
||||||
wrksrc=wesnoth-${version}.0
|
|
||||||
|
post_install() {
|
||||||
|
# runit service
|
||||||
|
vsv wesnothd
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue