void-packages/srcpkgs/gst-plugins-bad1/template

40 lines
1.5 KiB
Plaintext

# Template file for 'gst-plugins-bad1'.
pkgname=gst-plugins-bad1
version=1:1.2.4
revision=2
wrksrc="${pkgname/1/}-${version#*:}"
lib32disabled=yes
build_style=gnu-configure
configure_args="--enable-experimental --disable-static"
hostmakedepends="automake gettext-devel libtool pkg-config intltool python glib-devel"
makedepends="alsa-lib-devel celt-devel libressl-devel exempi-devel
gst-plugins-base1-devel>=${version} libdca-devel orc-devel>=0.4.18 libmms-devel
libexif-devel libmpcdec-devel faac-devel SDL-devel libpng-devel>=1.5.10
faad2-devel libdvdread-devel libdvdnav-devel librsvg-devel libsndfile-devel
xvidcore-devel jasper-devel libmodplug-devel neon-devel libcurl-devel
libvpx-devel libvdpau-devel libgsm-devel librtmp-devel libass-devel
mpg123-devel soundtouch-devel opus-devel libwebp-devel>=0.4.0 wayland-devel
libsrtp-devel"
depends="gst-plugins-base1>=${version}"
short_desc="GStreamer plugins from the bad set (v1.x)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
homepage="http://gstreamer.freedesktop.org"
distfiles="$homepage/src/${pkgname/1/}/${pkgname/1/}-${version#*:}.tar.xz"
checksum=984c133ec9d5d705e313d9e2bbd1472b93c6567460602a9a316578925ffe2eca
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
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/gtk-doc
}
}