diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-06-15 06:35:04 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-06-15 09:23:54 +0000 |
commit | 8349b44604d4786633b630528958a53377ad8e38 (patch) | |
tree | 7afcc8a855d6f9ae0293ac89e6e38a1c721e62f1 /main/cairo | |
parent | 6fa50adc4d0ab25d2ad24df914893a3cc66d3baf (diff) | |
download | aports-8349b44604d4786633b630528958a53377ad8e38.tar.bz2 aports-8349b44604d4786633b630528958a53377ad8e38.tar.xz |
main/cairo: split out cairo-gobject
Diffstat (limited to 'main/cairo')
-rw-r--r-- | main/cairo/APKBUILD | 24 |
1 files changed, 18 insertions, 6 deletions
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 <ncopa@alpinelinux.org> 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" |