summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/ffmpeg-static/PKGBUILD61
-rw-r--r--pcr/gimp-toolset-gps/PKGBUILD51
-rw-r--r--pcr/libav-builder/PKGBUILD48
-rw-r--r--pcr/libav/PKGBUILD39
4 files changed, 68 insertions, 131 deletions
diff --git a/pcr/ffmpeg-static/PKGBUILD b/pcr/ffmpeg-static/PKGBUILD
deleted file mode 100644
index 1e5634fb6..000000000
--- a/pcr/ffmpeg-static/PKGBUILD
+++ /dev/null
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer : Ionut Biru <ibiru@archlinux.org>
-# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-# Contributor: Paul Mattal <paul@archlinux.org>
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
-
-pkgname=ffmpeg-static
-pkgver=1.0
-pkgrel=2
-epoch=1
-pkgdesc='Complete and free Internet live audio and video broadcasting solution for GNU/Linux, with static library'
-arch=(i686 x86_64 mips64el)
-url=http://${pkgname%-static}.org/
-license=(GPL)
-depends=(alsa-lib bzip2 gsm lame libpulse libtheora libva libvorbis libvpx opencore-amr openjpeg rtmpdump schroedinger sdl speex v4l-utils x264 xvidcore zlib)
-makedepends=(yasm libvdpau)
-provides=(${pkgname%-static})
-conflicts=(${pkgname%-static})
-source=(http://${pkgname%-static}.org/releases/${pkgname%-static}-$pkgver.tar.bz2)
-md5sums=(3ed526cea20c1bffb5a37f7730f710bd)
-
-build() {
- cd ${pkgname%-static}-$pkgver
-
- ./configure \
- --prefix=/usr \
- --enable-libmp3lame \
- --enable-libvorbis \
- --enable-libxvid \
- --enable-libx264 \
- --enable-libvpx \
- --enable-libtheora \
- --enable-libgsm \
- --enable-libspeex \
- --enable-postproc \
- --enable-shared \
- --enable-x11grab \
- --enable-libopencore_amrnb \
- --enable-libopencore_amrwb \
- --enable-libschroedinger \
- --enable-libopenjpeg \
- --enable-librtmp \
- --enable-libpulse \
- --enable-libv4l2 \
- --enable-gpl \
- --enable-version3 \
- --enable-runtime-cpudetect \
- --disable-debug \
- --enable-static
- make
- make tools/qt-faststart
- make doc/ff{mpeg,play,server}.1
-}
-
-package() {
- cd ${pkgname%-static}-$pkgver
- make DESTDIR="$pkgdir" install install-man
- install -D -m755 tools/qt-faststart "$pkgdir/usr/bin/qt-faststart"
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/pcr/gimp-toolset-gps/PKGBUILD b/pcr/gimp-toolset-gps/PKGBUILD
new file mode 100644
index 000000000..a74d6d928
--- /dev/null
+++ b/pcr/gimp-toolset-gps/PKGBUILD
@@ -0,0 +1,51 @@
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+pkgname=gimp-toolset-gps
+_pkgname=${pkgname:13}
+_reqname=${pkgname::4}
+pkgver=2.0
+_pkgver=${pkgver/./_}
+pkgrel=1
+_pkgsrc1=${_pkgname^^}%20$_pkgver%20final
+_pkgsrc2=${_pkgname^^}%20extras
+pkgdesc='GIMP Paint Studio is a collection of brushes and accompanying tool presets. highly useful feature of the GIMP.'
+arch=any
+license=(
+ GPL2
+ CCPL:by-sa
+)
+url=https://code.google.com/p/$_pkgname-gimp-paint-studio
+depends=gimp
+makedepends=unzip-libre
+noextract=(
+ $_pkgsrc1.zip
+ $_pkgsrc2.zip
+)
+source=(
+ https://$_pkgname-gimp-paint-studio.googlecode.com/files/$_pkgsrc1.zip
+ https://$_pkgname-gimp-paint-studio.googlecode.com/files/$_pkgsrc2.zip
+)
+sha512sums=(
+ b06016eab194db7862590940c6fb7e9c14bbb6d3ce83c2b85293da2c75ecf8b9e64585a38f749da36d63e2711a25a0073415568f10be4b997120d93ba2b5c112
+ c3ef322898299bde60f2c8e29ebdd5fa47236f6b2859bf5d3d01a92290e1ad888ba71b0813f7325921c87bf57632cf794da31e8ccab0c46cb020be52d2c1135f
+)
+
+prepare() {
+ a=$srcdir/$_pkgname-$pkgver
+ mkdir $a
+ unzip $srcdir/$_pkgsrc1.zip -d $a
+ unzip $srcdir/$_pkgsrc2.zip -d $a
+ # drop useless splashes
+ rm -v $a/splashes/* && rmdir -v $a/splashes
+ # fix perm for custom umask
+ find $srcdir/$_pkgname-$pkgver -type d -exec chmod 0755 -R {} \; &&\
+ find $srcdir/$_pkgname-$pkgver -type f -exec chmod 0644 -R {} \;
+}
+
+package() {
+ b=$pkgdir/usr/share/gimp/2.0
+ install -d $b
+ cp -va $srcdir/$_pkgname-$pkgver/* $b
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/libav-builder/PKGBUILD b/pcr/libav-builder/PKGBUILD
deleted file mode 100644
index 5f7168f86..000000000
--- a/pcr/libav-builder/PKGBUILD
+++ /dev/null
@@ -1,48 +0,0 @@
-# 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=9.3
-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/libav/PKGBUILD b/pcr/libav/PKGBUILD
index 05dd756c0..23f03db2d 100644
--- a/pcr/libav/PKGBUILD
+++ b/pcr/libav/PKGBUILD
@@ -1,11 +1,7 @@
-# $Id$
-# Maintainer : Ionut Biru <ibiru@archlinux.org>
-# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-# Contributor: Paul Mattal <paul@archlinux.org>
# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
static=false
-pkgbase=libav
+_pkgname=libav
if [[ $static == true ]] || [[ $static == 1 ]] || [[ $static == enable ]]; then
pkgname=libav-static
pkgflag=-static
@@ -13,7 +9,7 @@ if [[ $static == true ]] || [[ $static == 1 ]] || [[ $static == enable ]]; then
elif [[ $static == false ]] || [[ $static == 0 ]] || [[ $static == disable ]]; then
pkgname=libav
fi
-pkgver=9.3
+pkgver=9.7
pkgrel=1
pkgdesc="Complete and free Internet live audio and video broadcasting solution for GNU/Linux$staticdesc"
arch=(
@@ -21,10 +17,8 @@ arch=(
x86_64
mips64el
)
-url="http://$pkgbase.org/"
-license=(
- GPL
-)
+url=http://$_pkgname.org/
+license=GPL3
depends=(
alsa-lib
bzip2
@@ -37,7 +31,8 @@ depends=(
libvorbis
libvpx
opencore-amr
- openjpeg
+ #openjpeg
+ opus
rtmpdump
schroedinger
sdl
@@ -50,30 +45,29 @@ makedepends=(
yasm
libvdpau
)
-source=(
- http://$pkgbase.org/releases/$pkgbase-$pkgver.tar.gz
-)
-sha512sums=(
- de3aaa571fed67d22ec2a0c53599af56684afa38445cf67fd09d26c23eeded5a184d045f472d414815d17783b421f937fd3d9565637e20f2050aaaf0081164fe
-)
+source=http://$_pkgname.org/releases/$_pkgname-$pkgver.tar.gz
+sha512sums=6a446e8dceb9ee4f1fb7a7d68d254086990bbcab5b1014598b21c75e0add22dab47c30a95bc3129835cc40a8d32de9c61fb267b2fa2aa9353dbbfc4b716767e4
build() {
- cd $pkgbase-$pkgver
+ cd $_pkgname-$pkgver
[[ $static == false ]] && sttcv=disable || sttcv=enable
- ./configure\
+ setarch $CARCH ./configure\
--prefix=/opt/$pkgname\
--disable-debug\
--$sttcv-static\
--enable-avresample\
+ --enable-avserver\
+ --enable-dxva2\
--enable-gpl\
--enable-libfreetype\
--enable-libgsm\
--enable-libmp3lame\
--enable-libopencore_amrnb\
--enable-libopencore_amrwb\
- --enable-libopenjpeg\
+ --disable-libopenjpeg\
+ --enable-libopus\
--enable-libpulse\
--enable-librtmp\
--enable-libschroedinger\
@@ -87,14 +81,13 @@ build() {
--enable-shared\
--enable-version3\
--enable-x11grab
-
setarch $CARCH make
setarch $CARCH make tools/qt-faststart
setarch $CARCH make doc/av{conv,play,server}.1
}
package() {
- cd $pkgbase-$pkgver
+ cd $_pkgname-$pkgver
setarch $CARCH make DESTDIR=$pkgdir install install-man
install -m755 -d $pkgdir/etc/ld.so.conf.d
install -m755 -d $pkgdir/usr/bin
@@ -103,10 +96,12 @@ package() {
ln -s /opt/$pkgname/bin/avconv $pkgdir/usr/bin/avconv$pkgflag
ln -s /opt/$pkgname/bin/avplay $pkgdir/usr/bin/avplay$pkgflag
ln -s /opt/$pkgname/bin/avprobe $pkgdir/usr/bin/avprobe$pkgflag
+ ln -s /opt/$pkgname/bin/avserver $pkgdir/usr/bin/avserver$pkgflag
ln -s /opt/$pkgname/bin/qt-faststart $pkgdir/usr/bin/qt-faststart-$pkgname
ln -s /opt/$pkgname/share/man/man1/avconv.1 $pkgdir/usr/share/man/man1/avconv$pkgflag.1
ln -s /opt/$pkgname/share/man/man1/avplay.1 $pkgdir/usr/share/man/man1/avplay$pkgflag.1
ln -s /opt/$pkgname/share/man/man1/avprobe.1 $pkgdir/usr/share/man/man1/avprobe$pkgflag.1
+ ln -s /opt/$pkgname/share/man/man1/avserver.1 $pkgdir/usr/share/man/man1/avserver$pkgflag.1
echo /opt/libav$pkgflag/lib > $pkgdir/etc/ld.so.conf.d/libav$pkgflag.conf
}