summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-05-18 03:52:05 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-05-18 03:52:05 +0000
commit423ae5a5a1cd103d57b8cb52279533b3011f42d8 (patch)
tree0816754beb383cc3d3b45b501150f48ea42b1377 /community
parent313040c7029fd0c36db63d7effbb974fd348389c (diff)
Sun May 18 03:42:25 UTC 2014
Diffstat (limited to 'community')
-rw-r--r--community/bind/PKGBUILD6
-rw-r--r--community/cmus/PKGBUILD29
-rw-r--r--community/cmus/cdio-git.patch137
-rw-r--r--community/cmus/cmus-2.5.0-opus-support.patch417
-rw-r--r--community/envoy/PKGBUILD6
-rw-r--r--community/mongodb/PKGBUILD25
-rw-r--r--community/plib/PKGBUILD6
-rw-r--r--community/quassel/PKGBUILD6
-rw-r--r--community/springlobby/PKGBUILD6
9 files changed, 39 insertions, 599 deletions
diff --git a/community/bind/PKGBUILD b/community/bind/PKGBUILD
index e7fbb4951..51c7de91f 100644
--- a/community/bind/PKGBUILD
+++ b/community/bind/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 111270 2014-05-15 22:26:04Z seblu $
+# $Id: PKGBUILD 111392 2014-05-17 21:38:15Z seblu $
# Maintainer: Sébastien Luttringer
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
@@ -7,7 +7,7 @@
pkgname=bind
_pkgver=9.10.0-P1
pkgver=${_pkgver//-/.}
-pkgrel=2
+pkgrel=4
pkgdesc='The ISC BIND nameserver'
url='http://www.isc.org/software/bind/'
license=('custom:ISC')
@@ -47,6 +47,8 @@ prepare() {
build() {
cd bind-$_pkgver
+ # for gcc 4.8 rebuild
+ export CFLAGS="-march=${CARCH/_/-} -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
diff --git a/community/cmus/PKGBUILD b/community/cmus/PKGBUILD
index 5eb58b8df..956666f52 100644
--- a/community/cmus/PKGBUILD
+++ b/community/cmus/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 110084 2014-04-23 20:55:16Z xyne $
+# $Id: PKGBUILD 111361 2014-05-17 12:40:21Z xyne $
# Maintainer: Xyne <ca dot archlinux at xyne, backwards>
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Aaron Griffin <aaron@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
pkgname=cmus
-pkgver=2.5.0
-pkgrel=7
+pkgver=2.5.1
+pkgrel=1
pkgdesc='Very feature-rich ncurses-based music player'
arch=('i686' 'x86_64')
url="https://cmus.github.io/"
@@ -30,32 +30,17 @@ optdepends=('alsa-lib: for ALSA output plugin support'
'libcdio-paranoia: for cdio support'
'opusfile: for opus input plugin support'
'wavpack: for wavpack input plugin support')
-source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-v$pkgver.tar.bz2
- cmus-2.5.0-opus-support.patch
- cdio-git.patch)
-sha1sums=('244975a5ff642567acb047f6bd518e4a3271c25b'
- '5e524f54d565dfa30760562c223bc0e2e8ed00a0'
- '77738acc7d4e71f6d396a5cd464dbbce0168b6b7')
-
-prepare() {
- cd "$srcdir/$pkgname-v$pkgver"
- # Inherited from Bart or earlier.
- patch -Np1 -i "$srcdir/cmus-2.5.0-opus-support.patch"
- # Include changes from git for compatibility with new cdio.
- patch -N -i "$srcdir/cdio-git.patch"
-
- # Quick fix for modplug header.
- sed -i 's@<modplug.h>@<libmodplug/modplug.h>@' "$srcdir/$pkgname-v$pkgver/modplug.c"
-}
+source=("https://github.com/cmus/cmus/archive/v${pkgver}.tar.gz")
+sha256sums=('2c22b12eb2e2d038b64e8db804d4dc037ac68cbd3a398b3e405c2d0ce5c15229')
build() {
- cd "$srcdir/$pkgname-v$pkgver"
+ cd "$srcdir/$pkgname-$pkgver"
./configure prefix=/usr
make
}
package() {
- cd "$srcdir/$pkgname-v$pkgver"
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -Dm644 contrib/_cmus "$pkgdir"/usr/share/zsh/site-functions/_cmus
}
diff --git a/community/cmus/cdio-git.patch b/community/cmus/cdio-git.patch
deleted file mode 100644
index 8c549bee7..000000000
--- a/community/cmus/cdio-git.patch
+++ /dev/null
@@ -1,137 +0,0 @@
-*** cdio.c 2012-11-07 08:46:17.000000000 +0000
---- cmus-git/src/cmus/cdio.c 2013-09-30 02:21:10.518785946 +0000
-***************
-*** 1,5 ****
- /*
-! * Copyright 2011 Various Authors
- * Copyright 2011 Johannes Weißl
- *
- * Based on cdda.c from XMMS2.
---- 1,5 ----
- /*
-! * Copyright 2011-2013 Various Authors
- * Copyright 2011 Johannes Weißl
- *
- * Based on cdda.c from XMMS2.
-***************
-*** 27,35 ****
- #include "comment.h"
- #include "discid.h"
-
-- #include <cdio/cdda.h>
- #include <cdio/cdio.h>
- #include <cdio/logging.h>
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
---- 27,40 ----
- #include "comment.h"
- #include "discid.h"
-
- #include <cdio/cdio.h>
- #include <cdio/logging.h>
-+ #if LIBCDIO_VERSION_NUM >= 90
-+ #include <cdio/paranoia/cdda.h>
-+ #else
-+ #include <cdio/cdda.h>
-+ #endif
-+
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-***************
-*** 352,375 ****
- GROWING_KEYVALS(c);
- const char *artist = NULL, *albumartist = NULL, *album = NULL,
- *title = NULL, *genre = NULL, *comment = NULL;
-! const cdtext_t *cdtext_track, *cdtext_album;
- #ifdef HAVE_CDDB
- cddb_conn_t *cddb_conn = NULL;
- cddb_disc_t *cddb_disc = NULL;
- #endif
- char buf[64];
-
-! cdtext_track = cdio_get_cdtext(priv->cdio, priv->track);
-! if (cdtext_track) {
-! char * const *field = cdtext_track->field;
- artist = field[CDTEXT_PERFORMER];
- title = field[CDTEXT_TITLE];
- genre = field[CDTEXT_GENRE];
- comment = field[CDTEXT_MESSAGE];
- }
-! cdtext_album = cdio_get_cdtext(priv->cdio, 0);
-! if (cdtext_album) {
-! char * const *field = cdtext_album->field;
- album = field[CDTEXT_TITLE];
- albumartist = field[CDTEXT_PERFORMER];
- if (!artist)
---- 357,403 ----
- GROWING_KEYVALS(c);
- const char *artist = NULL, *albumartist = NULL, *album = NULL,
- *title = NULL, *genre = NULL, *comment = NULL;
-! int track_comments_found = 0;
-! const cdtext_t *cdt;
- #ifdef HAVE_CDDB
- cddb_conn_t *cddb_conn = NULL;
- cddb_disc_t *cddb_disc = NULL;
- #endif
- char buf[64];
-
-! #if LIBCDIO_VERSION_NUM >= 90
-! cdt = cdio_get_cdtext(priv->cdio);
-! if (cdt) {
-! artist = cdtext_get(cdt, CDTEXT_FIELD_PERFORMER, priv->track);
-! title = cdtext_get(cdt, CDTEXT_FIELD_TITLE, priv->track);
-! genre = cdtext_get(cdt, CDTEXT_FIELD_GENRE, priv->track);
-! comment = cdtext_get(cdt, CDTEXT_FIELD_MESSAGE, priv->track);
-!
-! if (title)
-! track_comments_found = 1;
-!
-! album = cdtext_get(cdt, CDTEXT_FIELD_TITLE, 0);
-! albumartist = cdtext_get(cdt, CDTEXT_FIELD_PERFORMER, 0);
-! if (!artist)
-! artist = albumartist;
-! if (!genre)
-! genre = cdtext_get(cdt, CDTEXT_FIELD_GENRE, 0);
-! if (!comment)
-! comment = cdtext_get(cdt, CDTEXT_FIELD_MESSAGE, 0);
-! }
-! #else
-! cdt = cdio_get_cdtext(priv->cdio, priv->track);
-! if (cdt) {
-! track_comments_found = 1;
-! char * const *field = cdt->field;
- artist = field[CDTEXT_PERFORMER];
- title = field[CDTEXT_TITLE];
- genre = field[CDTEXT_GENRE];
- comment = field[CDTEXT_MESSAGE];
- }
-! cdt = cdio_get_cdtext(priv->cdio, 0);
-! if (cdt) {
-! char * const *field = cdt->field;
- album = field[CDTEXT_TITLE];
- albumartist = field[CDTEXT_PERFORMER];
- if (!artist)
-***************
-*** 379,387 ****
- if (!comment)
- comment = field[CDTEXT_MESSAGE];
- }
-
- #ifdef HAVE_CDDB
-! if (!cdtext_track && cddb_url && cddb_url[0]) {
- cddb_track_t *cddb_track;
- track_t i_tracks = cdio_get_num_tracks(priv->cdio);
- track_t i_first_track = cdio_get_first_track_num(priv->cdio);
---- 407,416 ----
- if (!comment)
- comment = field[CDTEXT_MESSAGE];
- }
-+ #endif
-
- #ifdef HAVE_CDDB
-! if (!track_comments_found && cddb_url && cddb_url[0]) {
- cddb_track_t *cddb_track;
- track_t i_tracks = cdio_get_num_tracks(priv->cdio);
- track_t i_first_track = cdio_get_first_track_num(priv->cdio);
diff --git a/community/cmus/cmus-2.5.0-opus-support.patch b/community/cmus/cmus-2.5.0-opus-support.patch
deleted file mode 100644
index 80692e9da..000000000
--- a/community/cmus/cmus-2.5.0-opus-support.patch
+++ /dev/null
@@ -1,417 +0,0 @@
-diff -rupN cmus-v2.5.0/Makefile cmus/Makefile
---- cmus-v2.5.0/Makefile 2012-11-07 09:46:17.000000000 +0100
-+++ cmus/Makefile 2013-01-04 07:15:35.293069953 +0100
-@@ -74,6 +74,7 @@ mikmod-objs := mikmod.lo
- modplug-objs := modplug.lo
- mpc-objs := mpc.lo
- vorbis-objs := vorbis.lo
-+opus-objs := opus.lo
- wavpack-objs := wavpack.lo
- wav-objs := wav.lo
- mp4-objs := mp4.lo
-@@ -88,6 +89,7 @@ ip-$(CONFIG_MIKMOD) += mikmod.so
- ip-$(CONFIG_MODPLUG) += modplug.so
- ip-$(CONFIG_MPC) += mpc.so
- ip-$(CONFIG_VORBIS) += vorbis.so
-+ip-$(CONFIG_OPUS) += opus.so
- ip-$(CONFIG_WAVPACK) += wavpack.so
- ip-$(CONFIG_WAV) += wav.so
- ip-$(CONFIG_MP4) += mp4.so
-@@ -102,6 +104,7 @@ $(mikmod-objs): CFLAGS += $(MIKMOD_CFLA
- $(modplug-objs): CFLAGS += $(MODPLUG_CFLAGS)
- $(mpc-objs): CFLAGS += $(MPC_CFLAGS)
- $(vorbis-objs): CFLAGS += $(VORBIS_CFLAGS)
-+$(opus-objs): CFLAGS += $(OPUS_CFLAGS)
- $(wavpack-objs): CFLAGS += $(WAVPACK_CFLAGS)
- $(mp4-objs): CFLAGS += $(MP4_CFLAGS)
- $(aac-objs): CFLAGS += $(AAC_CFLAGS)
-@@ -129,6 +132,9 @@ mpc.so: $(mpc-objs) $(libcmus-y)
- vorbis.so: $(vorbis-objs) $(libcmus-y)
- $(call cmd,ld_dl,$(VORBIS_LIBS))
-
-+opus.so: $(opus-objs) $(libcmus-y)
-+ $(call cmd,ld_dl,$(OPUS_LIBS))
-+
- wavpack.so: $(wavpack-objs) $(libcmus-y)
- $(call cmd,ld_dl,$(WAVPACK_LIBS))
-
-diff -rupN cmus-v2.5.0/configure cmus/configure
---- cmus-v2.5.0/configure 2012-11-07 09:46:17.000000000 +0100
-+++ cmus/configure 2013-01-04 07:15:35.293069953 +0100
-@@ -228,6 +228,12 @@ check_vorbis()
- fi
- }
-
-+check_opus()
-+{
-+ pkg_config OPUS "opusfile"
-+ return $?
-+}
-+
- check_wavpack()
- {
- pkg_config WAVPACK "wavpack" "" "-lwavpack"
-@@ -425,6 +431,7 @@ Optional Features: y/n
- CONFIG_MPC libmpcdec (Musepack .mpc, .mpp, .mp+) [auto]
- CONFIG_VORBIS Ogg/Vorbis (.ogg, application/ogg, audio/x-ogg) [auto]
- CONFIG_TREMOR Use Tremor as Ogg/Vorbis input plugin [n]
-+ CONFIG_OPUS Opus (.opus) [auto]
- CONFIG_WAV WAV [y]
- CONFIG_WAVPACK WavPack (.wv, audio/x-wavpack) [auto]
- CONFIG_MP4 MPEG-4 AAC (.mp4, .m4a, .m4b) [auto]
-@@ -485,6 +492,7 @@ check check_mikmod CONFIG_MIKMOD
- check check_modplug CONFIG_MODPLUG
- check check_mpc CONFIG_MPC
- check check_vorbis CONFIG_VORBIS
-+check check_opus CONFIG_OPUS
- check check_wavpack CONFIG_WAVPACK
- check check_mp4 CONFIG_MP4
- check check_aac CONFIG_AAC
-@@ -534,7 +542,7 @@ config_header config/cue.h CONFIG_CUE
- CFLAGS="${CFLAGS} -DHAVE_CONFIG"
-
- makefile_vars bindir datadir libdir mandir exampledir
--makefile_vars CONFIG_CDIO CONFIG_FLAC CONFIG_MAD CONFIG_MIKMOD CONFIG_MODPLUG CONFIG_MPC CONFIG_VORBIS CONFIG_WAVPACK CONFIG_WAV CONFIG_MP4 CONFIG_AAC CONFIG_FFMPEG CONFIG_CUE
-+makefile_vars CONFIG_CDIO CONFIG_FLAC CONFIG_MAD CONFIG_MIKMOD CONFIG_MODPLUG CONFIG_MPC CONFIG_VORBIS CONFIG_OPUS CONFIG_WAVPACK CONFIG_WAV CONFIG_MP4 CONFIG_AAC CONFIG_FFMPEG CONFIG_CUE
- makefile_vars CONFIG_ROAR CONFIG_PULSE CONFIG_ALSA CONFIG_AO CONFIG_ARTS CONFIG_OSS CONFIG_SUN CONFIG_WAVEOUT
-
- generate_config_mk
-diff -rupN cmus-v2.5.0/opus.c cmus/opus.c
---- cmus-v2.5.0/opus.c 1970-01-01 01:00:00.000000000 +0100
-+++ cmus/opus.c 2013-01-04 07:15:35.493069945 +0100
-@@ -0,0 +1,335 @@
-+/*
-+ * Copyright 2008-2012 Various Authors
-+ * Copyright 2004-2005 Timo Hirvonen
-+ *
-+ * This program is free software; you can redistribute it and/or
-+ * modify it under the terms of the GNU General Public License as
-+ * published by the Free Software Foundation; either version 2 of the
-+ * License, or (at your option) any later version.
-+ *
-+ * This program is distributed in the hope that it will be useful, but
-+ * WITHOUT ANY WARRANTY; without even the implied warranty of
-+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-+ * General Public License for more details.
-+ *
-+ * You should have received a copy of the GNU General Public License
-+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
-+ */
-+
-+#include "ip.h"
-+#include "xmalloc.h"
-+#include "read_wrapper.h"
-+#include "debug.h"
-+#include "comment.h"
-+
-+#include <opusfile.h>
-+
-+#include <errno.h>
-+#include <string.h>
-+#include <sys/types.h>
-+#include <unistd.h>
-+
-+#define SAMPLING_RATE 48000
-+#define CHANNELS 2
-+
-+struct opus_private {
-+ OggOpusFile *of;
-+ int current_link;
-+};
-+
-+static int read_func(void *datasource, unsigned char *ptr, int size)
-+{
-+ struct input_plugin_data *ip_data = datasource;
-+ return read_wrapper(ip_data, ptr, size);
-+}
-+
-+static int seek_func(void *datasource, opus_int64 offset, int whence)
-+{
-+ struct input_plugin_data *ip_data = datasource;
-+ return lseek(ip_data->fd, offset, whence);
-+}
-+
-+static int close_func(void *datasource)
-+{
-+ struct input_plugin_data *ip_data;
-+ int rc;
-+
-+ ip_data = datasource;
-+ rc = close(ip_data->fd);
-+ ip_data->fd = -1;
-+ return rc;
-+}
-+
-+static opus_int64 tell_func(void *datasource)
-+{
-+ struct input_plugin_data *ip_data = datasource;
-+ return lseek(ip_data->fd, 0, SEEK_CUR);
-+}
-+
-+static OpusFileCallbacks callbacks = {
-+ .read = read_func,
-+ .seek = seek_func,
-+ .tell = tell_func,
-+ .close = close_func
-+};
-+
-+static int opus_open(struct input_plugin_data *ip_data)
-+{
-+ struct opus_private *priv;
-+ int rc;
-+ void *source;
-+
-+ priv = xnew(struct opus_private, 1);
-+ priv->current_link = -1;
-+ priv->of = NULL;
-+
-+ source = op_fdopen(&callbacks, ip_data->fd, "r");
-+ if (source == NULL) {
-+ free(priv);
-+ return -IP_ERROR_INTERNAL;
-+ }
-+
-+ priv->of = op_open_callbacks(source, &callbacks, NULL, 0, &rc);
-+ if (rc != 0) {
-+ d_print("op_open_callbacks failed: %d:%s\n", rc, strerror(rc));
-+ free(priv);
-+ /* ogg is a container format, so it is likely to contain
-+ * something else if it isn't opus */
-+ return -IP_ERROR_UNSUPPORTED_FILE_TYPE;
-+ }
-+ ip_data->private = priv;
-+
-+ ip_data->sf = sf_rate(SAMPLING_RATE)
-+ | sf_channels(CHANNELS)
-+ | sf_bits(16)
-+ | sf_signed(1);
-+#ifdef WORDS_BIGENDIAN
-+ ip_data->sf |= sf_bigendian(1);
-+#endif
-+ return 0;
-+}
-+
-+static int opus_close(struct input_plugin_data *ip_data)
-+{
-+ struct opus_private *priv = ip_data->private;
-+ /* this closes ip_data->fd! */
-+ op_free(priv->of);
-+ ip_data->fd = -1;
-+ free(priv);
-+ ip_data->private = NULL;
-+ return 0;
-+}
-+
-+/*
-+ * -n
-+ * indicates error
-+ * 0
-+ * indicates EOF
-+ * n
-+ * indicates actual number of bytes read
-+ */
-+static int opus_read(struct input_plugin_data *ip_data, char *buffer, int count)
-+{
-+ struct opus_private *priv;
-+ int samples, current_link, rc;
-+
-+ priv = ip_data->private;
-+
-+ /* samples = number of samples read per channel */
-+ samples = op_read_stereo(priv->of, (opus_int16*)buffer,
-+ count / sizeof(opus_int16));
-+ if (samples < 0) {
-+ switch (samples) {
-+ case OP_HOLE:
-+ errno = EAGAIN;
-+ rc = -1;
-+ break;
-+ case OP_EREAD:
-+ errno = EINVAL;
-+ rc = -1;
-+ break;
-+ case OP_EFAULT:
-+ errno = EINVAL;
-+ rc = -1;
-+ break;
-+ case OP_EIMPL:
-+ rc = -IP_ERROR_FUNCTION_NOT_SUPPORTED;
-+ break;
-+ case OP_EINVAL:
-+ errno = EINVAL;
-+ rc = -1;
-+ break;
-+ case OP_ENOTFORMAT:
-+ rc = -IP_ERROR_FILE_FORMAT;
-+ break;
-+ case OP_EBADHEADER:
-+ rc = -IP_ERROR_FILE_FORMAT;
-+ break;
-+ case OP_EVERSION:
-+ rc = -IP_ERROR_FILE_FORMAT;
-+ break;
-+ case OP_EBADPACKET:
-+ errno = EINVAL;
-+ rc = -1;
-+ break;
-+ case OP_EBADLINK:
-+ errno = EINVAL;
-+ rc = -1;
-+ break;
-+ case OP_EBADTIMESTAMP:
-+ rc = -IP_ERROR_FILE_FORMAT;
-+ break;
-+ default:
-+ d_print("error: %d\n", samples);
-+ rc = -IP_ERROR_FILE_FORMAT;
-+ }
-+ } else if (samples == 0) {
-+ /* EOF or buffer too small */
-+ rc = 0;
-+ } else {
-+ current_link = op_current_link(priv->of);
-+ if (current_link < 0) {
-+ d_print("error: %d\n", current_link);
-+ rc = -1;
-+ } else {
-+ if (ip_data->remote && current_link != priv->current_link) {
-+ ip_data->metadata_changed = 1;
-+ priv->current_link = current_link;
-+ }
-+
-+ /* bytes = samples * channels * sample_size */
-+ rc = samples * CHANNELS * sizeof(opus_int16);
-+ }
-+ }
-+
-+ return rc;
-+}
-+
-+static int opus_seek(struct input_plugin_data *ip_data, double offset)
-+{
-+ struct opus_private *priv;
-+ int rc;
-+
-+ priv = ip_data->private;
-+
-+ rc = op_pcm_seek(priv->of, offset * SAMPLING_RATE);
-+ switch (rc) {
-+ case OP_ENOSEEK:
-+ return -IP_ERROR_FUNCTION_NOT_SUPPORTED;
-+ case OP_EINVAL:
-+ return -IP_ERROR_INTERNAL;
-+ case OP_EREAD:
-+ return -IP_ERROR_INTERNAL;
-+ case OP_EFAULT:
-+ return -IP_ERROR_INTERNAL;
-+ case OP_EBADLINK:
-+ return -IP_ERROR_INTERNAL;
-+ }
-+ return 0;
-+}
-+
-+static int opus_read_comments(struct input_plugin_data *ip_data,
-+ struct keyval **comments)
-+{
-+ GROWING_KEYVALS(c);
-+ struct opus_private *priv;
-+ const OpusTags *ot;
-+ int i;
-+
-+ priv = ip_data->private;
-+
-+ ot = op_tags(priv->of, -1);
-+ if (ot == NULL) {
-+ d_print("ot == NULL\n");
-+ *comments = keyvals_new(0);
-+ return 0;
-+ }
-+
-+ for (i = 0; i < ot->comments; i++) {
-+ const char *str = ot->user_comments[i];
-+ const char *eq = strchr(str, '=');
-+ char *key;
-+
-+ if (!eq) {
-+ d_print("invalid comment: '%s' ('=' expected)\n", str);
-+ continue;
-+ }
-+
-+ key = xstrndup(str, eq - str);
-+ comments_add_const(&c, key, eq + 1);
-+ free(key);
-+ }
-+ keyvals_terminate(&c);
-+ *comments = c.keyvals;
-+ return 0;
-+}
-+
-+static int opus_duration(struct input_plugin_data *ip_data)
-+{
-+ struct opus_private *priv;
-+ ogg_int64_t samples;
-+
-+ priv = ip_data->private;
-+
-+ samples = op_pcm_total(priv->of, -1);
-+ if (samples < 0)
-+ return -IP_ERROR_FUNCTION_NOT_SUPPORTED;
-+
-+ return samples / SAMPLING_RATE;
-+}
-+
-+static long opus_bitrate(struct input_plugin_data *ip_data)
-+{
-+ struct opus_private *priv;
-+ opus_int32 bitrate;
-+
-+ priv = ip_data->private;
-+
-+ bitrate = op_bitrate(priv->of, -1);
-+ if (bitrate < 0)
-+ return -IP_ERROR_FUNCTION_NOT_SUPPORTED;
-+ else
-+ return bitrate;
-+}
-+
-+static long opus_current_bitrate(struct input_plugin_data *ip_data)
-+{
-+ struct opus_private *priv;
-+ opus_int32 bitrate;
-+
-+ priv = ip_data->private;
-+
-+ bitrate = op_bitrate_instant(priv->of);
-+ if (bitrate < 0)
-+ return -IP_ERROR_FUNCTION_NOT_SUPPORTED;
-+ else
-+ return bitrate;
-+}
-+
-+static char *opus_codec(struct input_plugin_data *ip_data)
-+{
-+ return xstrdup("opus");
-+}
-+
-+static char *opus_codec_profile(struct input_plugin_data *ip_data)
-+{
-+ return NULL;
-+}
-+
-+const struct input_plugin_ops ip_ops = {
-+ .open = opus_open,
-+ .close = opus_close,
-+ .read = opus_read,
-+ .seek = opus_seek,
-+ .read_comments = opus_read_comments,
-+ .duration = opus_duration,
-+ .bitrate = opus_bitrate,
-+ .bitrate_current = opus_current_bitrate,
-+ .codec = opus_codec,
-+ .codec_profile = opus_codec_profile
-+};
-+
-+const int ip_priority = 50;
-+const char * const ip_extensions[] = { "opus", NULL };
-+const char * const ip_mime_types[] = { NULL };
-+const char * const ip_options[] = { NULL };
diff --git a/community/envoy/PKGBUILD b/community/envoy/PKGBUILD
index e73f98926..bf89ad9d2 100644
--- a/community/envoy/PKGBUILD
+++ b/community/envoy/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 106194 2014-02-25 08:40:55Z bpiotrowski $
+# $Id: PKGBUILD 111374 2014-05-17 17:38:26Z bpiotrowski $
# Maintainer: Federico Cinelli <cinelli@aur.archlinux.org>
pkgname=envoy
-pkgver=7
+pkgver=8
pkgrel=1
pkgdesc="A ssh-agent/gpg-agent keychain and process monitor"
arch=('i686' 'x86_64')
@@ -13,7 +13,7 @@ optdepends=('gnupg: gpg-agent support')
makedepends=('ragel')
source=("$pkgname-$pkgver.tar.gz::https://github.com/vodik/$pkgname/archive/v$pkgver.tar.gz"
"clique.tar.gz::https://github.com/vodik/clique/archive/v0.1.tar.gz")
-md5sums=('a4eb7a7356519605797b1d22b81dcf36'
+md5sums=('271c0c30c833085de83bb11c52296b7b'
'8c4f3fd488fc8f92196a8aa42ac9567e')
prepare() {
diff --git a/community/mongodb/PKGBUILD b/community/mongodb/PKGBUILD
index f4a8d5beb..2db2e554d 100644
--- a/community/mongodb/PKGBUILD
+++ b/community/mongodb/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 110766 2014-05-06 17:08:14Z fyan $
+# $Id: PKGBUILD 111336 2014-05-17 03:05:51Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Thomas Dziedzic < gostrc at gmail >
@@ -7,13 +7,13 @@
pkgname=mongodb
pkgver=2.6.1
-pkgrel=1
+pkgrel=2
pkgdesc='A high-performance, open source, schema-free document-oriented database'
arch=('i686' 'x86_64')
url='http://www.mongodb.org'
license=('AGPL3')
-depends=('boost-libs' 'pcre' 'snappy' 'openssl' 'gperftools' 'libsasl') # 'libyaml' 'yaml-cpp' 'v8')
-makedepends=('scons' 'boost' 'readline' 'ncurses' 'libpcap')
+depends=('pcre' 'snappy' 'openssl' 'gperftools' 'libsasl' 'boost-libs') # 'libyaml' 'yaml-cpp' 'v8')
+makedepends=('scons' 'readline' 'ncurses' 'libpcap' 'boost' 'clang')
checkdepends=('python2-pymongo')
optdepends=('libpcap: needed for mongosniff')
backup=('etc/mongodb.conf')
@@ -31,12 +31,12 @@ build() {
patch -Np1 -i "$srcdir/removeWerror.patch"
scons all \
- --use-system-boost \
--use-system-pcre \
--use-system-snappy \
--use-system-tcmalloc \
--use-sasl-client \
- --ssl
+ --use-system-boost \
+ --ssl --cc=clang --cxx=clang++
# --use-system-yaml
# --use-system-v8
}
@@ -47,7 +47,14 @@ check() {
cd mongodb-src-r${pkgver}
- scons smokeAll --smokedbprefix="$srcdir" || :
+ scons smokeAll \
+ --use-system-pcre \
+ --use-system-snappy \
+ --use-system-tcmalloc \
+ --use-sasl-client \
+ --use-system-boost \
+ --ssl --cc=clang --cxx=clang++ \
+ --smokedbprefix="$srcdir" || :
}
package() {
@@ -56,12 +63,12 @@ package() {
cd mongodb-src-r${pkgver}
scons install \
- --use-system-boost \
--use-system-pcre \
--use-system-snappy \
--use-system-tcmalloc \
--use-sasl-client \
- --ssl \
+ --use-system-boost \
+ --ssl --cc=clang --cxx=clang++ \
--prefix="$pkgdir/usr"
# --use-system-yaml
# --use-system-v8
diff --git a/community/plib/PKGBUILD b/community/plib/PKGBUILD
index 74d871b29..de0fe5add 100644
--- a/community/plib/PKGBUILD
+++ b/community/plib/PKGBUILD
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD 103334 2014-01-03 11:08:04Z bpiotrowski $
+# $Id: PKGBUILD 111367 2014-05-17 13:47:17Z lcarlier $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=plib
pkgver=1.8.5
-pkgrel=4
+pkgrel=5
pkgdesc="Set of libraries to write games and other realtime interactive applications"
arch=('i686' 'x86_64')
url="http://plib.sourceforge.net/"
license=('custom:LGPL')
-makedepends=('mesa' 'libxi' 'libxmu')
+makedepends=('mesa-libgl' 'libxi' 'libxmu')
source=(http://plib.sourceforge.net/dist/$pkgname-$pkgver.tar.gz)
options=('staticlibs')
md5sums=('47a6fbf63668c1eed631024038b2ea90')
diff --git a/community/quassel/PKGBUILD b/community/quassel/PKGBUILD
index 1555cd3d8..3cef004a9 100644
--- a/community/quassel/PKGBUILD
+++ b/community/quassel/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 106196 2014-02-25 09:51:25Z bpiotrowski $
+# $Id: PKGBUILD 111370 2014-05-17 17:14:47Z bpiotrowski $
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
pkgbase=quassel
pkgname=('quassel-client' 'quassel-core')
-pkgver=0.9.2
+pkgver=0.10.0
pkgrel=1
pkgdesc="QT4 irc client with a separated core"
arch=('i686' 'x86_64')
@@ -14,7 +14,7 @@ makedepends=('cmake' 'automoc4' 'qt4' 'icu' 'kdelibs')
source=(http://quassel-irc.org/pub/$pkgbase-$pkgver.tar.bz2
$pkgbase.service
$pkgbase.conf)
-sha256sums=('f04d01602509c1d950602502e5f51aba47d99c73a9c70e77c563bb7749fc53c0'
+sha256sums=('68228ce23aa3a992add3d00cb1e8b4863d8ca64bea99c881edf6d16ff9ec7c23'
'88b5b693ad7eea7fb2d084da29c6abc26ea5fa990668f9807d462778243f1d6a'
'f3031ea8217e01ba42cea14606169e3e27affa5918968ffd5a03c21ae92fe2b8')
diff --git a/community/springlobby/PKGBUILD b/community/springlobby/PKGBUILD
index ebe888532..c4fa39169 100644
--- a/community/springlobby/PKGBUILD
+++ b/community/springlobby/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 109943 2014-04-21 23:21:49Z svenstaro $
+# $Id: PKGBUILD 111382 2014-05-17 20:14:28Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: DuGi <dugi@irc.pl>
pkgname=springlobby
-pkgver=0.189
+pkgver=0.190
pkgrel=1
pkgdesc="A free cross-platform lobby client for the Spring RTS project."
arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@ optdepends=('sdl' 'sdl_sound' 'sdl_mixer')
makedepends=('boost' 'asio' 'cmake')
install=springlobby.install
source=(http://www.springlobby.info/tarballs/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('1322ff6a03ed59db093699a842f2dcda')
+md5sums=('6442b32bcc78a457d889f941cbdf92f4')
build() {
cd $srcdir/${pkgname}-$pkgver