Commit 61cb4a22 authored by Luca Giambonini's avatar Luca Giambonini

Core sound group

Fix #51 #18 #65
parent 0869d3e3
pkgname=alsa-lib
pkgver=1.1.5
pkgver=1.1.6
pkgrel=1
pkgdesc="An alternative implementation of Linux sound support"
arch=('x86_64')
......@@ -9,12 +9,12 @@ optdepends=('python2')
makedepends=('python2')
license=('GPL')
source=("ftp://ftp.alsa-project.org/pub/lib/$pkgname-$pkgver.tar.bz2")
md5sums=('a2b465c3a5265d8a57f3ff39c6c4fc29')
md5sums=('2f981a8f7897c59ec2ddc44916d33788')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --with-pythonlibs="-lpthread -lm -ldl -lpython2.7" --with-pythonincludes=-I/usr/include/python2.7
./configure --without-debug --prefix=/usr --with-pythonlibs="-lpthread -lm -ldl -lpython2.7" --with-pythonincludes=-I/usr/include/python2.7
make
}
......
pkgname=alsa-oss
pkgver=1.1.6
pkgrel=1
pkgdesc="OSS compatibility library"
arch=('x86_64')
license=('GPL')
url="http://www.alsa-project.org"
depends=('alsa-lib')
source=("ftp://ftp.alsa-project.org/pub/oss-lib/$pkgname-$pkgver.tar.bz2")
sha1sums=('808a00d35d2dd33ce67ee45716ee0f744ed22cb9')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
}
# Maintainer: almack
pkgname=alsa-utils
pkgver=1.1.5
pkgver=1.1.6
pkgrel=1
pkgdesc="An alternative implementation of Linux sound support"
arch=('x86_64')
url="http://www.alsa-project.org"
#can not use >=$pkgver due to use of letters in alsa-lib update versioning
depends=("alsa-lib" 'pciutils' 'ncurses' 'psmisc' 'libsamplerate' 'fftw')
makedepends=('xmlto' 'docbook-xsl')
makedepends=('xmlto' 'docbook-xsl' 'systemd')
license=('GPL')
source=("ftp://ftp.alsa-project.org/pub/utils/$pkgname-${pkgver}.tar.bz2"
'90alsa')
md5sums=('dfe6ea147a5e07a056919591c2f5dac3'
md5sums=('50ae75567459646b843bed78d916b002'
'529216f6a46e61a546640e08ea7a0879')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --disable-alsaconf \
./configure --prefix=/usr --without-debug --disable-alsaconf \
--with-udev-rules-dir=/usr/lib/udev/rules.d \
--with-systemdsystemunitdir=/usr/lib/systemd/system
make
......
From 5690daf759b473b9d13b4547ef37adc2695cf524 Mon Sep 17 00:00:00 2001
From: James Cowgill <jcowgill@jcowgill.uk>
Date: Sun, 25 Feb 2018 14:23:25 +0000
Subject: [PATCH] Fix build with FFmpeg 4.0
---
src/io/source_avcodec.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/io/source_avcodec.c b/src/io/source_avcodec.c
index ccdce807..8197445c 100644
--- a/src/io/source_avcodec.c
+++ b/src/io/source_avcodec.c
@@ -58,7 +58,11 @@
#include "fmat.h"
#include "source_avcodec.h"
+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(56, 56, 0)
#define AUBIO_AVCODEC_MAX_BUFFER_SIZE FF_MIN_BUFFER_SIZE
+#else
+#define AUBIO_AVCODEC_MAX_BUFFER_SIZE AV_INPUT_BUFFER_MIN_SIZE
+#endif
struct _aubio_source_avcodec_t {
uint_t hop_size;
--
2.17.0
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/aubio
pkgname=aubio
pkgver=0.4.2
pkgrel=2
pkgver=0.4.6
pkgrel=1
pkgdesc="A library for audio labelling"
arch=('x86_64')
url="http://aubio.org/"
......@@ -10,12 +10,17 @@ license=('GPL')
depends=('ffmpeg' 'fftw' 'jack')
makedepends=('python2-numpy' 'python2-setuptools')
optdepends=('python2-numpy: Python 2.x interface')
source=("http://aubio.org/pub/$pkgname-$pkgver.tar.bz2")
md5sums=('c0f6d8355e92669722501c3a762ba548')
source=("http://aubio.org/pub/$pkgname-$pkgver.tar.bz2"
"0001-Fix-build-with-FFmpeg-4.0.patch")
md5sums=('78d326e5e44d19b0d21a5abf834bae20'
'2dc57ccd9be5f93118564d5dc4f2de4f')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
# apply patch to build with ffmpeg >= 4.0
patch -Np1 -i "../0001-Fix-build-with-FFmpeg-4.0.patch"
# python2 compat (for python interface)
sed -i 's:bin/env python:bin/env python2:' \
"$srcdir/$pkgname-$pkgver/python/lib/aubio/__init__.py"
......@@ -26,7 +31,7 @@ build() {
python2 waf configure --prefix=/usr --enable-fftw3f --libdir=/usr/lib
python2 waf build $MAKEFLAGS
(cd python && python2 setup.py build) # python interface
python2 setup.py build # python interface
}
package() {
......@@ -35,5 +40,5 @@ package() {
python2 waf --destdir="$pkgdir" install
# python interface
(cd python && python2 setup.py install --root="$pkgdir" --optimize=1)
python2 setup.py install --root="$pkgdir" --optimize=1
}
pkgname=cdemu-daemon
pkgver=3.0.4
pkgrel=2
pkgdesc=("CD/DVD-ROM device emulator daemon")
pkgver=3.1.0
pkgrel=1
pkgdesc="CD/DVD-ROM device emulator daemon"
arch=('x86_64')
backup=('etc/conf.d/cdemu-daemon'
'etc/dbus-1/system.d/cdemu-daemon-dbus.conf')
url="http://cdemu.sourceforge.net/"
license=('GPL')
depends=('glib2' 'dbus' 'dbus-glib' 'libdaemon' 'vhba-module' "libmirage>=3.0.2" 'libao')
makedepends=('cmake')
makedepends=('cmake' 'intltool')
optdepends=('alsa-lib: to enable the ALSA audio driver'
'pulseaudio: to enable the PA audio driver')
install=$pkgname.install
source=("http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.bz2"
'0001-Patch-system-daemon-for-Arch-friendliness.patch')
md5sums=('079f276eae7f28968af0b1ba382e1b5b'
md5sums=('e9f6c8b42e876a8566b0411056950ea6'
'46062934311707ba2765a732006367f9')
prepare() {
......
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/chromaprint
pkgname=chromaprint
pkgver=1.4.2
pkgver=1.4.3
pkgrel=1
pkgdesc='Client-side library that implements a custom algorithm for extracting fingerprints from any audio source'
url='http://acoustid.org/chromaprint/'
arch=('x86_64')
license=('LGPL')
depends=('ffmpeg')
makedepends=('cmake')
source=("https://bitbucket.org/acoustid/${pkgname}/downloads/${pkgname}-${pkgver}.tar.gz")
sha1sums=('3d90530e643a351f49460f08fcbc163179e9c036')
makedepends=('cmake' 'git')
source=("https://github.com/acoustid/chromaprint/releases/download/v${pkgver}/chromaprint-${pkgver}.tar.gz")
sha1sums=('c3f880f6ed752c0d0802c55d28a1a6df78b4d7d4')
build() {
cd "${pkgname}-${pkgver}"
cd "${srcdir}/${pkgname}-v${pkgver}"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
......@@ -23,6 +23,6 @@ build() {
}
package() {
cd "${pkgname}-${pkgver}"
cd "${srcdir}/${pkgname}-v${pkgver}"
make DESTDIR="${pkgdir}" install
}
......@@ -3,14 +3,14 @@
pkgname=farstream
pkgver=0.2.8
pkgrel=1
pkgrel=2
pkgdesc="Audio/Video Communications Framework (legacy version)"
arch=('x86_64')
url="http://www.freedesktop.org/wiki/Software/Farstream"
license=('LGPL2.1')
depends=('libnice' 'gstreamer' 'gst-plugins-base')
makedepends=('gobject-introspection')
options=('!libtool')
depends=('gst-plugins-base-libs' 'libnice')
makedepends=('gobject-introspection' 'python2')
optdepends=('gst-plugins-good' 'gst-plugins-bad')
source=(http://freedesktop.org/software/$pkgname/releases/$pkgname/$pkgname-$pkgver.tar.gz)
sha256sums=('2b3b9c6b4f64ace8c83e03d1da5c5a2884c1cae10b35471072b574201ab38908')
......@@ -19,9 +19,8 @@ build() {
./configure \
--prefix=/usr \
--with-package-name='Chakra Farstream Package' \
--with-package-origin='httpw://www.chakraos.org/' \
--disable-static
--with-package-name='Chakra Linux farstream package' \
--with-package-origin='https://www.chakralinux.org/'
make
}
......
From 39450457190675716c8e66700e35b05334a6a1a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= <olivier.crete@collabora.com>
Date: Fri, 25 May 2012 17:06:59 -0400
Subject: [PATCH] Gtk-doc tags belong after the description
---
farstream/fs-session.c | 16 +++++++---------
farstream/fs-stream.c | 15 ++++++---------
2 files changed, 13 insertions(+), 18 deletions(-)
diff --git a/farstream/fs-session.c b/farstream/fs-session.c
index 80794d1..abb1bc3 100644
--- a/farstream/fs-session.c
+++ b/farstream/fs-session.c
@@ -270,9 +270,6 @@ fs_session_class_init (FsSessionClass *klass)
/**
* FsSession:codec-preferences:
*
- * Type: GLib.List(FsCodec)
- * Transfer: full
- *
* This is the current preferences list for the local codecs. It is
* set by the user to specify the codec options and priorities. The user may
* change its value with fs_session_set_codec_preferences() at any time
@@ -283,6 +280,9 @@ fs_session_class_init (FsSessionClass *klass)
* or %FS_CODEC_ID_ANY. If the encoding name is "reserve-pt", then the
* payload type of the codec will be "reserved" and not be used by any
* dynamically assigned payload type.
+ *
+ * Type: GLib.List(FsCodec)
+ * Transfer: full
*/
g_object_class_install_property (gobject_class,
PROP_CODEC_PREFERENCES,
@@ -296,9 +296,6 @@ fs_session_class_init (FsSessionClass *klass)
/**
* FsSession:codecs:
*
- * Type: GLib.List(FsCodec)
- * Transfer: full
- *
* This is the list of codecs used for this session. It will include the
* codecs and payload type used to receive media on this session. It will
* also include any configuration parameter that must be transmitted reliably
@@ -317,6 +314,8 @@ fs_session_class_init (FsSessionClass *klass)
* It is a #GList of #FsCodec. User must free this codec list using
* fs_codec_list_destroy() when done.
*
+ * Type: GLib.List(FsCodec)
+ * Transfer: full
*/
g_object_class_install_property (gobject_class,
PROP_CODECS,
@@ -329,9 +328,6 @@ fs_session_class_init (FsSessionClass *klass)
/**
* FsSession:codecs-without-config:
*
- * Type: GLib.List(FsCodec)
- * Transfer: full
- *
* This is the same list of codecs as #FsSession:codecs without
* the configuration information that describes the data sent. It is suitable
* for configurations where a list of codecs is shared by many senders.
@@ -349,6 +345,8 @@ fs_session_class_init (FsSessionClass *klass)
* It is a #GList of #FsCodec. User must free this codec list using
* fs_codec_list_destroy() when done.
*
+ * Type: GLib.List(FsCodec)
+ * Transfer: full
*/
g_object_class_install_property (gobject_class,
PROP_CODECS_WITHOUT_CONFIG,
diff --git a/farstream/fs-stream.c b/farstream/fs-stream.c
index b9e1320..110641d 100644
--- a/farstream/fs-stream.c
+++ b/farstream/fs-stream.c
@@ -176,13 +176,12 @@ fs_stream_class_init (FsStreamClass *klass)
/**
* FsStream:remote-codecs:
*
- * Type: GLib.List(FsCodec)
- * Transfer: full
- *
* This is the list of remote codecs for this stream. They must be set by the
* user as soon as they are known using fs_stream_set_remote_codecs()
* (generally through external signaling). It is a #GList of #FsCodec.
*
+ * Type: GLib.List(FsCodec)
+ * Transfer: full
*/
g_object_class_install_property (gobject_class,
PROP_REMOTE_CODECS,
@@ -195,15 +194,14 @@ fs_stream_class_init (FsStreamClass *klass)
/**
* FsStream:negotiated-codecs:
*
- * Type: GLib.List(FsCodec)
- * Transfer: full
- *
* This is the list of negotiatied codecs, it is the same list as the list
* of #FsCodec from the parent #FsSession, except that the codec config data
* has been replaced with the data from the remote codecs for this stream.
* This is the list of #FsCodec used to receive data from this stream.
* It is a #GList of #FsCodec.
*
+ * Type: GLib.List(FsCodec)
+ * Transfer: full
*/
g_object_class_install_property (gobject_class,
PROP_NEGOTIATED_CODECS,
@@ -216,9 +214,6 @@ fs_stream_class_init (FsStreamClass *klass)
/**
* FsStream:current-recv-codecs:
*
- * Type: GLib.List(FsCodec)
- * Transfer: full
- *
* This is the list of codecs that have been received by this stream.
* The user must free the list if fs_codec_list_destroy().
* The "farstream-recv-codecs-changed" message is send on the #GstBus
@@ -228,6 +223,8 @@ fs_stream_class_init (FsStreamClass *klass)
* also be emitted if the pad already exists, but the source material that
* will come to it is different.
*
+ * Type: GLib.List(FsCodec)
+ * Transfer: full
*/
g_object_class_install_property (gobject_class,
PROP_CURRENT_RECV_CODECS,
--
1.7.8.6
diff -urNp farstream-0.1.1.orig/gst/fsrtpconference/default-codec-preferences farstream-0.1.1/gst/fsrtpconference/default-codec-preferences
--- farstream-0.1.1.orig/gst/fsrtpconference/default-codec-preferences 2012-03-20 12:12:22.644324485 +0100
+++ farstream-0.1.1/gst/fsrtpconference/default-codec-preferences 2012-03-21 09:32:04.468634455 +0100
@@ -41,6 +41,8 @@ feedback:nack/pli=
[video/H263]
feedback:nack/pli=
+[video/VP8-DRAFT-IETF-01]
+
[video/THEORA]
#feedback:tfrc=
feedback:nack/pli=
pkgname=ffmpeg
pkgver=3.2.10
pkgrel=3
pkgver=4.0
pkgrel=1
pkgdesc='Complete solution to record, convert and stream audio and video'
arch=('x86_64')
url='http://ffmpeg.org/'
license=('GPL3' 'custom')
license=('GPL3')
depends=('alsa-lib' 'bzip2' 'fontconfig' 'fribidi' 'gnutls' 'gsm' 'lame'
'libass' 'libbluray' 'libmodplug' 'libpulse' 'libsoxr' 'libssh'
'libtheora' 'libva' 'libvdpau' 'libwebp' 'opencore-amr' 'openjpeg'
'opus' 'schroedinger' 'sdl' 'speex' 'v4l-utils' 'xvidcore' 'zlib'
'dcadec' 'vid.stab' 'libvorbis' 'lame' 'openh264'
'libvpx' 'libx264.so' 'x265' 'libfdk-aac' 'jack' 'libavc1394' 'libiec61883')
makedepends=('hardening-wrapper' 'ladspa' 'libvdpau' 'yasm')
'libvpx' 'libx264.so' 'x265' 'libfdk-aac' 'jack' 'libavc1394' 'libiec61883'
'openjpeg2')
makedepends=('ffnvcodec-headers' 'ladspa' 'yasm')
optdepends=('ladspa: LADSPA filters')
#checkdepends=('valgrind')
provides=('libavcodec.so' 'libavdevice.so' 'libavfilter.so' 'libavformat.so'
......@@ -19,7 +20,7 @@ provides=('libavcodec.so' 'libavdevice.so' 'libavfilter.so' 'libavformat.so'
'libswscale.so')
source=(http://ffmpeg.org/releases/ffmpeg-${pkgver}.tar.bz2{,.asc})
validpgpkeys=('FCF986EA15E6E293A5644F10B4322F04D67658D8')
sha256sums=('4fbad0a9e1a7984cc4f8748f5e8a8ad643453f95aad9b400074072d71b415adb'
sha256sums=('318a39d906c9107d49766c63787798dd078d2a36e6670a9dfeda3c55be4573b8'
'SKIP')
build() {
......@@ -30,7 +31,6 @@ build() {
--disable-debug \
--disable-static \
--disable-stripping \
--enable-avisynth \
--enable-avresample \
--enable-fontconfig \
--enable-gmp \
......@@ -39,6 +39,7 @@ build() {
--enable-ladspa \
--enable-libass \
--enable-libbluray \
--enable-libdrm \
--enable-libfreetype \
--enable-libfribidi \
--enable-libgsm \
......@@ -50,7 +51,6 @@ build() {
--enable-libopenjpeg \
--enable-libopus \
--enable-libpulse \
--enable-libschroedinger \
--enable-libsoxr \
--enable-libspeex \
--enable-libssh \
......@@ -63,9 +63,10 @@ build() {
--enable-libx264 \
--enable-libx265 \
--enable-libxvid \
--enable-nvenc \
--enable-omx \
--enable-shared \
--enable-version3 \
--enable-x11grab \
--enable-nonfree \
--enable-libfdk-aac \
--enable-libopenh264 \
......@@ -73,7 +74,7 @@ build() {
make
make tools/qt-faststart
make doc/ff{mpeg,play,server}.1
make doc/ff{mpeg,play}.1
}
#check() {
......
pkgname=ffnvcodec-headers
pkgver=8.1.24.2
pkgrel=1
pkgdesc='FFmpeg version of headers required to interface with Nvidias codec APIs'
arch=('any')
url='https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git'
license=('MIT')
source=("https://github.com/FFmpeg/nv-codec-headers/releases/download/n${pkgver}/nv-codec-headers-${pkgver}.tar.gz")
sha256sums=('2b339b2493f5b63b285dd660be05102af7d4ff2de9fcf3af94e48b5f91a3ca57')
build() {
cd nv-codec-headers-n${pkgver}
make PREFIX='/usr'
sed -n '4,25p' include/ffnvcodec/nvEncodeAPI.h > LICENSE # Extract license
sed -i '1,22s/^.\{,3\}//' LICENSE # Delete C comments
}
package() {
cd nv-codec-headers-n${pkgver}
make PREFIX='/usr' DESTDIR="${pkgdir}" install
install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/ffnvcodec-headers/
}
......@@ -2,41 +2,46 @@
pkgname=fluidsynth
# Caution: This package has a lib32 alternative, please update that as well
pkgver=1.1.6
pkgrel=7
pkgver=1.1.11
pkgrel=1
pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications"
arch=('x86_64')
url="http://www.fluidsynth.org/"
depends=('jack' 'pulseaudio')
depends=('glib2' 'jack' 'libpulse' 'portaudio')
makedepends=('cmake' 'ladspa' 'doxygen')
optdepends=('pulseaudio: PulseAudio sound support')
license=('LGPL')
install=$pkgname.install
backup=('etc/conf.d/fluidsynth')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
'fluidsynth.conf'
'fluidsynth.service')
md5sums=('ae5aca6de824b4173667cbd3a310b263'
'16c5f4d4cbdddc6c5fcbd4fd4cc142f1'
'e0406748a154409907df62292be32e8a')
backup=("etc/conf.d/$pkgname")
source=($pkgname-$pkgver.tar.gz::"https://github.com/${pkgname}/${pkgname}/archive/v$pkgver.tar.gz")
sha512sums=('ad7c634426b29e5a05d67addf32d43a9ccb11a1fe3cfc09ad617416b9df3dc99a48191377f5027232521380737dde2d9b59833516d1bffb90f410bab3bbe140c')
build() {
cd "$srcdir/$pkgname-$pkgver"
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-Denable-ladspa=ON \
-DLIB_SUFFIX=""
prepare() {
cd "${pkgname}-${pkgver}"
# out-of-tree build
mkdir build
}
build() {
cd "${pkgname}-${pkgver}/build"
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
-DFLUID_DAEMON_ENV_FILE=/etc/conf.d/fluidsynth \
-Denable-ladspa=ON \
-Denable-lash=ON \
-Denable-portaudio=ON \
-DLIB_SUFFIX=""
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
install -Dm644 "$srcdir/fluidsynth.conf" \
"$pkgdir/etc/conf.d/fluidsynth"
install -Dm644 "$srcdir/fluidsynth.service" \
"$pkgdir/usr/lib/systemd/system/fluidsynth.service"
cd "${pkgname}-${pkgver}/build"
make DESTDIR="$pkgdir" install
# systemd user unit
install -vDm644 "${pkgname}.service" \
"$pkgdir/usr/lib/systemd/user/${pkgname}.service"
# system-wide configuration file
install -vDm644 "${pkgname}.conf" "${pkgdir}/etc/conf.d/${pkgname}"
# docs
install -t "${pkgdir}/usr/share/doc/${pkgname}" \
-vDm644 ../{AUTHORS,ChangeLog,NEWS,README.md,THANKS,TODO}
}
FSYNTH_OPTS="-a alsa -m alsa_seq -r 48000"
FSYNTH_SOUNDFONT=""
\ No newline at end of file
post_install() {
echo
echo " > FluidSynth comes with a daemon. Start/enable it with systemd."
echo " > Before that, you need a soundfont and some preconfiguration:"
echo " /etc/conf.d/fluidsynth"
echo
echo " > PulseAudio output when running as a daemon is known to be"
echo " > problematic. See the following bulletin board post:"
echo " https://bbs.archlinux.org/viewtopic.php?id=135092"
echo
}
\ No newline at end of file
[Unit]
Description=FluidSynth Daemon
After=sound.target
[Service]
ExecStart=/usr/bin/fluidsynth -is -a alsa -m alsa_seq -r 48000 # append soundfont path here
[Install]
WantedBy=multi-user.target
pkgname=gst-libav
pkgver=1.10.4
pkgver=1.14.1
pkgrel=1
pkgdesc="Gstreamer libav Plugin"
arch=('x86_64')
license=('GPL')
url="http://gstreamer.freedesktop.org/"
depends=('gst-plugins-base-libs' 'bzip2' 'ffmpeg')
makedepends=('python' 'yasm')
depends=(gst-plugins-base-libs bzip2)
makedepends=(python3 gtk-doc autoconf-archive git yasm)
options=(!emptydirs)
provides=("gst-ffmpeg=$pkgver-$pkgrel")
source=(${url}/src/$pkgname/$pkgname-$pkgver.tar.xz{,.asc})
sha256sums=('6ca0feca75e3d48315e07f20ec37cf6260ed1e9dde58df355febd5016246268b'
_commit=4c3e87fec718c64282f35ab58492771a77147da6 # tags/1.14.1^0
source=("git+https://anongit.freedesktop.org/git/gstreamer/gst-libav#commit=$_commit"
"gst-common::git+https://anongit.freedesktop.org/git/gstreamer/common"
"git+https://git.videolan.org/git/ffmpeg" "git://git.libav.org/gas-preprocessor")
sha256sums=('SKIP'
'SKIP'
'SKIP'
'SKIP')
validpgpkeys=('7F4BC7CC3CA06F97336BBFEB0668CC1486C2D7B5')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgname-$pkgver
cd $pkgname
git submodule init
git config --local submodule.common.url "$srcdir/gst-common"
git config --local submodule.gst-libs/ext/libav.url "$srcdir/ffmpeg"
git config --local submodule.gst-libs/ext/gas-preprocessor.url "$srcdir/gas-preprocessor"
git submodule update
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd $pkgname-$pkgver
cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-static --with-libav-extra-configure="--enable-runtime-cpudetect" \
--with-package-name="GStreamer libav Plugin (Chakra Linux)" \
--with-package-origin="https://chakralinux.org/" \
--with-system-libav
--without-system-libav \
--enable-experimental
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
......@@ -35,11 +53,11 @@ build() {
# check failed in 2 tests, log provided
check() {
cd $pkgname-$pkgver
cd $pkgname
make check
}
package() {
cd $pkgname-$pkgver
cd $pkgname
make DESTDIR="${pkgdir}" install
}
#contributions from Arch; https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/gst-plugins-bad
pkgname=gst-plugins-bad
pkgver=1.12.4
pkgrel=2
pkgver=1.14.1
pkgrel=1
pkgdesc="GStreamer Multimedia Framework Bad Plugins"
arch=('x86_64')
license=('LGPL')
......@@ -14,18 +14,29 @@ makedepends=('schroedinger' 'libexif' 'libdvdread' 'libvdpau' 'libmpeg2' 'python
'gobject-introspection' 'opencv' 'libtiger' 'ladspa' 'openal' 'libusb'
'bluez' 'vulkan-headers' 'vulkan-icd-loader')
options=(!emptydirs)
source=(${url}/src/$pkgname/$pkgname-$pkgver.tar.xz{,.asc})
sha256sums=('0c7857be16686d5c1ba6e34bd338664d3d4599d32714a8eca5c8a41a101e2d08'
_commit=fd178617d0fc3bed781d566def792f90d7825d01 # tags/1.14.1^0
source=("git+https://anongit.freedesktop.org/git/gstreamer/gst-plugins-bad#commit=$_commit"
"gst-common::git+https://anongit.freedesktop.org/git/gstreamer/common")
sha256sums=('SKIP'
'SKIP')
validpgpkeys=('7F4BC7CC3CA06F97336BBFEB0668CC1486C2D7B5')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgname-$pkgver
autoreconf -vi
cd $pkgname
git submodule init
git config --local submodule.common.url "$srcdir/gst-common"
git submodule update
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd $pkgname-$pkgver
cd $pkgname
./configure --prefix=/usr \
--sysconfdir=/etc \
......@@ -42,12 +53,12 @@ build() {
}
check() {
cd $pkgname-$pkgver
cd $pkgname
# don't have a camera for the camerabin test
make -k check || :
}
package() {
cd $pkgname-$pkgver
cd $pkgname
make DESTDIR="${pkgdir}" install
}
pkgbase=gst-plugins-base
pkgname=('gst-plugins-base-libs' 'gst-plugins-base')
pkgver=1.12.4
pkgver=1.14.1
pkgrel=1
pkgdesc="GStreamer Multimedia Framework Base Plugins"
url="https://gstreamer.freedesktop.org/"
arch=('x86_64')
license=('LGPL')
makedepends=('pkgconfig' 'gstreamer' 'orc' 'libxv' 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango' 'gobject-introspection' 'python2')
makedepends=('pkgconfig' 'gstreamer' 'orc' 'libxv' 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango' 'gobject-introspection' 'python2' 'iso-codes' 'libgudev' 'mesa')
options=(!emptydirs)