53 lines
1.7 KiB
Plaintext
53 lines
1.7 KiB
Plaintext
# Template file for 'gst-plugins-base1'.
|
|
pkgname=gst-plugins-base1
|
|
version=1:1.4.4
|
|
revision=1
|
|
wrksrc="${pkgname/1/}-${version#*:}"
|
|
build_style=gnu-configure
|
|
configure_args="--enable-experimental --disable-static
|
|
$(vopt_enable gir introspection) $(vopt_enable cdparanoia cdparanoia)"
|
|
hostmakedepends="automake gettext-devel libtool python pkg-config glib-devel"
|
|
makedepends="
|
|
gstreamer1-devel>=${version} glib-devel libxml2-devel pango-devel
|
|
cairo-devel liboil-devel alsa-lib-devel libXv-devel libXext-devel
|
|
libvisual-devel libgudev-devel libtheora-devel libvorbis-devel
|
|
libSM-devel orc-devel>=0.4.18 $(vopt_if cdparanoia cdparanoia-devel)
|
|
$(vopt_if gir gobject-introspection)"
|
|
depends="orc>=0.4.18 gstreamer1>=${version}"
|
|
short_desc="GStreamer Base Plug-ins (v1.x)"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://gstreamer.freedesktop.org/"
|
|
update_pkgname="gst-plugins-base"
|
|
license="GPL-2, LGPL-2.1"
|
|
distfiles="http://gstreamer.freedesktop.org/src/${pkgname/1/}/${pkgname/1/}-${version#*:}.tar.xz"
|
|
checksum=49cd9e8f23c416b1607b43837a09833fa03e0106929d81ead2ddfde6c0ade44b
|
|
|
|
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
|
CFLAGS="-msse2"
|
|
fi
|
|
|
|
# Package build options
|
|
build_options="cdparanoia gir"
|
|
# Disable options for cross builds.
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="cdparanoia gir"
|
|
fi
|
|
|
|
pre_configure() {
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
}
|
|
|
|
gst-plugins-base1-devel_package() {
|
|
depends="gstreamer1-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 [ "$build_option_gir" ]; then
|
|
vmove "usr/share/gir*"
|
|
fi
|
|
}
|
|
}
|