Merge branch 'testing' of gitorious.org:chakra-packages/platform into testing

This commit is contained in:
Manuel Tortosa 2010-11-03 21:25:33 +00:00
commit 7e366f4da1
8 changed files with 228 additions and 0 deletions

26
allegro/LICENSE Normal file
View File

@ -0,0 +1,26 @@
===================================
============ Copyright ============
===================================
Allegro is gift-ware. It was created by a number of people working in
cooperation, and is given to you freely as a gift. You may use, modify,
redistribute, and generally hack it about in any way you like, and you do
not have to give us anything in return. However, if you like this product
you are encouraged to thank us by making a return gift to the Allegro
community. This could be by writing an add-on package, providing a useful
bug report, making an improvement to the library, or perhaps just
releasing the sources of your program so that other people can learn from
them. If you redistribute parts of this code or make a game using it, it
would be nice if you mentioned Allegro somewhere in the credits, but you
are not required to do this. We trust you not to abuse our generosity.
Disclaimer:
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

38
allegro/PKGBUILD Normal file
View File

@ -0,0 +1,38 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=allegro
pkgver=4.4.1.1
pkgrel=1
pkgdesc="Portable library mainly aimed at video game and multimedia programming"
arch=('i686' 'x86_64')
url="http://alleg.sourceforge.net/"
license=('custom')
depends=('jack' 'libxpm' 'libxxf86vm' 'libxxf86dga' 'libxcursor' 'libpng')
makedepends=('cmake')
options=('!makeflags')
source=(http://downloads.sourceforge.net/alleg/${pkgname}-${pkgver}.tar.gz
LICENSE)
md5sums=('0f1cfff8f2cf88e5c91a667d9fd386ec'
'cd97e2992e8e66b9e6a449d832dc9c7a')
build() {
cd "${srcdir}"
mkdir build && cd build
cmake "../${pkgname}-${pkgver}" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWANT_DOCS=OFF
make
make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/"
}

40
cegui/PKGBUILD Normal file
View File

@ -0,0 +1,40 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=cegui
pkgver=0.6.2b
pkgrel=1
pkgdesc="A free library providing windowing and widgets for graphics APIs/engines"
arch=(i686 x86_64)
url="http://crayzedsgui.sourceforge.net"
options=('!libtool')
license=("MIT")
depends=('pcre' 'expat' 'freetype2' 'libxml2' 'devil' 'freeglut' 'lua' 'silly')
[ "$CARCH" = "x86_64" ] && depends=(${depends[@]} 'silly')
source=(http://downloads.sourceforge.net/crayzedsgui/CEGUI-$pkgver.tar.gz)
md5sums=('4fbd95e5a2ac1c7acf2a8f5df3ac6b93')
build() {
cd $srcdir/CEGUI-0.6.2
./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-devil \
--enable-silly \
--disable-xerces-c \
--with-default-image-codec=SILLYImageCodec \
--enable-lua
make
}
package() {
cd $srcdir/CEGUI-0.6.2
make DESTDIR=$pkgdir install
install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
}

32
devil/PKGBUILD Normal file
View File

@ -0,0 +1,32 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=devil
pkgver=1.7.8
pkgrel=1
pkgdesc="Library for reading several different image formats"
arch=('i686' 'x86_64')
url="http://openil.sourceforge.net/"
depends=('allegro>=4.4.0.1' 'sdl' 'libpng>=1.4.0' 'libmng>=1.0.10-3' 'freeglut'
'jasper>=1.900.1-4' 'lcms>=1.18-3' 'openexr')
makedepends=('bash')
options=('!libtool' '!docs')
license=('GPL')
source=(http://downloads.sourceforge.net/openil/DevIL-$pkgver.tar.gz libpng14.patch)
build() {
cd $srcdir/devil-$pkgver
patch -Np1 -i $srcdir/libpng14.patch || return 1
# configure and build
./configure --prefix=/usr --enable-ILU --enable-ILUT --enable-opengl --enable-sdl
make || return 1
make prefix=$pkgdir/usr install
}
md5sums=('7918f215524589435e5ec2e8736d5e1d'
'0f839ccefd43b0ee8b4b3f99806147fc')

33
devil/libpng14.patch Normal file
View File

@ -0,0 +1,33 @@
diff -Nur devil-1.7.8.orig/src-IL/src/il_icon.c devil-1.7.8/src-IL/src/il_icon.c
--- devil-1.7.8.orig/src-IL/src/il_icon.c 2009-03-08 09:10:09.000000000 +0200
+++ devil-1.7.8/src-IL/src/il_icon.c 2010-01-17 00:54:09.000000000 +0200
@@ -525,7 +525,7 @@
// Expand low-bit-depth grayscale images to 8 bits
if (ico_color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
- png_set_gray_1_2_4_to_8(ico_png_ptr);
+ png_set_expand_gray_1_2_4_to_8(ico_png_ptr);
}
// Expand RGB images with transparency to full alpha channels
diff -Nur devil-1.7.8.orig/src-IL/src/il_png.c devil-1.7.8/src-IL/src/il_png.c
--- devil-1.7.8.orig/src-IL/src/il_png.c 2009-03-08 09:10:09.000000000 +0200
+++ devil-1.7.8/src-IL/src/il_png.c 2010-01-17 00:55:26.000000000 +0200
@@ -105,7 +105,7 @@
Read = iread(Signature, 1, 8);
iseek(-Read, IL_SEEK_CUR);
- return png_check_sig(Signature, 8);
+ return png_sig_cmp(Signature, 0, 8) == 0;
}
@@ -278,7 +278,7 @@
// Expand low-bit-depth grayscale images to 8 bits
if (png_color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
- png_set_gray_1_2_4_to_8(png_ptr);
+ png_set_expand_gray_1_2_4_to_8(png_ptr);
}
// Expand RGB images with transparency to full alpha channels

5
silly/ChangeLog Normal file
View File

@ -0,0 +1,5 @@
2010-01-19 Eric Belanger <eric@archlinux.org>
* silly 0.1.0-4
* Rebuilt for libpng 1.4 and libjpeg 8
* Added ChangeLog

28
silly/PKGBUILD Normal file
View File

@ -0,0 +1,28 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=silly
pkgver=0.1.0
pkgrel=1
pkgdesc="Simple Image Loading LibrarY, a part of the CEGUI project"
arch=('i686' 'x86_64')
url="http://www.cegui.org.uk/wiki/index.php/SILLY"
license=('MIT')
depends=('libjpeg' 'libpng' 'gcc-libs')
options=('!libtool')
source=(http://downloads.sourceforge.net/crayzedsgui/SILLY-${pkgver}.tar.gz)
md5sums=('c3721547fced7792a36ffc9ce6ec23fd')
sha1sums=('ef5c8ed6c5c57d7d792dbb9e02006c3770334869')
build() {
cd "${srcdir}/SILLY-${pkgver}"
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" || return 1
}

26
tsocks/PKGBUILD Normal file
View File

@ -0,0 +1,26 @@
#
# Platform Packages for Chakra, part of chakra-project.org
#
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=tsocks
pkgver=1.8beta5
pkgrel=1
pkgdesc="A transparent SOCKS proxying library"
arch=('i686' 'x86_64')
arch=(i686 x86_64)
url="http://tsocks.sourceforge.net"
license=("GPL")
depends=('glibc')
source=(http://downloads.sourceforge.net/tsocks/tsocks-$pkgver.tar.gz)
md5sums=('51caefd77e5d440d0bbd6443db4fc0f8')
build() {
cd $startdir/src/tsocks-1.8
./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --libdir=/usr/lib || return 1
make || return 1
make DESTDIR=$startdir/pkg install || return 1
}