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