summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-12 00:04:35 +0000
committerroot <root@rshg054.dnsready.net>2012-07-12 00:04:35 +0000
commit00d32b0938eebfa45f0543cae655abf5233eb99c (patch)
tree7528e734c1f6f955da0baca5909906e797562c09 /community
parentb44e3e7f16abe5e4cb428571db65d300b7cc44be (diff)
Thu Jul 12 00:04:34 UTC 2012
Diffstat (limited to 'community')
-rw-r--r--community/iniparser/PKGBUILD6
-rw-r--r--community/lib32-mpg123/PKGBUILD36
-rw-r--r--community/minidlna/PKGBUILD12
-rw-r--r--community/minidlna/ffmpeg_0.11.diff16
-rw-r--r--community/sage-mathematics/PKGBUILD8
5 files changed, 66 insertions, 12 deletions
diff --git a/community/iniparser/PKGBUILD b/community/iniparser/PKGBUILD
index 78653a202..b5cfb92e6 100644
--- a/community/iniparser/PKGBUILD
+++ b/community/iniparser/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 69186 2012-04-10 02:19:29Z spupykin $
+# $Id: PKGBUILD 73573 2012-07-10 10:07:34Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Roman Kyrylych <Roman.Kyrylych@gmail.com>
# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
pkgname=iniparser
pkgver=3.1
-pkgrel=1
+pkgrel=2
pkgdesc="A free stand-alone ini file parsing library written in portable ANSI C"
arch=('i686' 'x86_64')
url="http://ndevilla.free.fr/iniparser/"
@@ -20,5 +20,7 @@ build() {
install -Dm644 src/iniparser.h $pkgdir/usr/include/iniparser.h
install -Dm644 src/dictionary.h $pkgdir/usr/include/dictionary.h
install -Dm644 libiniparser.a $pkgdir/usr/lib/libiniparser.a
+ install -Dm644 libiniparser.so.0 $pkgdir/usr/lib/libiniparser.so.0
install -Dm644 LICENSE $pkgdir/usr/share/licenses/iniparser/LICENSE
+ ln -sf libiniparser.so.0 $pkgdir/usr/lib/libiniparser.so
}
diff --git a/community/lib32-mpg123/PKGBUILD b/community/lib32-mpg123/PKGBUILD
new file mode 100644
index 000000000..80a486faa
--- /dev/null
+++ b/community/lib32-mpg123/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 73581 2012-07-10 16:06:46Z svenstaro $
+# Maintainer: Hugo Doria <hugo@archlinux.org>
+# Contributor: Giovanni Scafora <giovanni@archlinux.org>
+
+_pkgbasename=mpg123
+pkgname=lib32-$_pkgbasename
+pkgver=1.14.3
+pkgrel=1
+pkgdesc="A console based real time MPEG Audio Player for Layer 1, 2 and 3 (32-bit)"
+arch=('x86_64')
+url="http://sourceforge.net/projects/mpg123"
+license=('GPL2' 'LGPL2.1')
+depends=('lib32-glibc' 'lib32-libtool' 'lib32-alsa-lib' $_pkgbasename)
+makedepends=('lib32-sdl' gcc-multilib libtool-multilib)
+optdepends=('lib32-sdl: for additional audio support')
+options=('libtool')
+source=(http://downloads.sourceforge.net/sourceforge/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.bz2)
+md5sums=('443473ffae67b57bbf95c8ed63f0c7c9')
+
+build() {
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ cd "${srcdir}/${_pkgbasename}-${pkgver}"
+
+ ./configure --prefix=/usr --with-audio="alsa sdl" --with-cpu=i586 --libdir=/usr/lib32
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgbasename}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ rm -rf "${pkgdir}"/usr/{include,share,bin}
+}
diff --git a/community/minidlna/PKGBUILD b/community/minidlna/PKGBUILD
index dd36f4206..7bc761974 100644
--- a/community/minidlna/PKGBUILD
+++ b/community/minidlna/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 73526 2012-07-09 06:06:23Z spupykin $
+# $Id: PKGBUILD 73571 2012-07-10 08:51:06Z stativ $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer:Biginoz < biginoz AT free point fr>
# Contributor: Ignacio Galmarino <igalmarino@gmail.com>
@@ -7,12 +7,12 @@
pkgname=minidlna
pkgver=1.0.24
-pkgrel=5
+pkgrel=6
pkgdesc="A DLNA/UPnP-AV Media server (aka ReadyDLNA)"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/minidlna/"
license=('GPL')
-depends=('libexif' 'libjpeg' 'libid3tag' 'flac' 'libvorbis' 'ffmpeg-compat' 'sqlite')
+depends=('libexif' 'libjpeg' 'libid3tag' 'flac' 'libvorbis' 'ffmpeg' 'sqlite')
conflicts=('minidlna-cvs')
backup=('etc/minidlna.conf'
'etc/conf.d/minidlna')
@@ -21,16 +21,16 @@ source=(http://downloads.sourceforge.net/minidlna/minidlna_${pkgver}_src.tar.gz
minidlna.rc
minidlna.conf
minidlna.service
- ffmpeg-compat.patch)
+ ffmpeg_0.11.diff)
md5sums=('be9b4c91e3fcde592dc3f9828098ca0f'
'c9863d5703e0a8469cc200f2739567e7'
'af1b8c0fef9902f797b0324c255da5a1'
'1903ed9ceee43b8bb86146b9ad8eb50c'
- '310d66170f20d660e96f4c9709559ed1')
+ '1346e1d3d7d71db70ac46dcad96391b1')
build() {
cd "$srcdir/$pkgname-$pkgver"
- patch -p1 <$srcdir/ffmpeg-compat.patch
+ patch -Np1 <$srcdir/ffmpeg_0.11.diff || true
sed -i 's|DB_PATH=.*|DB_PATH=/var/cache/minidlna|' genconfig.sh
make
}
diff --git a/community/minidlna/ffmpeg_0.11.diff b/community/minidlna/ffmpeg_0.11.diff
new file mode 100644
index 000000000..f43831add
--- /dev/null
+++ b/community/minidlna/ffmpeg_0.11.diff
@@ -0,0 +1,16 @@
+diff -rup minidlna-1.0.24/metadata.c minidlna-1.0.24.new/metadata.c
+--- minidlna-1.0.24/metadata.c 2012-02-14 19:44:56.000000000 +0100
++++ minidlna-1.0.24.new/metadata.c 2012-07-10 10:28:01.373163002 +0200
+@@ -1514,10 +1548,10 @@ GetVideoMetadata(const char * path, char
+ {
+ if( ctx->metadata )
+ {
+- AVMetadataTag *tag = NULL;
++ AVDictionaryEntry *tag = NULL;
+
+ //DEBUG DPRINTF(E_DEBUG, L_METADATA, "Metadata:\n");
+- while( (tag = av_metadata_get(ctx->metadata, "", tag, AV_METADATA_IGNORE_SUFFIX)) )
++ while( (tag = av_dict_get(ctx->metadata, "", tag, AV_DICT_IGNORE_SUFFIX)) )
+ {
+ //DEBUG DPRINTF(E_DEBUG, L_METADATA, " %-16s: %s\n", tag->key, tag->value);
+ if( strcmp(tag->key, "title") == 0 )
diff --git a/community/sage-mathematics/PKGBUILD b/community/sage-mathematics/PKGBUILD
index aa68e7c98..437ee0aa5 100644
--- a/community/sage-mathematics/PKGBUILD
+++ b/community/sage-mathematics/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 73127 2012-07-02 04:22:14Z dwallace $
+# $Id: PKGBUILD 73587 2012-07-10 20:04:25Z dwallace $
# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
# Contributor: Antonio Rojas < nqn1976 @ gmail.com >
# Contributor: Thomas Dziedzic < gostrc at gmail >
@@ -7,8 +7,8 @@
# Special thanks to Nareto for moving the compile from the .install to the PKGBUILD
pkgname=sage-mathematics
-pkgver=5.0.1
-pkgrel=3
+pkgver=5.1
+pkgrel=1
pkgdesc='SAGE: Open Source Mathematics Software, a viable free alternative to Magma, Maple, Mathematica, and Matlab.'
url='http://www.sagemath.org'
arch=('i686' 'x86_64')
@@ -99,5 +99,5 @@ package() {
}
# vim :set ts=2 sw=2 et:
-md5sums=('1538dbcfac04482b3837ba06bb75f073'
+md5sums=('fa612f36387218d07b84f76995914c93'
'dc391f12b7d17dd37326343ec0e99bbd')