gst-plugins-base1: enable gir
This commit is contained in:
parent
534a8df7fe
commit
af9aaf8d67
1 changed files with 18 additions and 7 deletions
|
@ -1,13 +1,14 @@
|
|||
# Template file for 'gst-plugins-base1'.
|
||||
# Template file for 'gst-plugins-base1'
|
||||
pkgname=gst-plugins-base1
|
||||
version=1.14.4
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="${pkgname/1/}-${version}"
|
||||
build_style=gnu-configure
|
||||
build_helper="gir"
|
||||
configure_args="--enable-experimental --disable-static
|
||||
$(vopt_enable gir introspection) $(vopt_enable cdparanoia)"
|
||||
hostmakedepends="automake gettext-devel libtool python pkg-config
|
||||
glib-devel $(vopt_if gir gobject-introspection)"
|
||||
glib-devel"
|
||||
makedepends="
|
||||
gstreamer1-devel glib-devel libxml2-devel pango-devel
|
||||
cairo-devel liboil-devel alsa-lib-devel libXv-devel libXext-devel
|
||||
|
@ -28,15 +29,25 @@ esac
|
|||
|
||||
# Package build options
|
||||
build_options="cdparanoia gir"
|
||||
# Disable options for cross builds.
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default="cdparanoia gir"
|
||||
fi
|
||||
build_options_default="cdparanoia"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64-musl) build_options_default+=" gir" ;;
|
||||
*-musl) ;;
|
||||
*) build_options_default+=" gir" ;;
|
||||
esac
|
||||
|
||||
|
||||
pre_configure() {
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
pre_build() {
|
||||
vsed \
|
||||
-e '/--library/a --library-path="$(top_builddir)/gst-libs/gst/sdp/.libs" \\' \
|
||||
-i gst-libs/gst/rtsp/Makefile
|
||||
}
|
||||
|
||||
gst-plugins-base1-devel_package() {
|
||||
depends="gstreamer1-devel>=${version} ${sourcepkg}>=${version}_${revision} orc-devel"
|
||||
short_desc+=" - development files"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue