CEGUI 0.7.9

parent 4b872398
......@@ -6,7 +6,7 @@
pkgname=ark-rpg
_pkgname=ark
pkgver=0.1
pkgrel=3
pkgrel=4
pkgdesc="Single player three dimensional role playing game set in a fantasy world."
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/ark-rpg/"
......
......@@ -5,8 +5,8 @@
pkgname=cegui
_pkgname=CEGUI
pkgver=0.7.7
pkgrel=2
pkgver=0.7.9
pkgrel=1
pkgdesc="A free library providing windowing and widgets for graphics APIs/engines."
arch=('i686' 'x86_64')
url="http://crayzedsgui.sourceforge.net"
......@@ -15,13 +15,13 @@ depends=('boost-libs' 'devil' 'expat' 'freeglut' 'freetype2' 'glew' 'irrlicht' '
makedepends=('boost' 'doxygen' 'graphviz')
options=(!libtool)
source=("http://downloads.sourceforge.net/crayzedsgui/${_pkgname}-${pkgver}.tar.gz")
md5sums=('8b83577f86eaa1581765dd155c7c8f24')
md5sums=('a8b682daf82e383edc169c2e6eb2b321')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
# Typo fixed in Irrlicht 1.8.0, whereas CEGUI 0.7.7 was based on Irrlicht 1.7.x.
sed -e "s#texureBlend#textureBlend#" -i cegui/src/RendererModules/Irrlicht/CEGUIIrrlichtGeometryBuffer.cpp
# sed -e "s#texureBlend#textureBlend#" -i cegui/src/RendererModules/Irrlicht/CEGUIIrrlichtGeometryBuffer.cpp
./bootstrap
./configure \
......
......@@ -4,9 +4,9 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=ember
pkgver=0.6.3
pkgver=0.7.0
_mediaver=$pkgver
pkgrel=4
pkgrel=2
pkgdesc="Ember is a 3D client using the OGRE 3d library, valid for WorldForge server."
arch=('i686' 'x86_64')
url="http://wiki.worldforge.org/wiki/Ember"
......@@ -15,8 +15,8 @@ depends=('atlas_cpp' 'boost' 'cegui' 'curl' 'eris' 'freealut' 'libsigc++2.0' 'li
categories=('games')
source=("http://downloads.sourceforge.net/worldforge/$pkgname-$pkgver.tar.bz2"
"http://downloads.sourceforge.net/worldforge/$pkgname-media-$_mediaver.tar.bz2")
md5sums=('4b241ffc78a5d081e409c23fdb2db4ea'
'2e2577b5faca0951dc40e443574ee548')
md5sums=('7e7932129b0c0dce354d471ac052596f'
'29aa6930d71f5bdc6b45be036d2227ec')
build() {
cd $srcdir/$pkgbase-$pkgver
......
# Maintainer: Adrian Chaves Fernandez (Gallaecio) <adriyetichaves@gmail.com>
# Contributor: Robert Knauer <robert@privatdemail.net>
# Contributor: Rodrigo Grumiche Silva <grumiche at integrityit dot com dot br>
# Contributor: nozog
# Contributor: davidhjelm
# Contributor: Ray Kohler <ataraxia937 at gmail dot com>
# Contributor: Nathan Owe < ndowens04 at gmail dot com>
pkgname=poco
pkgver=1.4.6
pkgrel=1
pkgdesc="C++ class libraries for network-centric, portable applications, complete edition"
arch=('i686' 'x86_64')
url="http://www.pocoproject.org/"
license=('custom:boost')
depends=('unixodbc' 'libmysqlclient' 'openssl')
makedepends=('gcc' 'make' 'unixodbc' 'libmysqlclient' 'openssl' 'chrpath')
source=(
"${pkgname}-${pkgver}-all.tar.gz"::"https://sourceforge.net/projects/${pkgname}/files/sources/${pkgname}-${pkgver}/${pkgname}-${pkgver}-all.tar.gz/download"
)
sha256sums=(
'cf8229310f047e731cc6273a8df55e03b76f0ed7d5b5d251f99a0f80f6c2c763'
)
build()
{
cd "${srcdir}/${pkgname}-${pkgver}-all"
./configure --prefix=/usr --no-samples --no-tests
make ODBCLIBDIR="/usr/lib"
}
package()
{
cd "${srcdir}/${pkgname}-${pkgver}-all"
make ODBCLIBDIR="/usr/lib" DESTDIR="${pkgdir}" install
install -Dm644 'LICENSE' "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
# remove rpath information from binaries
chrpath -d "${pkgdir}/usr/bin/cpspc"
chrpath -d "${pkgdir}/usr/bin/cpspcd"
chrpath -d "${pkgdir}/usr/bin/f2cpspd"
chrpath -d "${pkgdir}/usr/bin/f2cpsp"
# remove debugging libraries
rm "${pkgdir}/usr/lib/libPoco"*"d.so"*
}
......@@ -6,7 +6,7 @@
pkgname=smc
pkgver=1.9
_musicver=5.0
pkgrel=11
pkgrel=14
pkgdesc="Secret Maryo Chronicles"
arch=('i686' 'x86_64')
url="http://www.secretmaryo.org/"
......@@ -18,21 +18,28 @@ source=(http://downloads.sourceforge.net/smclone/$pkgname-$pkgver.tar.bz2
http://downloads.sourceforge.net/smclone/SMC_Music_${_musicver}_high.zip
smc-for-cegui-v0-7.diff
smc.desktop
smc.png)
smc.png
boost_filesystem3.diff)
md5sums=('75ab7826303c49aec25b052a8b90287f'
'0bccac29052d3eed93e88535312eaaa2'
'51dfea21b741ad19df14e738df52f1cf'
'aca433b9b28a4959d3bc94516547a267'
'efca7580e28748625eb676c9d24ee122')
'efca7580e28748625eb676c9d24ee122'
'3dc17e32b41605949a1001a415bd510a')
build() {
cd $srcdir/$pkgname-$pkgver
# to remove when smc will be compatible with cegui-0.7.x
# To remove when smc will be compatible with cegui-0.7.x.
patch -Np1 -i ${srcdir}/smc-for-cegui-v0-7.diff
# fix for boost-1.46
export CXXFLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=2"
# Fix build.
export CXXFLAGS="${CXXFLAGS} -fpermissive"
# Fix for boost >= 1.50.
patch --binary -Np1 -i "${srcdir}/boost_filesystem3.diff"
sed -e "s#dir_itr->path().leaf();#dir_itr->path().filename().string();#" -i src/overworld/world_manager.cpp
./autogen.sh
LIBS+="-lX11 -lboost_system" \
......@@ -52,3 +59,21 @@ package() {
cp -R $srcdir/data/music $pkgdir/usr/share/smc/
}
md5sums=('75ab7826303c49aec25b052a8b90287f'
'0bccac29052d3eed93e88535312eaaa2'
'51dfea21b741ad19df14e738df52f1cf'
'aca433b9b28a4959d3bc94516547a267'
'efca7580e28748625eb676c9d24ee122'
'e5b8b81a077217be6d082e30ce525730')
md5sums=('75ab7826303c49aec25b052a8b90287f'
'0bccac29052d3eed93e88535312eaaa2'
'51dfea21b741ad19df14e738df52f1cf'
'aca433b9b28a4959d3bc94516547a267'
'efca7580e28748625eb676c9d24ee122'
'3dc17e32b41605949a1001a415bd510a')
md5sums=('75ab7826303c49aec25b052a8b90287f'
'0bccac29052d3eed93e88535312eaaa2'
'51dfea21b741ad19df14e738df52f1cf'
'aca433b9b28a4959d3bc94516547a267'
'efca7580e28748625eb676c9d24ee122'
'364898789fceea230371f47203122b42')
diff -rup smc-1.9/src/core/filesystem/filesystem.cpp smc-1.9.new/src/core/filesystem/filesystem.cpp
--- smc-1.9/src/core/filesystem/filesystem.cpp 2009-07-04 12:11:18.000000000 +0200
+++ smc-1.9.new/src/core/filesystem/filesystem.cpp 2012-07-12 15:36:31.361941069 +0200
@@ -142,27 +142,27 @@ vector<std::string> Get_Directory_Files(
if( fs::is_directory( *dir_itr ) )
{
// ignore hidden directories
- if( dir_itr->path().leaf().find( "." ) == 0 )
+ if( dir_itr->path().filename().string().find( "." ) == 0 )
{
continue;
}
if( with_directories )
{
- valid_files.push_back( dir + "/" + dir_itr->path().leaf() );
+ valid_files.push_back( dir + "/" + dir_itr->path().filename().string() );
}
// load all items from the sub-directory
if( search_in_sub_directories )
{
- vector<std::string> new_valid_files = Get_Directory_Files( dir + "/" + dir_itr->path().leaf(), file_type, with_directories );
+ vector<std::string> new_valid_files = Get_Directory_Files( dir + "/" + dir_itr->path().filename().string(), file_type, with_directories );
valid_files.insert( valid_files.end(), new_valid_files.begin(), new_valid_files.end() );
}
}
// valid file
- else if( file_type.empty() || dir_itr->path().leaf().rfind( file_type ) != std::string::npos )
+ else if( file_type.empty() || dir_itr->path().filename().string().rfind( file_type ) != std::string::npos )
{
- valid_files.push_back( dir + "/" + dir_itr->path().leaf() );
+ valid_files.push_back( dir + "/" + dir_itr->path().filename().string() );
}
}
catch( const std::exception &ex )
......@@ -4,21 +4,23 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=sumwars
pkgver=0.5.4
_pkgver=0-5-4
pkgrel=7
pkgver=0.5.6
pkgrel=1
pkgdesc="Summoning Wars is a role-playing game, featuring both a single-player and a multiplayer mode for about 2 to 8 players."
arch=('i686' 'x86_64')
url="http://sumwars.org/"
license=('GPL3')
depends=('cegui>=0.7.0' 'freealut' 'libogg' 'libvorbis' 'lua>=5.1.0' 'ogre>=1.7.0' 'ois' 'openal')
depends=('cegui>=0.7.0' 'freealut' 'libogg' 'libvorbis' 'lua>=5.1.0' 'ogre>=1.7.0' 'ois' 'openal' 'poco')
categories=('games')
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgver/${pkgname}_${_pkgver}_src.tgz")
md5sums=('98fe18a749614b5a640f2b36fa819f47')
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgver/${pkgname}-${pkgver}-src.tar.bz2")
md5sums=('89f53fe1023072785e039bdef312a04b')
build() {
cd $srcdir/${pkgname}_${_pkgver}_src
mkdir build && cd build
cd $srcdir/${pkgname}-${pkgver}
sed -e "s#TARGET_LINK_LIBRARIES(sumwars \${LINK_LIBS})#TARGET_LINK_LIBRARIES(sumwars \${LINK_LIBS} \"boost_system\")#" -i CMakeLists.txt
mkdir -p build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
......@@ -27,35 +29,38 @@ build() {
}
package() {
cd $srcdir/${pkgname}_${_pkgver}_src/build
cd $srcdir/${pkgname}-${pkgver}
#make install is broken
#make DESTDIR=$pkgdir install
install -dm 775 $pkgdir/usr/share/$pkgname/save
chown :games $pkgdir/usr/share/$pkgname/save
install -dm 755 $pkgdir/usr/{bin,share/pixmaps}
# Executable.
install -Dm755 build/$pkgname $pkgdir/usr/share/$pkgname/$pkgname
# Credits.
install -Dm644 AUTHORS $pkgdir/usr/share/$pkgname/authors.txt
install -m755 $pkgname $pkgdir/usr/share/$pkgname/$pkgname
cd $srcdir/${pkgname}_${_pkgver}_src/
# Savegames.
install -dm775 $pkgdir/usr/share/$pkgname/save
chown :games $pkgdir/usr/share/$pkgname/save
for filename in authors.txt ogre.cfg plugins.cfg resources.cfg
do
install -m644 $filename $pkgdir/usr/share/$pkgname/$filename
# Desktop Integration.
install -Dm644 share/icon/SumWarsIcon_128x128.png $pkgdir/usr/share/pixmaps/$pkgname.png
install -Dm755 packaging/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
sed \
-e "s#/games/#/bin/#g" \
-e "s#icons/hicolor/128x128/$pkgname.png#/pixmaps/$pkgname.png#" \
-i $pkgdir/usr/share/applications/$pkgname.desktop
cp -r share/* $pkgdir/usr/share/$pkgname
for filename in CEGUI Ogre $pkgname; do
touch $pkgdir/usr/share/$pkgname/$filename.log
done
install -m644 resources/itempictures/shield.png $pkgdir/usr/share/pixmaps/sumwars.png
cp -r data $pkgdir/usr/share/$pkgname/
cp -r resources $pkgdir/usr/share/$pkgname
touch $pkgdir/usr/share/$pkgname/CEGUI.log
touch $pkgdir/usr/share/$pkgname/Ogre.log
touch $pkgdir/usr/share/$pkgname/sumwars.log
chmod 777 $pkgdir/usr/share/$pkgname/*.log
# Execution script.
install -dm755 $pkgdir/usr/bin
echo "#!/bin/bash" > $pkgdir/usr/bin/$pkgname
echo "cd /usr/share/$pkgname" >> $pkgdir/usr/bin/$pkgname
echo "./$pkgname" >> $pkgdir/usr/bin/$pkgname
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment