summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-01-02 16:04:44 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-01-02 16:04:44 -0200
commit1bf5038b88434788f223abbfe4d40711980662f8 (patch)
tree820b68fff118e27405a8265e929539f133183a42
parent018aa5ccf0a2fdd350d7cfe2f2022e4ed8290429 (diff)
parent593a1335dd0bb92ac9f1e2a7a2ca12b3b3f06cd5 (diff)
downloadabslibre-1bf5038b88434788f223abbfe4d40711980662f8.tar.gz
abslibre-1bf5038b88434788f223abbfe4d40711980662f8.tar.bz2
abslibre-1bf5038b88434788f223abbfe4d40711980662f8.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
-rw-r--r--pcr/chm2pdf/PKGBUILD22
-rw-r--r--pcr/emacs-newlisp/PKGBUILD24
-rw-r--r--pcr/emacs-newlisp/emacs-newlisp.install26
-rw-r--r--pcr/libav-builder/PKGBUILD48
-rw-r--r--pcr/luabind/PKGBUILD53
-rw-r--r--pcr/luabind/luabind_boost.patch59
-rw-r--r--pcr/mosquitto/PKGBUILD34
-rw-r--r--pcr/newlisp/PKGBUILD26
-rw-r--r--pcr/newlisp/newlisp.install20
-rw-r--r--pcr/python2-renpy/ChangeLog32
-rw-r--r--pcr/python2-renpy/PKGBUILD66
11 files changed, 410 insertions, 0 deletions
diff --git a/pcr/chm2pdf/PKGBUILD b/pcr/chm2pdf/PKGBUILD
new file mode 100644
index 000000000..16586e732
--- /dev/null
+++ b/pcr/chm2pdf/PKGBUILD
@@ -0,0 +1,22 @@
+# Contributor: Rodrigo Coacci <rcoacci@gmail.com>
+# Contributor: fes0
+# Maintainer : Parabola GNU / Linux-libre Aurélien Desbrières <aurelien@cwb.IO>
+
+pkgname=chm2pdf
+pkgver=0.9.1
+pkgrel=1
+pkgdesc="A simple Python script that converts CHM files into PDF files."
+arch=('any')
+license=('GPL2')
+url="http://code.google.com/p/chm2pdf/"
+depends=('chmlib' 'python2' 'python2-pychm' 'htmldoc')
+optdepends=('beautiful-soup: A Python HTML/XML parser designed for quick turnaround projects like screen-scraping')
+source=('http://chm2pdf.googlecode.com/files/chm2pdf-0.9.1.tar.gz')
+
+
+build() {
+ sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $srcdir/$pkgname-$pkgver/chm2pdf
+ cd $srcdir/$pkgname-$pkgver
+ python2 setup.py install --root=$startdir/pkg
+}
+
diff --git a/pcr/emacs-newlisp/PKGBUILD b/pcr/emacs-newlisp/PKGBUILD
new file mode 100644
index 000000000..25dcbc219
--- /dev/null
+++ b/pcr/emacs-newlisp/PKGBUILD
@@ -0,0 +1,24 @@
+# Contributor: Jan Kròávek <wamba@centrum.cz>
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@cwb.IO>
+
+pkgname=emacs-newlisp
+pkgver=0.25
+pkgrel=5
+arch=('any')
+pkgdesc="Emacs mode for Newlisp."
+url="http://artfulcode.net/projects"
+depends=('emacs')
+makedepends=('unzip')
+license=('GPL')
+source=(http://www.artfulcode.net/wp-content/uploads/2008/12/newlisp-mode.zip)
+noextract=newlisp-mode.zip
+install=emacs-newlisp.install
+
+build() {
+ cd $srcdir
+ unzip -quo newlisp-mode.zip || return 1
+ cd $srcdir/newlisp-mode || return 1
+ install -d $pkgdir/usr/share/emacs/site-lisp/newlisp-mode
+ install -Dm644 *.el $pkgdir/usr/share/emacs/site-lisp/newlisp-mode
+}
diff --git a/pcr/emacs-newlisp/emacs-newlisp.install b/pcr/emacs-newlisp/emacs-newlisp.install
new file mode 100644
index 000000000..640e19d16
--- /dev/null
+++ b/pcr/emacs-newlisp/emacs-newlisp.install
@@ -0,0 +1,26 @@
+# vim: set ft=sh:
+post_install() {
+ echo "
+=> Autoloading:
+ ------------
+ In your .emacs or .init.el
+ (add-to-list 'load-path (expand-file-name \"/usr/share/emacs/site-lisp/newlisp-mode\"))
+ (add-to-list 'auto-mode-alist '(\"\\\\.lsp\\\\'\" . newlisp-mode))
+ (autoload 'newlisp-mode \"newlisp\" \"Turn on NewLisp mode\" t)
+ (turn-on-font-lock)
+
+=> Newlisp is started with the Emacs command M-x newlisp-mode."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install
+}
+
+op=$1
+shift
+
+$op $*
diff --git a/pcr/libav-builder/PKGBUILD b/pcr/libav-builder/PKGBUILD
new file mode 100644
index 000000000..372243b2a
--- /dev/null
+++ b/pcr/libav-builder/PKGBUILD
@@ -0,0 +1,48 @@
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+static=false
+pkgbase=libav
+if [[ $static == true ]] || [[ $static == 1 ]] || [[ $static == enable ]]; then
+ pkgname=libav-static-builder
+elif [[ $static == false ]] || [[ $static == 0 ]] || [[ $static == disable ]]; then
+ pkgname=libav-builder
+fi
+pkgflag=builder
+pkgver=0.8.4
+pkgrel=1
+pkgdesc="Link files on /usr/include and /usr/lib dir (ONLY FOR BUILD OTHERS PACKAGES)"
+arch=any
+url="http://$pkgbase.org/"
+license=GPL
+depends=${pkgname%-$pkgflag}=$pkgver
+conflicts=(
+ ffmpeg
+ ffmpeg-static
+)
+if [[ $static == true ]] || [[ $static == 1 ]] || [[ $static == enable ]]; then
+ conflicts+=(
+ ${pkgname%-static-$pkgflag}
+ )
+elif [[ $static == false ]] || [[ $static == 0 ]] || [[ $static == disable ]]; then
+ conflicts+=(
+ ${pkgname%-$pkgflag}-static
+ )
+fi
+
+package() {
+ install -m755 -d $pkgdir/usr/{include,lib{,/pkgconfig}}
+ include_list=$(ls /opt/${pkgname%-$pkgflag}/include)
+ for i in $include_list; do
+ ln -s /opt/${pkgname%-$pkgflag}/include/$i $pkgdir/usr/include
+ done
+ lib_list=$(ls /opt/${pkgname%-$pkgflag}/lib | grep lib)
+ for l in $lib_list; do
+ ln -s /opt/${pkgname%-$pkgflag}/lib/$l $pkgdir/usr/lib
+ done
+ pkgconfig_list=$(ls /opt/${pkgname%-$pkgflag}/lib/pkgconfig)
+ for c in $pkgconfig_list; do
+ ln -s /opt/${pkgname%-$pkgflag}/lib/pkgconfig/$c $pkgdir/usr/lib/pkgconfig
+ done
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/luabind/PKGBUILD b/pcr/luabind/PKGBUILD
new file mode 100644
index 000000000..da47f927b
--- /dev/null
+++ b/pcr/luabind/PKGBUILD
@@ -0,0 +1,53 @@
+# $Id: PKGBUILD 78820 2012-10-25 06:47:28Z foutrelis $
+# Maintainer: Jakob Gruber <jakob.gruber@gmail.com>
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: rayte <rabyte.at.gmail.dot.com>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+pkgname=luabind
+pkgver=0.9.1
+pkgrel=3
+pkgdesc='A library that helps you create bindings between C++ and Lua'
+arch=(
+ i686
+ x86_64
+ mips64el
+)
+url="http://www.rasterbar.com/products/$pkgname.html"
+license=MIT
+makedepends=(
+ boost
+ boost-build
+ unzip
+)
+depends=(
+ gcc-libs
+ lua51
+)
+source=(
+ "http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+ ${pkgname}_boost.patch
+)
+md5sums=(
+ 8a323fb51d07dad5cfdb12c432793d55
+ d62ae6fc635300bc659df9dbb587ac53
+)
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ patch -Np1 -i $srcdir/${pkgname}_boost.patch
+
+ # build luabind
+ setarch $CARCH bjam release --prefix=$pkgdir/usr link=static,shared
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+
+ setarch $CARCH bjam release --prefix=$pkgdir/usr link=static,shared install
+
+ # copy license
+ install -Dm644 $srcdir/$pkgname-$pkgver/LICENSE \
+ $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
diff --git a/pcr/luabind/luabind_boost.patch b/pcr/luabind/luabind_boost.patch
new file mode 100644
index 000000000..92e32828a
--- /dev/null
+++ b/pcr/luabind/luabind_boost.patch
@@ -0,0 +1,59 @@
+diff --git luabind-0.9.1/luabind/detail/call_function.hpp luabind-0.9.1-fixed/luabind/detail/call_function.hpp
+index 1b45ec1..8f5afff 100644
+--- luabind-0.9.1/luabind/detail/call_function.hpp
++++ luabind-0.9.1-fixed/luabind/detail/call_function.hpp
+@@ -323,7 +323,8 @@ namespace luabind
+
+ #endif // LUABIND_CALL_FUNCTION_HPP_INCLUDED
+
+-#elif BOOST_PP_ITERATION_FLAGS() == 1
++#else
++#if BOOST_PP_ITERATION_FLAGS() == 1
+
+ #define LUABIND_TUPLE_PARAMS(z, n, data) const A##n *
+ #define LUABIND_OPERATOR_PARAMS(z, n, data) const A##n & a##n
+@@ -440,4 +441,5 @@ namespace luabind
+
+
+ #endif
++#endif
+
+diff --git luabind-0.9.1/luabind/detail/call_member.hpp luabind-0.9.1-fixed/luabind/detail/call_member.hpp
+index de8d563..e63555b 100644
+--- luabind-0.9.1/luabind/detail/call_member.hpp
++++ luabind-0.9.1-fixed/luabind/detail/call_member.hpp
+@@ -316,7 +316,8 @@ namespace luabind
+
+ #endif // LUABIND_CALL_MEMBER_HPP_INCLUDED
+
+-#elif BOOST_PP_ITERATION_FLAGS() == 1
++#else
++#if BOOST_PP_ITERATION_FLAGS() == 1
+
+ #define LUABIND_TUPLE_PARAMS(z, n, data) const A##n *
+ #define LUABIND_OPERATOR_PARAMS(z, n, data) const A##n & a##n
+@@ -360,4 +361,5 @@ namespace luabind
+ #undef LUABIND_TUPLE_PARAMS
+
+ #endif
++#endif
+
+diff --git luabind-0.9.1/luabind/wrapper_base.hpp luabind-0.9.1-fixed/luabind/wrapper_base.hpp
+index d54c668..0f88cc5 100755
+--- luabind-0.9.1/luabind/wrapper_base.hpp
++++ luabind-0.9.1-fixed/luabind/wrapper_base.hpp
+@@ -89,7 +89,8 @@ namespace luabind
+
+ #endif // LUABIND_WRAPPER_BASE_HPP_INCLUDED
+
+-#elif BOOST_PP_ITERATION_FLAGS() == 1
++#else
++#if BOOST_PP_ITERATION_FLAGS() == 1
+
+ #define LUABIND_TUPLE_PARAMS(z, n, data) const A##n *
+ #define LUABIND_OPERATOR_PARAMS(z, n, data) const A##n & a##n
+@@ -188,3 +189,4 @@ namespace luabind
+ #undef N
+
+ #endif
++#endif
diff --git a/pcr/mosquitto/PKGBUILD b/pcr/mosquitto/PKGBUILD
new file mode 100644
index 000000000..0a7209f0b
--- /dev/null
+++ b/pcr/mosquitto/PKGBUILD
@@ -0,0 +1,34 @@
+# This is the PKGBUILD for mosquitto, an MQTT broker and example clients
+# Maintainer: Dan Anderson <dan-anderson@cox.net>
+# Contributor: Gordon JC Pearce <gordon@gjcp.net>
+
+pkgname=mosquitto
+pkgver=1.1
+pkgrel=1
+pkgdesc="An MQTT broker and clients"
+arch=(i686 x86_64 mips64el)
+url="http://mosquitto.org/"
+makedepends=('python')
+optdepends=('python: python support')
+license=('BSD')
+source=(http://mosquitto.org/files/source/$pkgname-$pkgver.tar.gz{,.asc})
+md5sums=('ab51f64eb3f0041402073aa7865f3ec4'
+ '76fbc38a2eb0b8110caf7ac1f43d4057')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+# Remove hardcoded prefix
+ find -name Makefile -exec sed '/prefix=/d' -i {} \;
+
+ make prefix=/usr
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make prefix=/usr DESTDIR="$pkgdir/" install
+
+ install -Dm644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
+ install -Dm644 LICENSE-3rd-party.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE-3rd-party
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/newlisp/PKGBUILD b/pcr/newlisp/PKGBUILD
new file mode 100644
index 000000000..a53106390
--- /dev/null
+++ b/pcr/newlisp/PKGBUILD
@@ -0,0 +1,26 @@
+# Contributor: scrawler <scrawler@gmail.com>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@cwb.IO>
+
+pkgname=newlisp
+pkgver=10.4.5
+pkgrel=1
+pkgdesc="newLISP is a LISP like, general purpose scripting language."
+url="http://www.newlisp.org"
+license=('GPL')
+arch=('x86_64' 'i686')
+depends=('readline')
+optdepends=('openjdk6')
+options=('docs')
+source=(http://newlisp.org/downloads/$pkgname-$pkgver.tgz)
+install=$pkgname.install
+
+build() {
+cd $srcdir/$pkgname-$pkgver
+./configure
+[ $CARCH = "x86_64" ] && make -f makefile_linuxLP64_utf8
+[ $CARCH = "i686" ] && make -f makefile_linux_utf8
+install -d $pkgdir/usr/bin
+install -d $pkgdir/usr/share/man/man1
+make bindir=$pkgdir/usr/bin mandir=$pkgdir/usr/share/man \
+datadir=$pkgdir/usr/share install
+}
diff --git a/pcr/newlisp/newlisp.install b/pcr/newlisp/newlisp.install
new file mode 100644
index 000000000..2c7fd8481
--- /dev/null
+++ b/pcr/newlisp/newlisp.install
@@ -0,0 +1,20 @@
+pre_install() {
+ rm /usr/bin/newlisp
+}
+
+post_install() {
+ ln -sf /usr/bin/newlisp-10.4.5 /usr/bin/newlisp
+}
+
+pre_upgrade() {
+[[ -f /usr/bin/newlisp ]] && rm /usr/bin/newlisp
+}
+
+post_upgrade() {
+ ln -sf /usr/bin/newlisp-10.4.5 /usr/bin/newlisp
+}
+
+pre_remove() {
+[[ -f /usr/bin/newlisp ]] && rm /usr/bin/newlisp
+}
+
diff --git a/pcr/python2-renpy/ChangeLog b/pcr/python2-renpy/ChangeLog
new file mode 100644
index 000000000..0a357d3db
--- /dev/null
+++ b/pcr/python2-renpy/ChangeLog
@@ -0,0 +1,32 @@
+2012-28-07 AlexanderR <alexanderr at gmx dot com>
+
+ * 6.14.1-1 :
+ new upstream release.
+ added renpy.diff.
+
+2012-22-07 AlexanderR <alexanderr at gmx dot com>
+
+ * 6.13.12-3 :
+ fixed build with latest ffmpeg at cost of sound.
+
+2012-26-04 AlexanderR <alexanderr at gmx dot com>
+
+ * 6.13.12-2 :
+ moved python-pygame from makedepends to depends.
+
+2012-20-04 AlexanderR <alexanderr at gmx dot com>
+
+ * 6.13.12-1 :
+ new upstream release.
+
+2012-07-04 AlexanderR <alexanderr at gmx dot com>
+
+ * 6.13.11-1 :
+ new upstream release.
+ moved python-pygame dependency form renpy to python-renpy.
+
+2011-22-03 AlexanderR <alexanderr at gmx dot com>
+
+ * 16.13.9-2 :
+ added ChangeLog.
+ fixed corrupted images, caused by gcc optimization.
diff --git a/pcr/python2-renpy/PKGBUILD b/pcr/python2-renpy/PKGBUILD
new file mode 100644
index 000000000..4d6611548
--- /dev/null
+++ b/pcr/python2-renpy/PKGBUILD
@@ -0,0 +1,66 @@
+# Maintainer: AlexanderR <rvacheva at nxt dot ru>
+# Contributor: zhn <zhangn1985 AT gmail com>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+pkgname=python2-renpy
+pkgflag=renpy
+pkgver=6.14.1
+pkgrel=3
+pkgdesc="Platform-dependant Ren'Py libraries."
+arch=(
+ i686
+ x86_64
+ mips64el
+)
+license=MIT
+url="http://www.$pkgflag.org/"
+depends=(
+ fribidi
+ glew
+ libav
+ libgl
+ python2-pygame
+)
+# python-argparse is part of distribution since 2.7
+makedepends=(
+ cython2
+ libav-builder # to solve libav deps
+ mesa
+ 'python2>=2.7'
+)
+options=!buildflags
+provides="python-$pkgflag=$pkgver"
+conflicts=(
+ python-$pkgflag
+ "$pkgflag<$pkgver"
+ $pkgflag64
+ $pkgflag-bin
+)
+renplaces=python-$pkgflag
+changelog=ChangeLog
+source=(
+ "http://www.$pkgflag.org/dl/$pkgver/$pkgflag-$pkgver-source.tar.bz2"
+)
+
+md5sums=(
+ 16814530ba9ce1f2968bb8c8c785651b
+)
+
+build() {
+ cd $srcdir/$pkgflag-$pkgver-source
+
+ sed -i -e '
+ s#!/usr/bin/env python#!/usr/bin/env python2#;
+ ' module/setup.py
+
+ CFLAGS=-Os setarch $CARCH python2 module/setup.py build
+}
+
+package(){
+ cd $srcdir/$pkgflag-$pkgver-source
+
+ # install python2-$pkgflag
+ CFLAGS=-Os setarch $CARCH python2 module/setup.py install --root=$pkgdir/ --prefix=/usr --optimize=1
+ install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}