From 8349b44604d4786633b630528958a53377ad8e38 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 15 Jun 2011 06:35:04 +0000 Subject: main/cairo: split out cairo-gobject --- main/cairo/APKBUILD | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) (limited to 'main/cairo') diff --git a/main/cairo/APKBUILD b/main/cairo/APKBUILD index 13d3729564..f9c6c5c36a 100644 --- a/main/cairo/APKBUILD +++ b/main/cairo/APKBUILD @@ -1,18 +1,16 @@ # Maintainer: Natanael Copa pkgname=cairo pkgver=1.10.2 -pkgrel=7 +pkgrel=8 pkgdesc="Cairo vector graphics library" url="http://cairographics.org/" arch="all" license="LGPL MPL" -subpackages="$pkgname-dev $pkgname-doc" depends= -makedepends="pkgconfig libpng-dev libxrender-dev fontconfig pixman-dev - xcb-util-dev fontconfig-dev freetype-dev expat-dev zlib-dev - libiconv-dev mesa-dev glib-dev" depends_dev="fontconfig-dev freetype-dev libpng-dev libxrender-dev pixman-dev - xcb-util-dev mesa-dev glib-dev" + xcb-util-dev glib-dev" +makedepends="$depends_dev zlib-dev expat-dev" +subpackages="$pkgname-dev $pkgname-doc $pkgname-gobject $pkgname-tools" source="http://cairographics.org/releases/$pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver @@ -34,4 +32,18 @@ package() { make DESTDIR="$pkgdir" install || return 1 } +gobject() { + pkgdesc="GObject bindings for cairo" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libcairo-gobject.so.* "$subpkgdir"/usr/lib/ +} + +tools() { + pkgdesc="Development tools for cairo" + mkdir -p "$subpkgdir"/usr/lib/cairo + mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ || return 1 + mv "$pkgdir"/usr/lib/cairo/libcairo-trace.* \ + "$subpkgdir"/usr/lib/cairo/ +} + md5sums="f101a9e88b783337b20b2e26dfd26d5f cairo-1.10.2.tar.gz" -- cgit v1.2.3