Commit c73ab454 authored by Natanael Copa's avatar Natanael Copa

main/gobject-introspection: rearrange

we use a -dev subpackage for development like we do for others.
The gobject-introspection is now the runtime only.

This should also fix issue with py-gobject pulling in -dev packages.
parent 94e9b130
......@@ -8,7 +8,7 @@ arch="all"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="glib-dev gobject-introspection"
makedepends="glib-dev gobject-introspection-dev"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
depends_dev="glib-dev"
......
......@@ -8,7 +8,7 @@ arch="all"
license="LGPL"
depends=""
depends_dev="gtk+-dev gdbm-dev"
makedepends="py-gtk-dev py-dbus-dev intltool gobject-introspection expat-dev
makedepends="py-gtk-dev py-dbus-dev intltool gobject-introspection-dev expat-dev
libdaemon-dev glib-dev dbus-dev libcap-dev gdbm-dev gtk+-dev py-gdbm"
install="$pkgname.pre-install"
pkgusers="avahi"
......
......@@ -7,7 +7,7 @@ url="http://live.gnome.org/dconf"
arch="all"
license="LGPL2.1"
depends=""
makedepends="vala gobject-introspection gtk+-dev glib-dev libxml2-dev"
makedepends="vala gobject-introspection-dev gtk+-dev glib-dev libxml2-dev"
install=
source="http://download.gnome.org/sources/dconf/0.5/dconf-$pkgver.tar.bz2
0001-Avoid-posix_fallocate-so-it-works-on-uClibc.patch
......
......@@ -11,7 +11,7 @@ depends=
depends_dev="orbit2-dev libxml2-dev gtk+-dev polkit-dev"
makedepends="$depends_dev
gobject-introspection
gobject-introspection-dev
gnome-doc-utils"
install=""
subpackages="$pkgname-dev"
......
......@@ -8,7 +8,7 @@ arch="all"
license="LGPL"
depends=
depends_dev=
makedepends="tiff-dev libpng-dev glib-dev jpeg-dev gobject-introspection"
makedepends="tiff-dev libpng-dev glib-dev jpeg-dev gobject-introspection-dev"
install="$pkgname.pre-deinstall"
triggers="$pkgname.trigger:/usr/lib/gdk-pixbuf-2.0/*/loaders"
subpackages="$pkgname-dev $pkgname-doc"
......
......@@ -7,7 +7,7 @@ url="http://live.gnome.org/GnomeBluetooth"
arch="all"
license="GPL LGPL"
depends="hicolor-icon-theme obexd-client obex-data-server"
makedepends="intltool py-gtk gobject-introspection libunique-dev libnotify-dev
makedepends="intltool py-gtk gobject-introspection-dev libunique-dev libnotify-dev
libxi-dev libxslt py-libxml2 gnome-doc-utils"
install=
subpackages="$pkgname-dev $pkgname-doc"
......
......@@ -32,7 +32,7 @@ depends_dev="gtk+-dev
libgnomekbd-dev
libxklavier-dev"
makedepends="$depends_dev intltool gobject-introspection desktop-file-utils"
makedepends="$depends_dev intltool gobject-introspection-dev desktop-file-utils"
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade"
subpackages=
source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2"
......
......@@ -25,7 +25,7 @@ depends_dev="gtk+-dev
libxdmcp-dev
libxext-dev
libxcb-dev"
makedepends="$depends_dev intltool gobject-introspection"
makedepends="$depends_dev intltool gobject-introspection-dev"
install=
subpackages="$pkgname-dev"
source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2"
......
......@@ -9,7 +9,7 @@ arch="all"
license="GPL"
depends="python"
depends_dev="libgnome-dev python-dev"
makedepends="$depends_dev intltool gobject-introspection"
makedepends="$depends_dev intltool gobject-introspection-dev"
install=
subpackages="$pkgname-dev"
source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2"
......
......@@ -18,7 +18,7 @@ depends_dev="gtk+-dev
libwnck-dev
librsvg-dev
libgweather-dev"
makedepends="$depends_dev intltool gobject-introspection"
makedepends="$depends_dev intltool gobject-introspection-dev"
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade"
subpackages="$pkgname-dev"
replaces_dev="$pkgname"
......
......@@ -29,7 +29,7 @@ depends_dev="gtk+-dev
libxcb-dev
libxrender-dev
libxrandr-dev"
makedepends="$depends_dev intltool gobject-introspection"
makedepends="$depends_dev intltool gobject-introspection-dev"
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade"
subpackages=
source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2
......
......@@ -29,7 +29,7 @@ depends_dev="gtk+-dev
libxcb-dev
libxrender-dev
libxrandr-dev"
makedepends="$depends_dev intltool gobject-introspection"
makedepends="$depends_dev intltool gobject-introspection-dev"
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade"
subpackages=
source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2"
......
......@@ -18,7 +18,7 @@ depends_dev="gtk+-dev
librsvg-dev
libxcomposite-dev
upower-dev"
makedepends="$depends_dev intltool gobject-introspection"
makedepends="$depends_dev intltool gobject-introspection-dev"
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade"
subpackages=
source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2"
......
......@@ -28,7 +28,7 @@ depends_dev="gtk+-dev
libgnomekbd-dev
libxklavier-dev"
makedepends="$depends_dev intltool gobject-introspection"
makedepends="$depends_dev intltool gobject-introspection-dev"
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade"
subpackages="$pkgname-dev"
replaces_dev="$pkgname"
......
......@@ -32,7 +32,7 @@ depends_dev="gtk+-dev
gtkmm-dev
glibmm-dev"
makedepends="$depends_dev intltool gobject-introspection desktop-file-utils gnome-icon-theme"
makedepends="$depends_dev intltool gobject-introspection-dev desktop-file-utils gnome-icon-theme"
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade"
subpackages=
source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2"
......
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gobject-introspection
pkgver=0.10.8
pkgrel=0
pkgrel=1
pkgdesc="Introspection system for GObject-based libraries"
url="http://live.gnome.org/GObjectInstrospection"
arch="all"
license="LGPL GPL"
makedepends="flex bison glib-dev libffi-dev python-dev libtool"
depends="python glib-dev libffi-dev cairo-dev"
depends_dev="python glib-dev libffi-dev cairo-dev"
makedepends="$depends_dev flex bison python-dev libtool"
depends=
replaces="libgirepository"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
# since this is a dev package by definition we dont bother separate -dev
subpackages="$pkgname-doc libgirepository"
subpackages="$pkgname-doc $pkgname-dev"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
......@@ -28,22 +30,24 @@ prepare() {
build() {
cd "$_builddir"
# export CPPFLAGS=
./configure --prefix=/usr --disable-static || return 1
# FIXME: parallel builds is broken
make -j1 || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" -name '*.la' -delete
}
libgirepository() {
pkgdesc="Runtime library for gobject-introspection"
cd "$_builddir"
install -d "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libgirepository*.so* "$subpkgdir"/usr/lib/
dev() {
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/share "$subpkgdir"/usr/ || return 1
mv "$pkgdir"/usr/lib/gobject-introspection "$subpkgdir"/usr/lib/ \
|| return 1
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ || return 1
default_dev
replaces="gobject-introspection"
}
md5sums="b5da58a5327d13b4d1e08b8e42b2456d gobject-introspection-0.10.8.tar.bz2"
......@@ -24,7 +24,7 @@ makedepends="pkgconfig
gettext-dev
glib-dev
gnutls-dev
gobject-introspection
gobject-introspection-dev
libice-dev
libiconv-dev
jpeg-dev>=8
......
......@@ -27,7 +27,7 @@ makedepends="pkgconfig
gettext-dev
glib-dev
gnutls-dev
gobject-introspection
gobject-introspection-dev
libice-dev
libiconv-dev
jpeg-dev>=8
......
......@@ -8,7 +8,7 @@ arch="all"
license="GPL"
depends=
depends_dev="gtk+-dev libxml2-dev"
makedepends="$depends_dev gobject-introspection"
makedepends="$depends_dev gobject-introspection-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.gnome.org/pub/gnome/sources/gtksourceview/${pkgver%.*}/gtksourceview-$pkgver.tar.bz2"
......
......@@ -7,7 +7,7 @@ arch="all"
url="http://live.gnome.org/JsonGlib"
license="GPL"
depends=""
makedepends="gobject-introspection glib-dev"
makedepends="gobject-introspection-dev glib-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.gnome.org/pub/GNOME/sources/json-glib/0.12/json-glib-$pkgver.tar.bz2"
......
......@@ -25,7 +25,7 @@ depends_dev="gtk+-dev
libxdmcp-dev
libxext-dev
libxcb-dev"
makedepends="$depends_dev intltool gobject-introspection"
makedepends="$depends_dev intltool gobject-introspection-dev"
install=
subpackages="$pkgname-dev"
source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2"
......
......@@ -17,7 +17,7 @@ depends_dev="gtk+-dev
libwnck-dev
librsvg-dev
libxcomposite-dev"
makedepends="$depends_dev intltool gobject-introspection"
makedepends="$depends_dev intltool gobject-introspection-dev"
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade"
subpackages="$pkgname-dev"
replaces_dev="$pkgname"
......
......@@ -25,7 +25,7 @@ depends_dev="gtk+-dev
libxdmcp-dev
libxext-dev
libxcb-dev"
makedepends="$depends_dev intltool gobject-introspection"
makedepends="$depends_dev intltool gobject-introspection-dev"
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade"
subpackages="$pkgname-dev"
source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2"
......
......@@ -9,7 +9,7 @@ license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="pkgconfig glib-dev cairo-dev libxft-dev gettext-dev libiconv-dev
expat-dev gobject-introspection"
expat-dev gobject-introspection-dev"
install="pango.post-install $pkgname.pre-deinstall"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
......
......@@ -10,7 +10,7 @@ arch="all"
license="LGPL"
depends=
makedepends="expat-dev glib-dev eggdbus-dev intltool dbus-glib-dev autoconf
libtool automake gtk-doc gobject-introspection"
libtool automake gtk-doc gobject-introspection-dev"
depends_dev="eggdbus-dev dbus-glib-dev"
install=
subpackages="$pkgname-dev $pkgname-doc"
......
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-gobject
pkgver=2.26.0
pkgrel=2
pkgrel=3
pkgdesc="Python bindings for the GObject library"
url="http://www.pygtk.org/"
arch="all"
license="GPL"
depends=
makedepends="python-dev glib-dev py-cairo-dev gobject-introspection"
makedepends="python-dev glib-dev py-cairo-dev gobject-introspection-dev"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.gnome.org/pub/GNOME/sources/pygobject/${pkgver%.*}/pygobject-$pkgver.tar.bz2"
......
......@@ -8,7 +8,7 @@ arch="all"
license="GPL"
subpackages="$pkgname-dev $pkgname-doc libudev libgudev"
depends=
makedepends="gobject-introspection glib-dev gperf acl-dev libusb-compat-dev
makedepends="gobject-introspection-dev glib-dev gperf acl-dev libusb-compat-dev
usbutils pciutils-dev libtool"
install=
source="http://www.kernel.org/pub/linux/utils/kernel/hotplug/$pkgname-$pkgver.tar.bz2
......
......@@ -14,7 +14,7 @@ makedepends="
zlib-dev libgcrypt-dev libgpg-error-dev expat-dev e2fsprogs-dev
enchant-dev libxi-dev libxrandr-dev libxcursor-dev libxdamage-dev
libxcomposite-dev gstreamer-dev gst-plugins-base-dev
gobject-introspection perl-switch
gobject-introspection-dev perl-switch
"
install=
subpackages="$pkgname-dev gtklauncher"
......
......@@ -9,7 +9,7 @@ arch="all"
license="LGPL"
depends=
depends_dev="gdk-pixbuf-dev json-glib-dev atk-dev pango-dev mesa-dev libxcomposite-dev cairo-dev"
makedepends="$depends_dev gobject-introspection intltool"
makedepends="$depends_dev gobject-introspection-dev intltool"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2"
......
......@@ -9,7 +9,7 @@ arch=""
license="LGPL"
depends="xulrunner"
depends_dev="xulrunner-dev gtk+-dev glib-dev cairo-dev dbus-glib-dev nspr-dev"
makedepends="$depends_dev gobject-introspection"
makedepends="$depends_dev gobject-introspection-dev"
install=""
subpackages="$pkgname-dev"
source="ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2"
......
......@@ -2,14 +2,14 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=mutter
pkgver=2.31.5
pkgrel=1
pkgrel=2
pkgdesc="clutter-based window manager for GNOME"
url="http://www.gnome.org/"
arch="all"
license="GPL"
depends="zenity"
depends_dev="clutter-dev libcanberra-dev gconf-dev startup-notification-dev python-dev"
makedepends="$depends_dev gobject-introspection intltool gnome-doc-utils"
makedepends="$depends_dev gobject-introspection-dev intltool gnome-doc-utils"
install="$pkgname.pre-deinstall $pkgname.post-install $pkgname.post-upgrade"
subpackages="$pkgname-dev $pkgname-doc"
source="ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2
......
......@@ -7,7 +7,7 @@ url="http://www.freedesktop.org/wiki/Software/PolicyKit"
arch="all"
license="LGPL"
depends=""
makedepends="polkit-dev gtk+-dev gobject-introspection"
makedepends="polkit-dev gtk+-dev gobject-introspection-dev"
subpackages="$pkgname-dev"
source="http://hal.freedesktop.org/releases/polkit-gnome-$pkgver.tar.bz2"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment