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:
Juan RP 2014-12-21 08:16:27 +01:00
parent b651170df8
commit 0e927c7a17
2 changed files with 15 additions and 5 deletions

View File

@ -0,0 +1,3 @@
#!/bin/sh
mkdir -m0700 -p /run/wesnoth
exec wesnothd

View File

@ -1,14 +1,21 @@
# Template file for 'wesnoth'
pkgname=wesnoth
version=1.12
revision=0
revision=1
wrksrc="${pkgname}-${version}.0"
build_style=cmake
hostmakedepends="cmake"
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"
configure_args="-DENABLE_OMP=1"
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"
maintainer="M Farkas-Dyck <strake888@gmail.com>"
license="GPL-2"
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
wrksrc=wesnoth-${version}.0
post_install() {
# runit service
vsv wesnothd
}