summaryrefslogtreecommitdiff
path: root/user/i3wm
diff options
context:
space:
mode:
Diffstat (limited to 'user/i3wm')
-rw-r--r--user/i3wm/APKBUILD34
-rw-r--r--user/i3wm/i3wm-test-disable-branch-check.patch10
2 files changed, 16 insertions, 28 deletions
diff --git a/user/i3wm/APKBUILD b/user/i3wm/APKBUILD
index ccbb5f9e5..1f6414355 100644
--- a/user/i3wm/APKBUILD
+++ b/user/i3wm/APKBUILD
@@ -2,45 +2,43 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=i3wm
-pkgver=4.17.1
+pkgver=4.19.2
pkgrel=0
pkgdesc="Improved dynamic tiling window manager"
url="https://i3wm.org"
arch="all"
-license="BSD-3-Clause"
options="!check" # The test suite requires X
-makedepends="bison flex libxcb-dev xcb-util-cursor-dev xcb-util-keysyms-dev
- xcb-util-wm-dev libev-dev pango-dev cairo-dev yajl-dev
- startup-notification-dev pcre-dev libxkbcommon-dev xcb-util-xrm-dev"
+license="BSD-3-Clause"
+depends=""
checkdepends="perl-x11-xcb perl-anyevent perl-json-xs perl-ipc-run
perl-inline-c perl-dev libxcb-dev xcb-util-dev xorg-server-xephyr"
+makedepends="meson ninja bison flex libxcb-dev xcb-util-cursor-dev
+ xcb-util-keysyms-dev xcb-util-wm-dev libev-dev pango-dev cairo-dev
+ yajl-dev startup-notification-dev pcre-dev libxkbcommon-dev
+ xcb-util-xrm-dev"
subpackages="$pkgname-doc"
-source="https://i3wm.org/downloads/i3-$pkgver.tar.bz2
+source="https://i3wm.org/downloads/i3-$pkgver.tar.xz
i3wm-musl-glob-tilde.patch
- i3wm-test-fix-off_t.patch
- i3wm-test-disable-branch-check.patch"
+ i3wm-test-fix-off_t.patch"
builddir="$srcdir/i3-$pkgver"
build() {
- ./configure \
- --prefix=/usr \
- --disable-builddir \
- --sysconfdir=/etc
- make
+ # docs require asciidoc
+ meson -Dprefix=/usr -Ddocs=false -Dmans=false build
+ ninja -C build
}
check() {
- make check
+ ninja -C build test
}
package() {
- make DESTDIR="$pkgdir/" install
+ DESTDIR="$pkgdir" ninja -C build install
install -d "$pkgdir/usr/share/man/man1"
install -m644 man/*.1 "$pkgdir"/usr/share/man/man1/
}
-sha512sums="af397dc1768ea6530e4b2ce8ef21b20ecff8ab9eebf380df224456173eea4c3bacf28b55c8efcdc70f76f0d66543c163564a94cfd66028221ace481fa3c2913f i3-4.17.1.tar.bz2
+sha512sums="58f08228d842cd3c2bc417b72f6279fcd7050879e5fd4064b2cb00edaf98b6605d5b2361608f9534991a0f8357d3294e881c7e314f33dc075241cc45ca5ed94d i3-4.19.2.tar.xz
6378e3619076c03345b4faa1f9d54cab2e7173068bc4d5f2f2894af9cc0e5792fe45ce95cb06328f5040f0ba6d43f3e49c523968732ac2d2046b698042338caa i3wm-musl-glob-tilde.patch
-77224b994397b2e2487ae28dfd5781b3630654191813eb3c685f05ebf446e65c36e53a665ff3cc8323ea67e87f7cf977044025dade0a6ed22cbd84f0e6b4cbc7 i3wm-test-fix-off_t.patch
-a80384965dff62c51ce77e2baa3cf1b0b6db1df68994ce98383f96554bd296b4b59527fb5b1cb24b08c123699e294ba9b3baaa52afe88d87e7a76f0629194b1f i3wm-test-disable-branch-check.patch"
+77224b994397b2e2487ae28dfd5781b3630654191813eb3c685f05ebf446e65c36e53a665ff3cc8323ea67e87f7cf977044025dade0a6ed22cbd84f0e6b4cbc7 i3wm-test-fix-off_t.patch"
diff --git a/user/i3wm/i3wm-test-disable-branch-check.patch b/user/i3wm/i3wm-test-disable-branch-check.patch
deleted file mode 100644
index ac3572e9b..000000000
--- a/user/i3wm/i3wm-test-disable-branch-check.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- i3-4.15/testcases/t/193-ipc-version.t.old 2018-03-10 09:29:14.000000000 -0800
-+++ i3-4.15/testcases/t/193-ipc-version.t 2018-09-27 16:49:56.599257224 -0700
-@@ -32,6 +32,6 @@
-
- is(int($version->{minor}), $version->{minor}, 'minor version is an integer');
- is(int($version->{patch}), $version->{patch}, 'patch version is an integer');
--like($version->{human_readable}, qr/branch/, 'human readable version contains branch name');
-+#like($version->{human_readable}, qr/branch/, 'human readable version contains branch name');
-
- done_testing;