diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-09-23 01:10:20 +0200 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2019-09-23 01:29:46 +0200 |
commit | e7b3fa3a36929a04475221f00ba1d3b8812d53f1 (patch) | |
tree | 8b31ee14abe6fb58085ad600db02afd7e5d883ed /community/gnome-builder | |
parent | 6067c4a25499eb96981b4ac4ca01115dc5cc4a18 (diff) | |
download | aports-e7b3fa3a36929a04475221f00ba1d3b8812d53f1.tar.bz2 aports-e7b3fa3a36929a04475221f00ba1d3b8812d53f1.tar.xz |
community/gnome-builder: move from testing
Diffstat (limited to 'community/gnome-builder')
-rw-r--r-- | community/gnome-builder/APKBUILD | 45 | ||||
-rw-r--r-- | community/gnome-builder/fix-musl.patch | 13 |
2 files changed, 58 insertions, 0 deletions
diff --git a/community/gnome-builder/APKBUILD b/community/gnome-builder/APKBUILD new file mode 100644 index 0000000000..84cfb74e6e --- /dev/null +++ b/community/gnome-builder/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +pkgname=gnome-builder +pkgver=3.34.0 +pkgrel=0 +pkgdesc="Develop software for GNOME" +url="https://wiki.gnome.org/Apps/Builder" +arch="all !s390x" # Lots of tests SIGSEV on aarch64 +license="GPL-3.0-or-later" +depends="devhelp flatpak-builder py3-lxml py3-gobject3" +makedepends="meson libdazzle-dev glib-dev gtk+3.0-dev gtksourceview4-dev + json-glib-dev jsonrpc-glib-dev pango-dev libpeas-dev webkit2gtk-dev + libxml2-dev libgit2-glib-dev template-glib-dev llvm-dev gspell-dev + enchant2-dev devhelp-dev sysprof-dev glade3-dev pcre2-dev gtkmm3-dev + vte3-dev vala gobject-introspection-dev ctags clang-dev flatpak-dev + libexecinfo-dev glade-dev" +checkdepends="appstream-glib desktop-file-utils xvfb-run" +subpackages="$pkgname-dev $pkgname-lang" +source="https://download.gnome.org/sources/gnome-builder/${pkgver%.*}/gnome-builder-$pkgver.tar.xz + fix-musl.patch" + +build() { + export LIBS="$LIBS -lexecinfo" + meson \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + -Dplugin_sysprof=false \ + . output + ninja -C output +} + +check() { + # Increase the timeout, this can take pretty long, especially on armhf + xvfb-run meson test -C output -t 10 +} + +package() { + DESTDIR="$pkgdir" ninja -C output install +} + +sha512sums="b699487cd4dadec46beb461bd394d2e2e1c1cae793e69a82afb5c2d38e29b7eb85d8ac84ec0b07271c88ea188899a3575711c19cf39a999d0008a2ff05ad0a8f gnome-builder-3.34.0.tar.xz +7e235b7591c73f4e19edcc9cfc17be65fa81d66ea4b098673c5750e6ab93cf8ba59a7d55d4d2f5bd44134608ad08664d905fd8e74d4941f09e6dc0257fa60547 fix-musl.patch" diff --git a/community/gnome-builder/fix-musl.patch b/community/gnome-builder/fix-musl.patch new file mode 100644 index 0000000000..1aa572d26e --- /dev/null +++ b/community/gnome-builder/fix-musl.patch @@ -0,0 +1,13 @@ +--- a/src/libide/foundry/ide-simple-build-system-discovery.c ++++ b/src/libide/foundry/ide-simple-build-system-discovery.c +@@ -27,6 +27,10 @@ + #endif + #include <fnmatch.h> + ++#if !defined(FNM_EXTMATCH) ++#define FNM_EXTMATCH 0 ++#endif ++ + #include "ide-simple-build-system-discovery.h" + + typedef struct |