diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/avahi/PKGBUILD | 8 | ||||
-rw-r--r-- | extra/avahi/install | 13 | ||||
-rw-r--r-- | extra/ffmpeg/PKGBUILD | 24 | ||||
-rw-r--r-- | extra/ffmpeg/ffmpeg-2.1-avformat-http.fix-cookies.patch | 28 | ||||
-rw-r--r-- | extra/gssdp/PKGBUILD | 6 | ||||
-rw-r--r-- | extra/gupnp/PKGBUILD | 6 | ||||
-rw-r--r-- | extra/mpd/PKGBUILD | 31 | ||||
-rw-r--r-- | extra/mpd/conf | 7 |
8 files changed, 74 insertions, 49 deletions
diff --git a/extra/avahi/PKGBUILD b/extra/avahi/PKGBUILD index 0bcf22721..ed8eac791 100644 --- a/extra/avahi/PKGBUILD +++ b/extra/avahi/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 197872 2013-10-30 11:23:14Z allan $ -# Contributor: Douglas Soares de Andrade <douglas@archlinux.org> +# $Id: PKGBUILD 198641 2013-10-31 16:48:15Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> +# Contributor: Douglas Soares de Andrade <douglas@archlinux.org> pkgname=avahi pkgver=0.6.31 -pkgrel=10 +pkgrel=11 pkgdesc='Multicast/unicast DNS-SD framework' url='http://www.avahi.org/' license=('LGPL') @@ -41,6 +41,7 @@ prepare() { sed '/^Libs:/s:$: -ldbus-1:' -i avahi-client.pc.in sed 's:netdev:network:g' -i avahi-daemon/avahi-dbus.conf sed 's:/sbin/resolvconf:/usr/sbin/resolvconf:g' -i */*.action + sed 's:-DG[^ ]*_DISABLE_DEPRECATED=1::g' -i avahi-ui/Makefile.* } build() { @@ -54,7 +55,6 @@ build() { --sysconfdir=/etc \ --localstatedir=/var \ --sbindir=/usr/bin \ - --disable-static \ --disable-monodoc \ --enable-compat-libdns_sd \ --enable-compat-howl \ diff --git a/extra/avahi/install b/extra/avahi/install index d333389ee..d4ae23e71 100644 --- a/extra/avahi/install +++ b/extra/avahi/install @@ -1,18 +1,7 @@ post_install() { getent group avahi &>/dev/null || groupadd -r -g 84 avahi >/dev/null getent passwd avahi &>/dev/null || useradd -r -u 84 -g avahi -d / -s /bin/false -c avahi avahi >/dev/null - - cat <<EOF -==> The following daemons may be added to DAEMONS in /etc/rc.conf: -==> avahi-daemon: the mdns responder, you probably want this. -==> dbus needs to be running when you start it. -==> avahi-dnsconfd: daemon used for peer-to-peer automatic dns -==> configuration on dhcp-less networks. - -==> To use some of the client applications you will have to install python. -==> In addition, pygtk is required for the graphical ones and -==> twisted for avahi-bookmarks. -EOF + true } post_remove() { diff --git a/extra/ffmpeg/PKGBUILD b/extra/ffmpeg/PKGBUILD index 2fd2009b4..b6a02cb9d 100644 --- a/extra/ffmpeg/PKGBUILD +++ b/extra/ffmpeg/PKGBUILD @@ -1,15 +1,16 @@ -# $Id: PKGBUILD 197751 2013-10-29 17:42:37Z bpiotrowski $ -# Maintainer : Ionut Biru <ibiru@archlinux.org> +# $Id: PKGBUILD 198639 2013-10-31 16:28:32Z bpiotrowski $ +# Maintainer: Ionut Biru <ibiru@archlinux.org> +# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> # Contributor: Paul Mattal <paul@archlinux.org> pkgname=ffmpeg pkgver=2.1 -pkgrel=1 +pkgrel=2 epoch=1 -pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix" +pkgdesc='Complete and free Internet live audio and video broadcasting solution' arch=('i686' 'x86_64') -url="http://ffmpeg.org/" +url='http://ffmpeg.org/' license=('GPL') depends=( 'alsa-lib' 'bzip2' 'fontconfig' 'gnutls' 'gsm' 'lame' 'libass' @@ -18,8 +19,15 @@ depends=( 'v4l-utils' 'x264' 'xvidcore' 'zlib' ) makedepends=('libvdpau' 'yasm') -source=(http://ffmpeg.org/releases/$pkgname-$pkgver.tar.bz2) -sha256sums=('926603fd974e9b38071a5cfc6fd0d93857801d1968145dfce7fdc627ab1d68df') +source=(http://ffmpeg.org/releases/$pkgname-$pkgver.tar.bz2 + ffmpeg-2.1-avformat-http.fix-cookies.patch) +sha256sums=('926603fd974e9b38071a5cfc6fd0d93857801d1968145dfce7fdc627ab1d68df' + '0168bc6f77115ef6f3bd428b1b05a1543d0dd53d8d74c15a24879b119ce8655c') + +prepare() { + cd $pkgname-$pkgver + patch -p1 -i ../ffmpeg-2.1-avformat-http.fix-cookies.patch +} build() { cd $pkgname-$pkgver @@ -70,7 +78,7 @@ build() { package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install install-man - install -D -m755 tools/qt-faststart "$pkgdir/usr/bin/qt-faststart" + install -D -m755 tools/qt-faststart "$pkgdir"/usr/bin/qt-faststart } # vim:set ts=2 sw=2 et: diff --git a/extra/ffmpeg/ffmpeg-2.1-avformat-http.fix-cookies.patch b/extra/ffmpeg/ffmpeg-2.1-avformat-http.fix-cookies.patch new file mode 100644 index 000000000..7c826a3b8 --- /dev/null +++ b/extra/ffmpeg/ffmpeg-2.1-avformat-http.fix-cookies.patch @@ -0,0 +1,28 @@ +From b73900b8a6c0a23e63e84a5eed0a5b9b3ffe1198 Mon Sep 17 00:00:00 2001 +From: Michael Niedermayer <michaelni@gmx.at> +Date: Thu, 31 Oct 2013 01:42:13 +0100 +Subject: [PATCH] avformat/http: fix cookies + +Fixes Ticket3096 + +Signed-off-by: Michael Niedermayer <michaelni@gmx.at> +--- + libavformat/http.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libavformat/http.c b/libavformat/http.c +index c5b5c53..9be1181 100644 +--- a/libavformat/http.c ++++ b/libavformat/http.c +@@ -95,7 +95,7 @@ static const AVOption options[] = { + {"multiple_requests", "use persistent connections", OFFSET(multiple_requests), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, D|E }, + {"post_data", "set custom HTTP post data", OFFSET(post_data), AV_OPT_TYPE_BINARY, .flags = D|E }, + {"mime_type", "set MIME type", OFFSET(mime_type), AV_OPT_TYPE_STRING, {0}, 0, 0, 0 }, +-{"cookies", "set cookies to be sent in applicable future requests, use newline delimited Set-Cookie HTTP field value syntax", OFFSET(cookies), AV_OPT_TYPE_STRING, {0}, 0, 0, 0 }, ++{"cookies", "set cookies to be sent in applicable future requests, use newline delimited Set-Cookie HTTP field value syntax", OFFSET(cookies), AV_OPT_TYPE_STRING, {0}, 0, 0, D }, + {"icy", "request ICY metadata", OFFSET(icy), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, D }, + {"icy_metadata_headers", "return ICY metadata headers", OFFSET(icy_metadata_headers), AV_OPT_TYPE_STRING, {0}, 0, 0, 0 }, + {"icy_metadata_packet", "return current ICY metadata packet", OFFSET(icy_metadata_packet), AV_OPT_TYPE_STRING, {0}, 0, 0, 0 }, +-- +1.8.4.1 + diff --git a/extra/gssdp/PKGBUILD b/extra/gssdp/PKGBUILD index 8bf04bbba..5dd71a169 100644 --- a/extra/gssdp/PKGBUILD +++ b/extra/gssdp/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 198054 2013-10-30 12:31:30Z allan $ +# $Id: PKGBUILD 198636 2013-10-31 15:44:36Z heftig $ # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> # Contributor: György Balló <ballogy@freestart.hu> pkgname=gssdp -pkgver=0.14.5 +pkgver=0.14.6 pkgrel=1 pkgdesc="A GObject-based API for handling resource discovery and announcement over SSDP" arch=(i686 x86_64) @@ -13,7 +13,7 @@ depends=(libsoup) makedepends=(gobject-introspection gtk3 gtk-doc vala) optdepends=('gtk3: gssdp-device-sniffer') source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz) -sha256sums=('e847940a852c968d18c7ca044783e9b938c84c3b5f53978a29b636bf95c91af1') +sha256sums=('9acfdeb99080b165c34ea7c65fb909ea356b4550937972a73df5b69b419eeacd') build() { cd $pkgname-$pkgver diff --git a/extra/gupnp/PKGBUILD b/extra/gupnp/PKGBUILD index 41dc9258e..d4d35454c 100644 --- a/extra/gupnp/PKGBUILD +++ b/extra/gupnp/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 198091 2013-10-30 12:44:53Z allan $ +# $Id: PKGBUILD 198637 2013-10-31 15:45:29Z heftig $ # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> # Contributor: György Balló <ballogy@freestart.hu> pkgname=gupnp -pkgver=0.20.7 +pkgver=0.20.8 pkgrel=1 pkgdesc="An object-oriented UPNP framework" arch=(i686 x86_64) @@ -13,7 +13,7 @@ depends=(gssdp util-linux) makedepends=(gobject-introspection gtk-doc vala) optdepends=('python2: gupnp-binding-tool') source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz) -sha256sums=('ccfa6b04935d81bbcd4aa1f15b6dada977fb32386cf3b99c59a4166067ce3102') +sha256sums=('f70da127e0d35a7b8aecaf6f58b740bbb56836451be33d7aeb7979a5c131eac8') build() { cd $pkgname-$pkgver diff --git a/extra/mpd/PKGBUILD b/extra/mpd/PKGBUILD index c887f420c..51e32b721 100644 --- a/extra/mpd/PKGBUILD +++ b/extra/mpd/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 196535 2013-10-14 22:08:24Z bisson $ +# $Id: PKGBUILD 198643 2013-10-31 16:50:38Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: Angel Velasquez <angvp@archlinux.org> # Contributor: Andrea Scarpino <andrea@archlinux.org> @@ -6,7 +6,7 @@ # Contributor: Ben <ben@benmazer.net> pkgname=mpd -pkgver=0.17.6 +pkgver=0.18 pkgrel=1 pkgdesc='Flexible, powerful, server-side application for playing music' url='http://www.musicpd.org/' @@ -15,18 +15,19 @@ arch=('i686' 'x86_64') depends=('libao' 'ffmpeg' 'libmodplug' 'audiofile' 'libshout' 'libmad' 'curl' 'faad2' 'sqlite' 'jack' 'libmms' 'wavpack' 'avahi' 'libid3tag' 'yajl') makedepends=('doxygen') -source=("http://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" - 'tmpfiles.d') -sha1sums=('c8cea5cbf87ece252d15457d2249090e73a8d11f' - 'f4d5922abb69abb739542d8e93f4dfd748acdad7') +source=("http://www.musicpd.org/download/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz" + 'tmpfiles.d' + 'conf') +sha1sums=('e3cc99de0c2c595ca576cdb455c6aaedd4f7726a' + 'f4d5922abb69abb739542d8e93f4dfd748acdad7' + '67c145c046cddd885630d72ce8ebe71f8321ff3b') backup=('etc/mpd.conf') install=install prepare() { cd "${srcdir}/${pkgname}-${pkgver}" - sed 's:cdio/paranoia.h:cdio/paranoia/paranoia.h:g' -i src/input/cdio_paranoia_input_plugin.c - sed 's:AVCODEC_MAX_AUDIO_FRAME_SIZE:192000:g' -i src/decoder/ffmpeg_decoder_plugin.c + sed 's:cdio/paranoia.h:cdio/paranoia/paranoia.h:g' -i src/input/CdioParanoiaInputPlugin.cxx } build() { @@ -35,7 +36,6 @@ build() { --prefix=/usr \ --sysconfdir=/etc \ --enable-jack \ - --enable-lastfm \ --enable-soundcloud \ --enable-pipe-output \ --enable-pulse \ @@ -47,16 +47,9 @@ build() { package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install - install -d "${pkgdir}"/usr/lib/systemd/user - install -d -g 45 -o 45 "${pkgdir}"/var/lib/mpd/playlists - install -Dm644 doc/mpdconf.example "${pkgdir}"/etc/mpd.conf + install -Dm644 ../conf "${pkgdir}"/etc/mpd.conf install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/mpd.conf + install -d -g 45 -o 45 "${pkgdir}"/var/lib/mpd/playlists + install -d "${pkgdir}"/usr/lib/systemd/user ln -s ../system/mpd.service "${pkgdir}"/usr/lib/systemd/user/mpd.service - sed \ - -e '/^#playlist_directory/c playlist_directory "/var/lib/mpd/playlists"' \ - -e '/^#db_file/c db_file "/var/lib/mpd/mpd.db"' \ - -e '/^#pid_file/c pid_file "/run/mpd/mpd.pid"' \ - -e '/^#state_file/c state_file "/var/lib/mpd/mpdstate"' \ - -e '/^#user/c user "mpd"' \ - -i "${pkgdir}"/etc/mpd.conf } diff --git a/extra/mpd/conf b/extra/mpd/conf new file mode 100644 index 000000000..d23880eb5 --- /dev/null +++ b/extra/mpd/conf @@ -0,0 +1,7 @@ +# See: /usr/share/doc/mpd/mpdconf.example + +user "mpd" +pid_file "/run/mpd/mpd.pid" +db_file "/var/lib/mpd/mpd.db" +state_file "/var/lib/mpd/mpdstate" +playlist_directory "/var/lib/mpd/playlists" |