From 141fa16b0602768618ada89ee96252d895ea948b Mon Sep 17 00:00:00 2001 From: Duncaen Date: Thu, 25 May 2023 16:18:26 +0200 Subject: [PATCH] wlsunset: update to 0.3.0. --- .../patches/fix-scdoc-cross-compiling.patch | 55 ------------------- srcpkgs/wlsunset/template | 7 ++- 2 files changed, 4 insertions(+), 58 deletions(-) delete mode 100644 srcpkgs/wlsunset/patches/fix-scdoc-cross-compiling.patch diff --git a/srcpkgs/wlsunset/patches/fix-scdoc-cross-compiling.patch b/srcpkgs/wlsunset/patches/fix-scdoc-cross-compiling.patch deleted file mode 100644 index f9189f0e700..00000000000 --- a/srcpkgs/wlsunset/patches/fix-scdoc-cross-compiling.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 7be432057f268fff6e68928f3c3f3b4b70d67368 Mon Sep 17 00:00:00 2001 -From: Kenny Levinsen -Date: Fri, 30 Apr 2021 20:02:02 +0200 -Subject: [PATCH] meson: Copy seatd's scdoc handling - -This fixes cross-compiling, and avoids unnecessary search for a shell. ---- - meson.build | 13 +++++-------- - 1 file changed, 5 insertions(+), 8 deletions(-) - -diff --git a/meson.build b/meson.build -index 23d24c5..9a02caf 100644 ---- a/meson.build -+++ b/meson.build -@@ -3,7 +3,7 @@ project( - 'c', - version: '0.2.0', - license: 'MIT', -- meson_version: '>=0.53.0', -+ meson_version: '>=0.56.0', - default_options: [ - 'c_std=c11', - 'warning_level=3', -@@ -56,16 +56,13 @@ executable( - install: true, - ) - --scdoc = dependency('scdoc', required: get_option('man-pages'), version: '>= 1.9.7') -+scdoc = dependency('scdoc', required: get_option('man-pages'), version: '>= 1.9.7', native: true) - - if scdoc.found() -- sh = find_program('sh') -- -- man_pages = ['wlsunset.1.scd'] -- -+ scdoc_prog = find_program(scdoc.get_variable(pkgconfig: 'scdoc'), native: true) - mandir = get_option('mandir') - -- foreach src : man_pages -+ foreach src : ['wlsunset.1.scd'] - topic = src.split('.')[0] - section = src.split('.')[1] - output = '@0@.@1@'.format(topic, section) -@@ -75,7 +72,7 @@ if scdoc.found() - input: src, - output: output, - command: [ -- sh, '-c', '@0@ < @INPUT@ > @1@'.format(scdoc.get_pkgconfig_variable('scdoc'), output) -+ 'sh', '-c', '@0@ < @INPUT@ > @1@'.format(scdoc_prog.full_path(), output) - ], - install: true, - install_dir: '@0@/man@1@'.format(mandir, section) --- -2.30.2 - diff --git a/srcpkgs/wlsunset/template b/srcpkgs/wlsunset/template index 984ee8cbfc6..f32f51082c8 100644 --- a/srcpkgs/wlsunset/template +++ b/srcpkgs/wlsunset/template @@ -1,7 +1,7 @@ # Template file for 'wlsunset' pkgname=wlsunset -version=0.2.0 -revision=2 +version=0.3.0 +revision=1 build_style=meson hostmakedepends="scdoc pkg-config wayland-devel" makedepends="pkg-config wayland-devel wayland-protocols" @@ -9,8 +9,9 @@ short_desc="Day/night gamma adjustments for Wayland compositors" maintainer="Duncaen " license="MIT" homepage="https://sr.ht/~kennylevinsen/wlsunset/" +changelog="https://git.sr.ht/~kennylevinsen/wlsunset/refs" distfiles="https://git.sr.ht/~kennylevinsen/wlsunset/archive/${version}.tar.gz" -checksum=88bce695722a09d79545f14d404cc0659f7176bb08d5db5f4f23228b6ba8bb03 +checksum=9ece2570c3427888a493cd33a129e82634475e6e9286ed729af24fba07ab5424 post_install() { vlicense LICENSE