mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
extra/gst-plugins-bad to 1.9.90+20+g7dd42ae-1
This commit is contained in:
parent
8f51a55665
commit
edc4e7351c
1 changed files with 34 additions and 24 deletions
|
@ -7,41 +7,51 @@
|
|||
# - disable GL and GLX on v5/6/7
|
||||
|
||||
pkgname=gst-plugins-bad
|
||||
pkgver=1.8.3
|
||||
pkgrel=2
|
||||
pkgver=1.9.90+20+g7dd42ae
|
||||
pkgrel=1
|
||||
pkgdesc="GStreamer Multimedia Framework Bad Plugins"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('LGPL')
|
||||
url="http://gstreamer.freedesktop.org/"
|
||||
depends=(mjpegtools gst-plugins-base-libs curl chromaprint libmms faad2 faac celt libdca
|
||||
soundtouch spandsp libdvdnav libmodplug libgme wayland neon libofa fluidsynth
|
||||
openjpeg2 libwebp libsrtp gnutls wildmidi glu sbc rtmpdump libgudev graphene)
|
||||
url="https://gstreamer.freedesktop.org/"
|
||||
arch=(i686 x86_64)
|
||||
license=(LGPL)
|
||||
depends=(mjpegtools gst-plugins-base-libs curl chromaprint libmms faad2 celt libdca libdvdnav
|
||||
libmodplug libgme wayland libofa openjpeg2 libwebp libsrtp gnutls glu sbc rtmpdump
|
||||
libgudev graphene)
|
||||
makedepends=(schroedinger libexif libdvdread libvdpau libmpeg2 python wildmidi librsvg
|
||||
gobject-introspection gtk-doc gtk3 clutter libtiger ladspa openal libusb
|
||||
qt5-declarative qt5-x11extras qt5-wayland vulkan-headers vulkan-icd-loader
|
||||
zbar)
|
||||
qt5-declarative qt5-x11extras qt5-wayland vulkan-headers vulkan-icd-loader zbar
|
||||
autoconf-archive git libfdk-aac faac soundtouch spandsp fluidsynth neon)
|
||||
options=(!emptydirs)
|
||||
source=(${url}/src/$pkgname/$pkgname-$pkgver.tar.xz
|
||||
wildmidi-0.4.patch)
|
||||
sha256sums=('7899fcb18e6a1af2888b19c90213af018a57d741c6e72ec56b133bc73ec8509b'
|
||||
'b234c5d1a8b33342d9f807a46c26623e21f3d1b33a9b2903a41fadd53e0cac47')
|
||||
_commit=7dd42aee5b7dd0a83acfeae28aea3e8b723e1aa2 # master
|
||||
source=("git://anongit.freedesktop.org/gstreamer/gst-plugins-bad#commit=$_commit"
|
||||
"gst-common::git://anongit.freedesktop.org/gstreamer/common")
|
||||
sha256sums=('SKIP'
|
||||
'SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd $pkgname
|
||||
git describe --tags | sed 's/-/+/g'
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
patch -Np1 -i ../wildmidi-0.4.patch
|
||||
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
|
||||
|
||||
[[ $CARCH != "aarch64" ]] && CONFIG="--disable-gl --disable-glx --enable-gles2"
|
||||
|
||||
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
||||
--disable-static --enable-experimental --enable-gtk-doc \
|
||||
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib \
|
||||
--with-package-name="GStreamer Bad Plugins (Arch Linux)" \
|
||||
--with-package-origin="http://www.archlinux.org/" \
|
||||
--with-gtk=3.0 $CONFIG
|
||||
--with-gtk=3.0 \
|
||||
--enable-experimental --enable-gtk-doc --disable-static $CONFIG
|
||||
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
|
@ -50,12 +60,12 @@ build() {
|
|||
}
|
||||
|
||||
check() {
|
||||
cd $pkgname-$pkgver
|
||||
cd $pkgname
|
||||
# don't have a camera for the camerabin test
|
||||
make -k check || :
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make DESTDIR="${pkgdir}" install
|
||||
cd $pkgname
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue