# Template file for 'gst-plugins-bad1' pkgname=gst-plugins-bad1 version=1.14.4 revision=7 wrksrc="${pkgname/1/}-${version}" build_style=gnu-configure configure_args="--enable-experimental --disable-static" hostmakedepends="automake gettext-devel libtool pkg-config intltool python glib-devel gobject-introspection" 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" depends="gst-plugins-base1>=${version}" short_desc="GStreamer plugins from the bad set (v1.x)" maintainer="Juan RP " 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=910b4e0e2e897e8b6d06767af1779d70057c309f67292f485ff988d087aa0de5 lib32disabled=yes if [ "${CROSS_BUILD}" ]; then configure_args+=" --enable-introspection=no" fi 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 if [ ! "${CROSS_BUILD}" ]; then vmove "usr/share/gir*" fi } }