Merge pull request #1870 from pullmoll/gir

gnome: add build option gir
This commit is contained in:
Jürgen Buchmüller 2015-06-22 13:19:49 +02:00
commit 4488a1bb2c
8 changed files with 73 additions and 24 deletions

View file

@ -1,11 +1,11 @@
# Template file for 'cheese'
pkgname=cheese
version=3.16.1
revision=1
revision=2
build_style=gnu-configure
configure_args="--disable-static --disable-schemas-compile"
hostmakedepends="pkg-config intltool gnome-doc-utils itstool
gobject-introspection"
hostmakedepends="pkg-config intltool gdk-pixbuf glib-devel
gnome-doc-utils itstool $(vopt_if gir gobject-introspection)"
makedepends="
gst-plugins-bad1-devel clutter-gtk-devel
clutter-gst-devel libgee08-devel libcanberra-devel
@ -24,11 +24,19 @@ license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=44622f6ad6d8703b22c6d40219ae317959495ccc9994b563b324592933ff90a0
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
LDFLAGS="-L${XBPS_CROSS_BASE}/usr/lib"
libcheese_package() {
short_desc+=" - shared libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
vmove usr/lib/girepository-1.0
if [ -n "$build_option_gir" ]; then
vmove usr/lib/girepository-1.0
fi
}
}
@ -43,7 +51,9 @@ cheese-devel_package() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
if [ -n "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
vmove usr/share/gtk-doc
}
}

View file

@ -1,11 +1,11 @@
# Template file for 'liferea'
pkgname=liferea
version=1.11.5
revision=1
revision=2
build_style=gnu-configure
makedepends="gtk+3-devel libxslt-devel libsoup-devel webkitgtk-devel
json-glib-devel gobject-introspection gsettings-desktop-schemas-devel
libpeas-devel python-devel sqlite-devel"
json-glib-devel $(vopt_if gir gobject-introspection)
gsettings-desktop-schemas-devel libpeas-devel python-devel sqlite-devel"
hostmakedepends="pkg-config intltool"
short_desc="GTK news aggregator"
maintainer="Enno Boland <eb@s01.de>"
@ -14,3 +14,8 @@ homepage="http://lzone.de/liferea/"
distfiles="https://github.com/lwindolf/liferea/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
checksum=25d4c2cd0fa9aa0deaa33c2b9ccd9b7a9e48a2b20848398c2249c6ae72bb6907
lib32disabled=yes
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi

View file

@ -1,9 +1,9 @@
# Template file for 'mousetweaks'
pkgname=mousetweaks
version=3.12.0
revision=2
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config intltool glib-devel gobject-introspection"
hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir gobject-introspection)"
makedepends="gsettings-desktop-schemas-devel gtk+3-devel libXtst-devel"
depends="gsettings-desktop-schemas>=3.12 desktop-file-utils"
short_desc="Mouse accessibility enhancements for the GNOME desktop"
@ -12,3 +12,8 @@ homepage="http://www.gnome.org"
license="FDL, GPL-3"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=c0db478ccb390665e3201e9d1ce08b1c6573a697b797c9e828debb94b1ae3b97
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi

View file

@ -1,11 +1,11 @@
# Template file for 'nautilus-sendto'
pkgname=nautilus-sendto
version=3.8.2
revision=2
revision=3
build_style=gnu-configure
configure_args="--disable-schemas-compile"
# XXX: add pidgin and gajim depends for plugins to work.
hostmakedepends="pkg-config intltool gobject-introspection"
hostmakedepends="pkg-config intltool $(vopt_if gir gobject-introspection)"
makedepends="evolution-data-server-devel nautilus-devel gupnp-devel"
short_desc="Nautilus context menu for sending files"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -13,3 +13,8 @@ homepage="http://download.gnome.org/sources/nautilus-sendto/"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=932811e781457b1dbf7b396e930d588f433b9ba756b10bde9f03f6d71d54bdc5
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi

View file

@ -1,11 +1,11 @@
# Template file for 'rhythmbox'
pkgname=rhythmbox
version=3.2.1
revision=1
revision=2
build_style=gnu-configure
configure_args="--disable-static --disable-schemas-compile
--with-webkit --with-gudev --without-hal --enable-vala"
hostmakedepends="pkg-config intltool gnome-doc-utils itstool gobject-introspection"
--with-webkit --with-gudev --without-hal $(vopt_if gir --enable-vala)"
hostmakedepends="pkg-config intltool gnome-doc-utils itstool $(vopt_if gir gobject-introspection)"
makedepends="gtk+3-devel libsoup-gnome-devel totem-pl-parser-devel
json-glib-devel libgudev-devel GConf-devel libdiscid-devel vala-devel
libmtp-devel avahi-glib-libs-devel libpeas-devel brasero-devel
@ -13,13 +13,18 @@ makedepends="gtk+3-devel libsoup-gnome-devel totem-pl-parser-devel
grilo-devel gst-plugins-base1-devel clutter-gtk-devel
python3.4-devel python-gobject-devel libdmapsharing-devel"
depends="gir-freedesktop desktop-file-utils hicolor-icon-theme"
short_desc="GNOME integrated music management application, inspired by Apple's iTunes"
short_desc="GNOME integrated music management application"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://www.rhythmbox.org"
distfiles="${GNOME_SITE}/${pkgname}/${version::3}/${pkgname}-${version}.tar.xz"
checksum=bf43ca4f5b7531751241f5e67eaba7da6d9748dd827a600eedf9444961537938
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
librhythmbox_package() {
short_desc+=" - shared library"
pkg_install() {
@ -32,7 +37,9 @@ rhythmbox-devel_package() {
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gir-1.0
if [ -n "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
vmove usr/share/gtk-doc
vmove "usr/lib/*.so"
}

View file

@ -1,11 +1,11 @@
# Template file for 'rygel'
pkgname=rygel
version=0.26.1
revision=1
revision=2
build_style=gnu-configure
configure_args="--enable-gst-launch-plugin"
hostmakedepends="automake libtool pkg-config intltool gettext-devel
glib-devel vala-devel gobject-introspection"
glib-devel $(vopt_if gir 'vala-devel gobject-introspection')"
makedepends="sqlite-devel gtk+3-devel
libsoup-devel libgee08-devel gupnp-av-devel
gupnp-dlna-devel tracker-devel libmediaart2-devel"
@ -18,6 +18,11 @@ license="GPL-2"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=390740609e34399b886ddb9a8f7eca25055ad72048dfdd869edf02999b1e1d8f
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
pre_configure() {
autoreconf -fi
}
@ -30,7 +35,9 @@ rygel-devel_package() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/vala
if [ -n "$build_option_gir" ]; then
vmove usr/share/vala
fi
vmove usr/share/gtk-doc
}
}

View file

@ -1,10 +1,10 @@
# Template file for 'sushi'
pkgname=sushi
version=3.16.0
revision=1
revision=2
lib32disabled=yes
build_style=gnu-configure
hostmakedepends="pkg-config intltool glib-devel gobject-introspection"
hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir gobject-introspection)"
makedepends="webkit2gtk-devel gjs-devel
gtksourceview-devel clutter-gst-devel
clutter-gtk-devel evince-devel libmusicbrainz5-devel
@ -15,3 +15,8 @@ license="GPL-2"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=86c4e22b374514492334b5fcca6f170d328dae77cfcc0acd357c5426600b0034
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi

View file

@ -1,7 +1,7 @@
# Template file for 'totem'
pkgname=totem
version=3.16.1
revision=1
revision=2
short_desc="A GNOME integrated movie player based on Gstreamer"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnome.org"
@ -14,7 +14,7 @@ configure_args="--disable-static --disable-schemas-compile
--disable-python --enable-nautilus"
hostmakedepends="pkg-config intltool gnome-doc-utils
itstool gobject-introspection"
itstool $(vopt_if gir gobject-introspection)"
# XXX missing lirc plugin.
makedepends="
@ -32,6 +32,11 @@ depends="grilo-plugins>=0.2.12 hicolor-icon-theme desktop-file-utils
# XXX reenable python plugin if pylint pkg exists.
#pycompile_dirs="usr/lib/totem/plugins"
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
libtotem_package() {
short_desc+=" - runtime library"
replaces="totem<3.6.2"