aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-05-10 13:50:38 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-06-05 17:49:55 +0000
commit8387cfde9fa270b23bcdf9bcf83ae121c3441396 (patch)
tree23cbc3b01421f621c8bf12efeca85e044bea5208
parent036b2a010d918df3e2a17ed2b3cedf12f6891e3f (diff)
downloadaports-8387cfde9fa270b23bcdf9bcf83ae121c3441396.tar.bz2
aports-8387cfde9fa270b23bcdf9bcf83ae121c3441396.tar.xz
main/clutter: enable more backends
* Adopt maintainership * fix license&URL * modernize APKBUILD
-rw-r--r--main/clutter/APKBUILD39
1 files changed, 27 insertions, 12 deletions
diff --git a/main/clutter/APKBUILD b/main/clutter/APKBUILD
index f80d229eb6..e7e973af2d 100644
--- a/main/clutter/APKBUILD
+++ b/main/clutter/APKBUILD
@@ -1,27 +1,42 @@
-# Contributor:
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=clutter
pkgver=1.26.2
-pkgrel=2
+pkgrel=3
pkgdesc="Library for creating fast, visually-appealing interfaces"
-url="http://www.clutter-project.org/"
+url="https://wiki.gnome.org/Projects/Clutter"
arch="all"
-license="LGPL"
-depends_dev="gdk-pixbuf-dev json-glib-dev atk-dev pango-dev mesa-dev
- libxcomposite-dev libxi-dev cairo-dev cogl-dev"
-makedepends="$depends_dev gobject-introspection-dev intltool"
+license="LGPL-2.0-or-later"
+depends_dev="gdk-pixbuf-dev json-glib-dev atk-dev mesa-dev libxcomposite-dev
+ libxi-dev cairo-dev"
+makedepends="$depends_dev cogl-dev gtk+3.0-dev pango-dev gobject-introspection-dev intltool"
+options="!check" # need DISPLAYS
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
-builddir="$srcdir/$pkgname-$pkgver"
-
build() {
cd "$builddir"
- ./configure --prefix=/usr \
- --sysconfdir=/etc
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --with-x \
+ --enable-gdk-backend \
+ --enable-egl-backend \
+ --enable-wayland-backend \
+ --enable-x11-backend \
+ --enable-evdev-input
make
}
+check() {
+ cd "$builddir"
+ make check
+}
+
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install