52 lines
2.4 KiB
Bash
52 lines
2.4 KiB
Bash
# Template file for 'gst-plugins-bad1'
|
|
pkgname=gst-plugins-bad1
|
|
version=1.16.1
|
|
revision=2
|
|
wrksrc="${pkgname/1/}-${version}"
|
|
build_helper="gir"
|
|
build_style=meson
|
|
configure_args="-Dpackage-origin=https://voidlinux.org -Dgtk_doc=false
|
|
-Dopencv=disabled -Dmsdk=disabled -Dopensles=disabled -Dtinyalsa=disabled
|
|
-Dwasapi=disabled -Dnvenc=disabled -Dnvdec=disabled -Ddc1394=disabled
|
|
-Diqa=disabled -Dkate=disabled -Dlibde265=disabled -Dmpeg2enc=disabled
|
|
-Dmplex=disabled -Dmusepack=disabled -Dofa=disabled -Dopenexr=disabled
|
|
-Dopenh264=disabled -Dopenmpt=disabled -Dopenni2=disabled -Dsctp=disabled
|
|
-Dsrt=disabled -Dteletext=disabled -Dvoaacenc=disabled -Dvoamrwbenc=disabled
|
|
-Dwildmidi=disabled -Dwpe=disabled
|
|
-Ddirectfb=disabled -Dintrospection=$(vopt_if gir enabled disabled)"
|
|
hostmakedepends="automake gettext-devel libtool pkg-config python glib-devel
|
|
orc wayland-devel"
|
|
makedepends="alsa-lib-devel celt-devel libressl-devel exempi-devel
|
|
gst-plugins-base1-devel libdca-devel orc-devel libmms-devel
|
|
libexif-devel libmpcdec-devel faac-devel SDL-devel libpng-devel
|
|
faad2-devel libdvdread-devel libdvdnav-devel librsvg-devel libsndfile-devel
|
|
xvidcore-devel jasper-devel libmodplug-devel neon-devel libcurl-devel
|
|
libvdpau-devel libgsm-devel librtmp-devel libass-devel libvpx-devel
|
|
soundtouch-devel opus-devel libwebp-devel wayland-devel x265-devel
|
|
libsrtp-devel libopenal-devel gtk+3-devel libnice-devel libbluetooth-devel
|
|
libgudev-devel libusb-devel libaom-devel libbs2b-devel chromaprint-devel
|
|
fdk-aac-devel flite-devel fluidsynth-devel libgme-devel liblrdf-devel
|
|
ladspa-sdk lilv-devel lv2 libopenjpeg2-devel sbc-devel spandsp-devel
|
|
vulkan-loader Vulkan-Headers webrtc-audio-processing-devel libzbar-devel
|
|
ffmpeg-devel"
|
|
depends="gst-plugins-base1>=${version}"
|
|
short_desc="GStreamer plugins from the bad set (v1.x)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://gstreamer.freedesktop.org"
|
|
distfiles="${homepage}/src/${pkgname/1/}/${pkgname/1/}-${version}.tar.xz"
|
|
checksum=56481c95339b8985af13bac19b18bc8da7118c2a7d9440ed70e7dcd799c2adb5
|
|
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
gst-plugins-bad1-devel_package() {
|
|
depends="gst-plugins-base1-devel>=${version} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/*.so
|
|
vmove "usr/share/gir*"
|
|
}
|
|
}
|