rhythmbox: enable gir for cross

This commit is contained in:
Đoàn Trần Công Danh 2020-07-05 18:07:41 +07:00
parent cc75a9d8a6
commit 8c7af18195

View file

@ -1,11 +1,14 @@
# Template file for 'rhythmbox'
pkgname=rhythmbox
version=3.4.4
revision=1
revision=2
build_style=gnu-configure
configure_args="--disable-static --disable-schemas-compile --with-gudev
--without-hal $(vopt_if gir --enable-vala)"
hostmakedepends="pkg-config intltool gnome-doc-utils itstool $(vopt_if gir gobject-introspection)"
build_helper=gir
configure_args="--disable-static --with-gudev --without-hal
$(vopt_if gir --enable-vala)
ac_cv_strftime_supports_E_O=yes"
hostmakedepends="pkg-config intltool gnome-doc-utils itstool glib-devel
$(vopt_if gir 'gobject-introspection vala')"
makedepends="gtk+3-devel libsoup-gnome-devel totem-pl-parser-devel
json-glib-devel libgudev-devel libdiscid-devel vala-devel
libmtp-devel avahi-glib-libs-devel libpeas-devel brasero-devel
@ -23,11 +26,12 @@ checksum=ee0eb0d7d7bdf696ac9471b19ff3bea3240d63b6cb8a134bf632054af8665d90
python_version=3
pycompile_dirs="/usr/lib/rhythmbox/plugins /usr/lib/rhythmbox/sample-plugins"
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
build_options_default="gir"
pre_build() {
export GIR_EXTRA_LIBS_PATH="$wrksrc/shell/.libs"
}
librhythmbox_package() {
short_desc+=" - shared library"