diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-05-24 01:19:24 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-07 05:43:59 -0300 |
commit | e4b87547856ba9c9cbb377f7bbb1ebcd67ab568d (patch) | |
tree | 1b601eb8d2ed9ab7adcf248a245dd4dc08dd6ecc /testing/gnome-builder | |
parent | 6e41cd72bc498cbd2c45cc4a9348d71e13437aa8 (diff) | |
download | aports-e4b87547856ba9c9cbb377f7bbb1ebcd67ab568d.tar.bz2 aports-e4b87547856ba9c9cbb377f7bbb1ebcd67ab568d.tar.xz |
testing/gnome-builder: new aport
Diffstat (limited to 'testing/gnome-builder')
-rw-r--r-- | testing/gnome-builder/APKBUILD | 46 | ||||
-rw-r--r-- | testing/gnome-builder/fix-appdata.patch | 38 | ||||
-rw-r--r-- | testing/gnome-builder/musl-wordsize.patch | 41 |
3 files changed, 125 insertions, 0 deletions
diff --git a/testing/gnome-builder/APKBUILD b/testing/gnome-builder/APKBUILD new file mode 100644 index 0000000000..9d184c68de --- /dev/null +++ b/testing/gnome-builder/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +pkgname=gnome-builder +pkgver=3.30.3 +pkgrel=0 +pkgdesc="Develop software for GNOME" +url="https://wiki.gnome.org/Apps/Builder" +arch="all !aarch64" # 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 pcre-dev gtkmm3-dev + vte3-dev vala gobject-introspection-dev ctags clang-dev flatpak-dev + libexecinfo-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 + musl-wordsize.patch + fix-appdata.patch" + +build() { + export LIBS="$LIBS -lexecinfo" + meson \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + . 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="468605dbd2bd712a76c333a974bb19ca889dfe8493c2e85101641034f3e2c8eba2c0ee2f98ad01f3466f0f42946f05790763ccfaf786d73da192d64360eec47f gnome-builder-3.30.3.tar.xz +5e422cdcf4cf6da968630afaf5b1a9a363d87ad577eb01c81fa2c1bfadbfe81ba1b20a516402edab5d505f5ba75ed53da6452b677c971f0e4b16b56c60238a95 musl-wordsize.patch +885daaecad993f313652c40fec120876678c401967bdc0cc8ed947ef4334b21ed62f9e77a2898c8ddaf2d5d18ee8e69a76cdb87edb8e361c2b677efc8760700c fix-appdata.patch" diff --git a/testing/gnome-builder/fix-appdata.patch b/testing/gnome-builder/fix-appdata.patch new file mode 100644 index 0000000000..a394cd9a31 --- /dev/null +++ b/testing/gnome-builder/fix-appdata.patch @@ -0,0 +1,38 @@ +Why, oh why would you point these to master, upstream... +--- a/data/org.gnome.Builder.appdata.xml.in ++++ b/data/org.gnome.Builder.appdata.xml.in +@@ -39,27 +39,27 @@ + <screenshots> + <screenshot type="default"> + <caption>Quickly access your projects</caption> +- <image width="1600" height="900">https://gitlab.gnome.org/GNOME/gnome-builder/raw/master/data/appdata/01-greeter.png</image> ++ <image width="2400" height="1350">https://gitlab.gnome.org/GNOME/gnome-builder/raw/master/data/appdata/01-greeter.png</image> + </screenshot> + <screenshot type="default"> + <caption>Create new projects from a variety of templates</caption> +- <image width="1600" height="900">https://gitlab.gnome.org/GNOME/gnome-builder/raw/master/data/appdata/02-template.png</image> ++ <image width="2400" height="1350">https://gitlab.gnome.org/GNOME/gnome-builder/raw/master/data/appdata/02-template.png</image> + </screenshot> + <screenshot type="default"> + <caption>Integration with Git to clone your projects</caption> +- <image width="1600" height="900">https://gitlab.gnome.org/GNOME/gnome-builder/raw/master/data/appdata/03-clone.png</image> ++ <image width="2400" height="1350">https://gitlab.gnome.org/GNOME/gnome-builder/raw/master/data/appdata/03-clone.png</image> + </screenshot> + <screenshot type="default"> + <caption>The source code editor</caption> +- <image width="1600" height="900">https://gitlab.gnome.org/GNOME/gnome-builder/raw/master/data/appdata/04-editor.png</image> ++ <image width="2400" height="1350">https://gitlab.gnome.org/GNOME/gnome-builder/raw/master/data/appdata/04-editor.png</image> + </screenshot> + <screenshot type="default"> + <caption>Fast global fuzzy search</caption> +- <image width="1600" height="900">https://gitlab.gnome.org/GNOME/gnome-builder/raw/master/data/appdata/05-search.png</image> ++ <image width="2400" height="1350">https://gitlab.gnome.org/GNOME/gnome-builder/raw/master/data/appdata/05-search.png</image> + </screenshot> + <screenshot type="default"> + <caption>Debug with the GNU debugger</caption> +- <image width="1600" height="900">https://git.gnome.org/browse/gnome-builder/plain/data/appdata/06-debugger.png</image> ++ <image width="2400" height="1350">https://gitlab.gnome.org/GNOME/gnome-builder/raw/master/data/appdata/06-debugger.png</image> + </screenshot> + </screenshots> + + diff --git a/testing/gnome-builder/musl-wordsize.patch b/testing/gnome-builder/musl-wordsize.patch new file mode 100644 index 0000000000..22353fdc31 --- /dev/null +++ b/testing/gnome-builder/musl-wordsize.patch @@ -0,0 +1,41 @@ +--- a/src/plugins/sysprof/gbp-sysprof-plugin.c 2018-03-14 03:10:22.000000000 +0100 ++++ a/src/plugins/sysprof/gbp-sysprof-plugin.c 2018-04-10 15:20:46.416250960 +0200 +@@ -16,6 +16,11 @@ + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + ++#include <stdlib.h> ++#if !defined(__GLIBC__) ++#include <bits/reg.h> /* for __WORDSIZE */ ++#endif ++ + #include <libpeas/peas.h> + #include <ide.h> + #include <sysprof.h> +--- a/src/plugins/sysprof/gbp-sysprof-perspective.c 2018-03-14 03:10:22.000000000 +0100 ++++ a/src/plugins/sysprof/gbp-sysprof-perspective.c 2018-04-10 15:12:49.793279369 +0200 +@@ -17,6 +17,10 @@ + */ + + #define G_LOG_DOMAIN "gbp-sysprof-perspective" ++#include <stdlib.h> ++#if !defined(__GLIBC__) ++#include <bits/reg.h> /* for __WORDSIZE */ ++#endif + + #include <glib/gi18n.h> + #include <sysprof.h> +--- a/src/plugins/sysprof/gbp-sysprof-workbench-addin.c 2018-03-14 03:10:22.000000000 +0100 ++++ a/src/plugins/sysprof/gbp-sysprof-workbench-addin.c 2018-04-10 15:19:28.473255605 +0200 +@@ -16,6 +16,11 @@ + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + ++#include <stdlib.h> ++#if !defined(__GLIBC__) ++#include <bits/reg.h> /* for __WORDSIZE */ ++#endif ++ + #include <glib/gi18n.h> + #include <sysprof.h> + |