mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/gtk4 to 4.6.0-1
This commit is contained in:
parent
4ef5fee5d5
commit
2267f0f46a
1 changed files with 26 additions and 13 deletions
|
@ -5,22 +5,23 @@
|
||||||
|
|
||||||
pkgbase=gtk4
|
pkgbase=gtk4
|
||||||
pkgname=(gtk4 gtk-update-icon-cache gtk4-docs gtk4-demos)
|
pkgname=(gtk4 gtk-update-icon-cache gtk4-docs gtk4-demos)
|
||||||
pkgver=4.4.1
|
pkgver=4.6.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
epoch=1
|
epoch=1
|
||||||
pkgdesc="GObject-based multi-platform GUI toolkit"
|
pkgdesc="GObject-based multi-platform GUI toolkit"
|
||||||
arch=(x86_64)
|
|
||||||
url="https://www.gtk.org/"
|
url="https://www.gtk.org/"
|
||||||
depends=(glib2 cairo pango fribidi gdk-pixbuf2 libepoxy libgl libegl harfbuzz
|
arch=(x86_64)
|
||||||
libxkbcommon graphene iso-codes tracker3 libcolord wayland libxrandr
|
|
||||||
libx11 libxrender libxi libxext libxcursor libxdamage libxfixes
|
|
||||||
fontconfig libxinerama libcloudproviders libcups rest json-glib
|
|
||||||
gst-plugins-bad-libs librsvg dconf shared-mime-info desktop-file-utils
|
|
||||||
adwaita-icon-theme cantarell-fonts)
|
|
||||||
makedepends=(git meson gi-docgen shaderc sassc gobject-introspection docbook-xsl
|
|
||||||
wayland-protocols)
|
|
||||||
license=(LGPL)
|
license=(LGPL)
|
||||||
_commit=3090fbac82d86543cd198ddf38d4044e05c87d91 # tags/4.4.1^0
|
depends=(glib2 cairo pango fribidi gdk-pixbuf2 libpng libtiff libjpeg libepoxy
|
||||||
|
libgl libegl harfbuzz libxkbcommon graphene iso-codes tracker3
|
||||||
|
libcolord wayland libxrandr libx11 libxrender libxi libxext libxcursor
|
||||||
|
libxdamage libxfixes fontconfig libxinerama libcloudproviders libcups
|
||||||
|
rest json-glib gst-plugins-bad-libs librsvg dconf shared-mime-info
|
||||||
|
desktop-file-utils adwaita-icon-theme cantarell-fonts)
|
||||||
|
makedepends=(git meson gi-docgen shaderc sassc gobject-introspection docbook-xsl
|
||||||
|
wayland-protocols python-gobject python-docutils)
|
||||||
|
checkdepends=(weston)
|
||||||
|
_commit=70cb61fb7104c76a15bc6494a10e6ff1d470f6d8 # tags/4.6.0^0
|
||||||
source=("git+https://github.com/GNOME/gtk.git#commit=$_commit"
|
source=("git+https://github.com/GNOME/gtk.git#commit=$_commit"
|
||||||
gtk-update-icon-cache.{hook,script} gtk4-querymodules.hook)
|
gtk-update-icon-cache.{hook,script} gtk4-querymodules.hook)
|
||||||
sha256sums=('SKIP'
|
sha256sums=('SKIP'
|
||||||
|
@ -30,7 +31,7 @@ sha256sums=('SKIP'
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd gtk
|
cd gtk
|
||||||
git describe --tags | sed 's/-/+/g'
|
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
@ -52,6 +53,18 @@ build() {
|
||||||
meson compile -C build
|
meson compile -C build
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check() (
|
||||||
|
export XDG_RUNTIME_DIR="$PWD/runtime-dir" WAYLAND_DISPLAY=wayland-5
|
||||||
|
|
||||||
|
mkdir -p -m 700 "$XDG_RUNTIME_DIR"
|
||||||
|
weston --backend=headless-backend.so --socket=$WAYLAND_DISPLAY --idle-time=0 &
|
||||||
|
_w=$!
|
||||||
|
|
||||||
|
trap "kill $_w; wait" EXIT
|
||||||
|
|
||||||
|
meson test -C build --print-errorlogs
|
||||||
|
)
|
||||||
|
|
||||||
_pick() {
|
_pick() {
|
||||||
local p="$1" f d; shift
|
local p="$1" f d; shift
|
||||||
for f; do
|
for f; do
|
||||||
|
@ -116,4 +129,4 @@ package_gtk4-demos() {
|
||||||
mv demo/* "$pkgdir"
|
mv demo/* "$pkgdir"
|
||||||
}
|
}
|
||||||
|
|
||||||
# vim:set ts=2 sw=2 et:
|
# vim:set sw=2 et:
|
||||||
|
|
Loading…
Reference in a new issue