| 1 | TERMUX_PKG_HOMEPAGE=https://gstreamer.freedesktop.org/ |
| 2 | TERMUX_PKG_DESCRIPTION="GStreamer Bad Plug-ins" |
| 3 | TERMUX_PKG_VERSION=1.8.3 |
| 4 | TERMUX_PKG_SRCURL=https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${TERMUX_PKG_VERSION}.tar.xz |
| 5 | TERMUX_PKG_BUILD_IN_SRC=yes |
| 6 | TERMUX_PKG_DEPENDS="gst-plugins-base" |
| 7 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-tests --disable-examples" |
| 8 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --disable-android_media" |
| 9 | |
| 10 | termux_step_pre_configure () { |
| 11 | # Missing file - bug in the the source distribution? |
| 12 | # Reported at https://bugzilla.gnome.org/show_bug.cgi?id=770326 |
| 13 | # and scheduled to be fixed in 1.9.2 (note that 1.9 is an unstable |
| 14 | # series). |
| 15 | termux_download https://raw.githubusercontent.com/GStreamer/gst-plugins-bad/master/sys/opensles/opensles.h \ |
| 16 | $TERMUX_PKG_SRCDIR/sys/opensles/opensles.h |
| 17 | } |