diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2019-12-24 11:24:35 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2019-12-24 11:22:51 +0100 |
commit | daf9f81f61cc571954a4c1a637f4d9f1cf82fe94 (patch) | |
tree | 5cfb534d91d277eedba2a2c559e8fd5bd650a604 /testing | |
parent | 3cbf3463557bb1b9a3ef55f7427d3914d61f7abb (diff) | |
download | aports-daf9f81f61cc571954a4c1a637f4d9f1cf82fe94.tar.bz2 aports-daf9f81f61cc571954a4c1a637f4d9f1cf82fe94.tar.xz |
testing/kanshi: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/kanshi/APKBUILD | 33 | ||||
-rw-r--r-- | testing/kanshi/no-maybe-uninitialized.patch | 10 |
2 files changed, 43 insertions, 0 deletions
diff --git a/testing/kanshi/APKBUILD b/testing/kanshi/APKBUILD new file mode 100644 index 0000000000..68c3d727c3 --- /dev/null +++ b/testing/kanshi/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Jakub Jirutka <jakub@jirutka.cz> +# Maintainer: +pkgname=kanshi +pkgver=1.0.0 +pkgrel=0 +pkgdesc="Dynamic display configuration for Wayland" +url="https://github.com/emersion/kanshi" +arch="all" +license="MIT" +makedepends="cmake meson scdoc wayland-dev" +subpackages="$pkgname-doc" +source="https://github.com/emersion/kanshi/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz + no-maybe-uninitialized.patch + " +builddir="$srcdir/$pkgname-$pkgver" + +build() { + meson \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + . output + ninja -C output +} + +package() { + DESTDIR="$pkgdir" ninja -C output install +} + +sha512sums="2d31cd9dcdf804a098bb462a8a7fcbfdba910a708146d8e20f4bbb1de73f134927a3adee9853ad01490d4e1c374a0fb7f984698cf52599def23685a7c926c6b0 kanshi-1.0.0.tar.gz +0238357da5e819112b83deca6d998c66c53a0504e9fd8767b06454630419f4a24ad7bda4943cb00b701e8e20b00c25fb95539a68bc8e8109c1a477122f9bb420 no-maybe-uninitialized.patch" diff --git a/testing/kanshi/no-maybe-uninitialized.patch b/testing/kanshi/no-maybe-uninitialized.patch new file mode 100644 index 0000000000..208909dd3c --- /dev/null +++ b/testing/kanshi/no-maybe-uninitialized.patch @@ -0,0 +1,10 @@ +--- a/meson.build ++++ b/meson.build +@@ -32,6 +32,7 @@ + '-Wno-missing-braces', + '-Wno-missing-field-initializers', + '-Wno-unused-parameter', ++ '-Wno-maybe-uninitialized', + ]), language: 'c') + + wayland_client = dependency('wayland-client') |