summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeveren Redwood2016-04-02 18:06:20 +1300
committerSeveren Redwood2016-04-02 18:06:20 +1300
commit4ff805b2668a06ff6eda89e2706127335c881427 (patch)
tree21eccd1bce50d430381be41efea7ba51d0fd9bf4
parentcdc627a1aaeb1936cb31ddc11f75bb9b45c6ca5c (diff)
downloadaur-4ff805b2668a06ff6eda89e2706127335c881427.tar.gz
Build shared libraries
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD31
2 files changed, 26 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index da008ef362d..8790bfaf4fc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,22 @@
# Generated by mksrcinfo v8
-# Sun Feb 21 14:19:05 UTC 2016
+# Sat Apr 2 05:05:43 UTC 2016
pkgbase = gtkd-git
- pkgdesc = D binding and OO wrapper of GTK+
- pkgver = r1244.b49250e
+ pkgdesc = D bindings for GTK+ and related libraries.
+ pkgver = r1258.4b67777
pkgrel = 1
- url = http://gtkd.org
- arch = i686
+ url = http://gtkd.org/
arch = x86_64
+ arch = i686
license = LGPL
- makedepends = dmd
+ makedepends = ldc
+ depends = liblphobos
depends = gtk3
optdepends = pango
optdepends = atk
optdepends = gdk-pixbuf2
optdepends = gtksourceview3
optdepends = gstreamer
+ optdepends = vte3
provides = gtkd
conflicts = gtkd
options = staticlibs
diff --git a/PKGBUILD b/PKGBUILD
index 21d037f7b23..714cead54d6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,37 +1,42 @@
# Maintainer: Severen Redwood <severen@shrike.me>
# Contributors: TingPing <tingping@tingping.se>
# Diego Cano <elkano@blep.org>
+# dsboger <https://github.com/dsboger>
# Report all package issues to `https://github.com/SShrike/pkgbuilds`
pkgname=gtkd-git
-pkgver=r1244.b49250e
+pkgver=r1258.4b67777
pkgrel=1
-pkgdesc='D binding and OO wrapper of GTK+'
-url='http://gtkd.org'
-options=('staticlibs')
+pkgdesc='D bindings for GTK+ and related libraries.'
+url='http://gtkd.org/'
license=('LGPL')
-arch=('i686' 'x86_64')
+options=('staticlibs')
+arch=('x86_64' 'i686')
provides=('gtkd')
conflicts=('gtkd')
-depends=('gtk3')
-makedepends=('dmd')
-optdepends=('pango' 'atk' 'gdk-pixbuf2' 'gtksourceview3' 'gstreamer')
+depends=('liblphobos' 'gtk3')
+makedepends=('ldc') # LDC is currently required to build shared libs.
+optdepends=('pango' 'atk' 'gdk-pixbuf2' 'gtksourceview3' 'gstreamer' 'vte3')
source=('git://github.com/gtkd-developers/GtkD.git')
md5sums=('SKIP')
pkgver() {
- cd GtkD
+ cd 'GtkD'
+
echo r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
build() {
- cd GtkD
- make gtkd
+ cd 'GtkD'
+
+ LDFLAGS='' DC='ldc' make all
}
package() {
- cd GtkD
- make prefix="/usr" DESTDIR="${pkgdir}/" install
+ cd 'GtkD'
+
+ make prefix='/usr' DESTDIR="${pkgdir}/" install install-gstreamer \
+ install-vte install-shared install-shared-gstreamer install-shared-vte
}
# vim:set ts=2 sw=2 et: