diff options
author | shackra <elcorreo@deshackra.com> | 2014-04-21 00:41:54 -0600 |
---|---|---|
committer | shackra <elcorreo@deshackra.com> | 2014-04-21 00:41:54 -0600 |
commit | ea7b2e2bc0590c72d4950889dd1a678fea339c6b (patch) | |
tree | 70052cffa1387ea7c585682d91af5e6ac19e7e02 /pcr/nel-hg | |
parent | c50f1e985dedf0c20522d9f958cc5fbac878a167 (diff) | |
download | abslibre-ea7b2e2bc0590c72d4950889dd1a678fea339c6b.tar.gz abslibre-ea7b2e2bc0590c72d4950889dd1a678fea339c6b.tar.bz2 abslibre-ea7b2e2bc0590c72d4950889dd1a678fea339c6b.zip |
updating Ryzom (data and client) packages. Adding nel-hg package which contains the NeL engine to build MMORPG and which is required for Ryzom client to work.
Signed-off-by: shackra <elcorreo@deshackra.com>
Diffstat (limited to 'pcr/nel-hg')
-rw-r--r-- | pcr/nel-hg/PKGBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pcr/nel-hg/PKGBUILD b/pcr/nel-hg/PKGBUILD new file mode 100644 index 000000000..c0ab743f8 --- /dev/null +++ b/pcr/nel-hg/PKGBUILD @@ -0,0 +1,45 @@ +# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $ +# Maintainer: Jorge Araya Navarro <elcorreo@deshackra.com> +pkgname='nel-hg' +srcpkgname='ryzom-hg' +hgver=923522b +pkgver=20131215 +pkgrel=1 +pkgdesc="a toolkit for the development of massively online universes." +arch=('i686' 'x86_64') +url="http://www.ryzomcore.org/" +license=('AGPL3') +depends=('libpng' 'libjpeg' 'libwww-hg' 'boost' 'freetype2' + 'luabind' 'libogg' 'libvorbis' 'openal' 'mesa' 'glu') # por saber +makedepends=('mercurial' 'cpptest' 'cmake' 'bison') +conflicts=('ryzom-nel' 'ryzom-client') +# options=(!strip) # for debbuging propurses +source=("https://repo.parabolagnulinux.org/other/$srcpkgname/$srcpkgname-$pkgver.tar.gz") +sha256sums=('ad05f08004a80758a13566061ce29edfe4803c0c62e30190c437c781038c254e') + + +mksource=("$srcpkgname-$pkgver::hg+https://bitbucket.org/ryzom/ryzomcore#revision=${hgver}") +mksource() { + cd "$srcdir/$srcpkgname-$pkgver/" + rm -rf .hg* + cd "$srcdir/$srcpkgname-$pkgver/code/" + mv * ../ + rm -rf "$srcdir/$srcpkgname-$pkgver/code/" + sed -i 's|<freetype/|<freetype2/|g' "${srcdir}/${srcpkgname}-${pkgver}/nel/src/3d/font_generator.cpp" +} + +build() { + mkdir -p "$srcdir/build-nel" + cd "$srcdir/build-nel" + cmake -Wno-dev "$srcdir/${srcpkgname}-${pkgver}" -DFINAL_VERSION=ON -DWITH_STATIC=OFF -DWITH_NEL_TOOLS=OFF -DWITH_NEL_TESTS=OFF -DWITH_LUA51=ON -DWITH_NEL_SAMPLES=OFF -DWITH_RYZOM_TOOLS=OFF -DWITH_RYZOM_SERVER=OFF -DWITH_RYZOM_CLIENT=OFF -DWITH_NEL=ON -DWITH_DRIVER_OPENGL=ON -DWITH_DRIVER_OPENAL=ON -DCMAKE_INSTALL_PREFIX=/usr -DRYZOM_ETC_PREFIX=/etc/ryzom -DRYZOM_SHARE_PREFIX=/usr/share/ryzom -DRYZOM_BIN_PREFIX=/usr/bin -DRYZOM_GAMES_PREFIX=/usr/bin -DFREETYPE_INCLUDE_DIRS="/usr/include;/usr/include/freetype2" + + make -j1 all +} + +package() { + cd "$srcdir/build-nel" + + make DESTDIR="$pkgdir/" install +} + +# vim:set ts=2 sw=2 et: |