diff options
Diffstat (limited to 'community/gnome-builder/APKBUILD')
-rw-r--r-- | community/gnome-builder/APKBUILD | 75 |
1 files changed, 55 insertions, 20 deletions
diff --git a/community/gnome-builder/APKBUILD b/community/gnome-builder/APKBUILD index 935df964cac..6ee5b1b90d5 100644 --- a/community/gnome-builder/APKBUILD +++ b/community/gnome-builder/APKBUILD @@ -1,41 +1,76 @@ # Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: team/gnome <newbyte@postmarketos.org> pkgname=gnome-builder -pkgver=3.40.1 -pkgrel=0 +pkgver=46.0 +pkgrel=2 pkgdesc="Develop software for GNOME" url="https://wiki.gnome.org/Apps/Builder" -arch="all !s390x !mips !mips64" +# limited by polkit -> flatpak +# armhf: libpeas2 +# ppc64le: libdex +arch="all !armhf !ppc64le !s390x !riscv64" 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 glade-dev pcre2-dev gtkmm3-dev - vte3-dev vala gobject-introspection-dev ctags clang-dev flatpak-dev - libexecinfo-dev libportal-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 +depends="flatpak-builder py3-lxml py3-gobject3" +makedepends=" + clang-dev + cmark-dev + ctags + desktop-file-utils + devhelp-dev + d-spy-dev + editorconfig-dev + enchant2-dev + flatpak-dev + glib-dev + gobject-introspection-dev + gspell-dev + gtk4.0-dev + gtkmm3-dev + gtksourceview5-dev + json-glib-dev + jsonrpc-glib-dev + libadwaita-dev + libdazzle-dev + libdex-dev + libgit2-glib-dev + libpanel-dev + libpeas2-dev + libportal-dev + libxml2-dev + llvm-dev + meson + pango-dev + pcre2-dev + template-glib-dev + vala + vte3-dev + webkit2gtk-6.0-dev + " +checkdepends="appstream-glib xvfb-run mesa-dri-gallium" +subpackages="$pkgname-pyc $pkgname-dev $pkgname-lang" +source=" + https://download.gnome.org/sources/gnome-builder/${pkgver%.*}/gnome-builder-$pkgver.tar.xz " build() { - export LIBS="$LIBS -lexecinfo" abuild-meson \ + -Db_lto=true \ -Dplugin_sysprof=false \ + -Dtracing=false \ . output - meson compile ${JOBS:+-j ${JOBS}} -C output + meson compile -C output } check() { # Increase the timeout, this can take pretty long, especially on armhf - xvfb-run meson test -C output -t 10 + dbus-run-session -- \ + xvfb-run -a meson test --print-errorlogs -C output -t 10 } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } -sha512sums="aa53a883286a56c5548f30521b5c0c6980d7d53b4c43771da6049e2605ef8f802a1a0079c4347c03dd85545a69d225cf49c162bf2669bb56307f3543597e9083 gnome-builder-3.40.1.tar.xz -ef7f75d316558e59ecb07b4fc8ef92abc51d78d6983021588546fadb57f90d971561be1f2491a2750e61e07c6d6200f3c199dab3db1060a2217ccbdb2505239e fix-musl.patch" +sha512sums=" +50993e61193c86cc2d18a9c20c4ebb0bd1c41df8e15a1a82a86cde8f69e99cedebf440ee717b4ddae8e03cc69881c872804cb04ea361c4905eef16dbc03fec65 gnome-builder-46.0.tar.xz +" |