[arch-commits] Commit in gnome-builder/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Sat Sep 23 22:00:29 UTC 2017
Date: Saturday, September 23, 2017 @ 22:00:28
Author: jgc
Revision: 306151
upgpkg: gnome-builder 3.26.0+65+g2cfefd154-1
Add bubblewrap dependency (FS#55686)
Modified:
gnome-builder/trunk/PKGBUILD
----------+
PKGBUILD | 48 +++++++++++++++++++++++++++---------------------
1 file changed, 27 insertions(+), 21 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-23 21:58:25 UTC (rev 306150)
+++ PKGBUILD 2017-09-23 22:00:28 UTC (rev 306151)
@@ -2,23 +2,30 @@
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
pkgname=gnome-builder
-pkgver=3.24.2
-pkgrel=3
+pkgver=3.26.0+65+g2cfefd154
+pkgrel=1
pkgdesc="An IDE for writing GNOME-based software"
url="https://wiki.gnome.org/Apps/Builder"
arch=(i686 x86_64)
license=(GPL3)
depends=(gtksourceview3 devhelp libgit2-glib gjs python-gobject clang desktop-file-utils
- ctags libpeas vte3 vala python-jedi autoconf-archive sysprof flatpak gspell)
+ ctags libpeas vte3 vala python-jedi autoconf-archive sysprof flatpak gspell libdazzle)
makedepends=(intltool llvm gobject-introspection gtk-doc yelp-tools appstream-glib vala git
- mm-common)
+ mm-common meson)
optdepends=('gnome-code-assistance: Legacy assistance services')
groups=(gnome-extra)
-_commit=fdf02de8614a675e3786006959251edf8b9de6de # tags/GNOME_BUILDER_3_24_2^0
-source=("git+https://git.gnome.org/browse/gnome-builder#commit=$_commit")
-sha256sums=('SKIP')
+_commit=2cfefd154bcedf36720cd830473fe74ba252f702 # gnome-builder-3-26
+source=("git+https://git.gnome.org/browse/gnome-builder#commit=$_commit"
+ "git+https://git.gnome.org/browse/libgd"
+ "git+https://git.gnome.org/browse/jsonrpc-glib"
+ "git+https://git.gnome.org/browse/template-glib"
+ "git+https://git.gnome.org/browse/libdazzle")
+sha256sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP')
-
pkgver() {
cd $pkgname
git describe --tags | sed 's/^GNOME_BUILDER_//;s/_/./g;s/-/+/g'
@@ -25,24 +32,23 @@
}
prepare() {
+ mkdir build
cd $pkgname
- NOCONFIGURE=1 ./autogen.sh
+ git submodule init
+ git config --local submodule.subprojects/libgd.url "$srcdir/libgd"
+ git config --local submodule.subprojects/jsonrpc-glib.url "$srcdir/jsonrpc-glib"
+ git config --local submodule.subprojects/template-glib.url "$srcdir/template-glib"
+ git config --local submodule.subprojects/libdazzle.url "$srcdir/libdazzle"
+ git submodule update
}
build() {
- cd $pkgname
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --libexecdir=/usr/lib --enable-gtk-doc --enable-meson-templates
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
+ cd build
+ meson setup --prefix=/usr --buildtype=release --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib ../$pkgname
+ ninja
}
-check() {
- cd $pkgname
- make -k check || :
-}
-
package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
+ cd build
+ DESTDIR="$pkgdir" ninja install
}
More information about the arch-commits
mailing list