Date: Monday, November 24, 2014 @ 05:10:20 Author: svenstaro Revision: 123027
archrelease: copy trunk to community-any Added: wesnoth-data/repos/community-any/PKGBUILD (from rev 123026, wesnoth-data/trunk/PKGBUILD) wesnoth-data/repos/community-any/wesnoth-boost.patch (from rev 123026, wesnoth-data/trunk/wesnoth-boost.patch) Deleted: wesnoth-data/repos/community-any/PKGBUILD ---------------------+ PKGBUILD | 95 ++++++++++++++++++++++++++------------------------ wesnoth-boost.patch | 12 ++++++ 2 files changed, 62 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-11-24 04:10:10 UTC (rev 123026) +++ PKGBUILD 2014-11-24 04:10:20 UTC (rev 123027) @@ -1,45 +0,0 @@ -# $Id$ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> -# Contributor: Jan de Groot <j...@archlinux.org> -# Contributor: Tobias Powalowski <tp...@archlinux.org> -# Contributor: Jacobo Arvelo <unix4...@ya.com> -# Contributor: Douglas Soares de Andrade <doug...@archlinux.org> - -pkgname=wesnoth-data -pkgver=1.10.7 -pkgrel=1 -pkgdesc="A turn-based strategy game on a fantasy world (data files)" -arch=('any') -license=('GPL') -url="http://www.wesnoth.org/" -makedepends=('boost' 'cmake' 'sdl_image' 'sdl_ttf' 'sdl_mixer' 'sdl_net' 'lua' 'pango') -options=(!emptydirs) -source=(http://downloads.sourceforge.net/sourceforge/wesnoth/wesnoth-${pkgver}.tar.bz2) -md5sums=('3f460a494530d32aa5d5d0f19c95efbd') - -build() { - cd "${srcdir}/wesnoth-${pkgver}" - - mkdir build && cd build - cmake .. \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DENABLE_OMP=ON \ - -DENABLE_TOOLS=ON \ - -DMANDIR=share/man \ - -DFIFO_DIR=/var/run/wesnothd - make -} - -package() { - cd "${srcdir}/wesnoth-${pkgver}" - - cd build - make DESTDIR="$pkgdir" install - - rm -r $pkgdir/usr/bin - rm -r $pkgdir/usr/share/man - - for file in $(grep -l "python" $pkgdir/usr/share/wesnoth/data/tools/*); do - sed -i "s|#!/usr/bi#n/env python|#!/usr/bin/env python2|" $file; - done -} Copied: wesnoth-data/repos/community-any/PKGBUILD (from rev 123026, wesnoth-data/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-11-24 04:10:20 UTC (rev 123027) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Jan de Groot <j...@archlinux.org> +# Contributor: Tobias Powalowski <tp...@archlinux.org> +# Contributor: Jacobo Arvelo <unix4...@ya.com> +# Contributor: Douglas Soares de Andrade <doug...@archlinux.org> + +pkgname=wesnoth-data +pkgver=1.12.0 +pkgrel=1 +pkgdesc="A turn-based strategy game on a fantasy world (data files)" +arch=('any') +license=('GPL') +url="http://www.wesnoth.org/" +makedepends=('boost' 'cmake' 'sdl_image' 'sdl_ttf' 'sdl_mixer' 'sdl_net' 'lua' 'pango' 'git') +options=(!emptydirs) +source=("git://github.com/wesnoth/wesnoth.git#tag=${pkgver}" + "wesnoth-boost.patch") +md5sums=('SKIP' + '9a4ad99ba66990bfc17cb12966b3823b') + +build() { + cd "${srcdir}/wesnoth" + + # Try this again in a new version when they fix their linking to boost + patch -Np1 < ${srcdir}/wesnoth-boost.patch + + mkdir build && cd build + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DENABLE_OMP=ON \ + -DENABLE_TOOLS=ON \ + -DMANDIR=share/man \ + -DFIFO_DIR=/var/run/wesnothd + make +} + +package() { + cd "${srcdir}/wesnoth" + + cd build + make DESTDIR="$pkgdir" install + + rm -r $pkgdir/usr/bin + rm -r $pkgdir/usr/share/man + + for file in $(grep -l "python" $pkgdir/usr/share/wesnoth/data/tools/*); do + sed -i "s|#!/usr/bi#n/env python|#!/usr/bin/env python2|" $file; + done +} Copied: wesnoth-data/repos/community-any/wesnoth-boost.patch (from rev 123026, wesnoth-data/trunk/wesnoth-boost.patch) =================================================================== --- wesnoth-boost.patch (rev 0) +++ wesnoth-boost.patch 2014-11-24 04:10:20 UTC (rev 123027) @@ -0,0 +1,12 @@ +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 43a20d7..61f36e0 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -79,6 +79,7 @@ else(MSVC) + ${Boost_IOSTREAMS_LIBRARY} + ${Boost_REGEX_LIBRARY} + ${Boost_PROGRAM_OPTIONS_LIBRARY} ++ ${Boost_SYSTEM_LIBRARIES} + ${LIBINTL_LIBRARIES} + ) + endif(MSVC)