blob: 2570bf9dffc867bd0d15bb683b35511661b234f5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=gst-plugins-good
pkgver=1.26.1
pkgrel=0
pkgdesc="GStreamer multimedia framework - Free, well-written plugins"
url="https://gstreamer.freedesktop.org/modules/gst-plugins-good.html"
arch="all"
license="LGPL-2.1+"
depends=""
makedepends="gst-plugins-base-dev gstreamer-dev gobject-introspection-dev
orc-dev libgudev-dev v4l-utils-dev libx11-dev cairo-dev flac-dev
gdk-pixbuf-dev gtk+3.0-dev libjpeg-turbo-dev lame-dev libdv-dev
libpng-dev mpg123-dev pulseaudio-dev libraw1394-dev libiec61883-dev
libavc1394-dev libsoup-dev speex-dev taglib-dev wavpack-dev zlib-dev
bzip2-dev libxdamage-dev libxext-dev libxfixes-dev meson orc-compiler
wayland-protocols"
subpackages="$pkgname-gtk $pkgname-lang"
ldpath="/usr/lib/gstreamer-1.0"
source="https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-$pkgver.tar.xz
flvmux-disable-flaky-test.patch
"
build() {
meson setup \
-Dprefix=/usr \
-Dnls=enabled \
-Dorc=disabled \
-Dpackage-name="GStreamer Good Plugins (${DISTRO_NAME:-Adélie Linux})" \
-Dpackage-origin="${DISTRO_URL:-https://www.adelielinux.org/}" \
build
meson compile -C build
}
check() {
meson test -C build
}
package() {
DESTDIR="$pkgdir" meson install -C build
}
gtk() {
pkgdesc="$pkgdesc (Gtk+ 3 integration)"
install_if="$pkgname=$pkgver-r$pkgrel gtk+3.0"
mkdir -p "$subpkgdir"/usr/lib/gstreamer-1.0
mv "$pkgdir"/usr/lib/gstreamer-1.0/libgstgdkpixbuf.so \
"$subpkgdir"/usr/lib/gstreamer-1.0/
mv "$pkgdir"/usr/lib/gstreamer-1.0/libgstgtk.so \
"$subpkgdir"/usr/lib/gstreamer-1.0/
}
sha512sums="ce096c912e6dfdec5c6e815b712e949296a18ea358cdb124997f256b1fbf8a68db9fc75c4e05a69a2cecd20de1a6bdb3fcfe4422f6d81b6f887ee484b5d1a556 gst-plugins-good-1.26.1.tar.xz
d31d0f70703efb13fbe919f008e1029a08649d3220f5689c7aa105cbbfe3c8cda4a2ae0b01bad32cb295ea202a965cb719776bd86f463a7b78d5b091b00e0348 flvmux-disable-flaky-test.patch"
|