mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 22:52:59 -04:00
gui-apps/swaync: add 0.6, drop 0.5-r1
Signed-off-by: Jonas Frei <freijon@pm.me>
This commit is contained in:
@@ -1 +1 @@
|
||||
DIST swaync-0.5.tar.gz 3135287 BLAKE2B a9cd7eb2cc233b20c79bd03cb41876a8435f29b014196475992dfe2623fe12f16d45edeabfa3b31631cf5c1835a14869ddaaa4c0602c745fc73fc9d515b9357c SHA512 4952470c0745e44800b241ac67d39a1d417c8dda550227e9f93e4e81709960616dc5bcf406543ad14aba357c2191fd6a7bf02dffaa170351a3232f9a3612dc8a
|
||||
DIST swaync-0.6.tar.gz 3138783 BLAKE2B 878fc65947b3b33acbbd7486aa5bba4768696d48a3ea012550f23479732e345893c7be7f05369e0b4e5290d7c9d1c3c6e9dc086586ff38e25c3a1cbf5835c01d SHA512 8ec84ec2ec336e8302c5761c564f9e2a08ea8e6c94c436886c698a1254af36a77eb63fe51dc365edb9cdfec5491cc447b6c4731c7d7cb81dda211181b783ef27
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
--- swaync/meson.build 2022-04-03 18:03:10.000000000 +0200
|
||||
+++ swaync/meson.build 2022-04-05 21:21:03.543535988 +0200
|
||||
@@ -89,33 +89,34 @@
|
||||
endif
|
||||
|
||||
# Man pages
|
||||
-man_pages = get_option('man-pages')
|
||||
-scdoc = dependency('scdoc', version: '>=1.9.2', native: true, required: man_pages)
|
||||
-if scdoc.found()
|
||||
- scdoc_prog = find_program(scdoc.get_pkgconfig_variable('scdoc'), native: true)
|
||||
+if get_option('man-pages')
|
||||
+ scdoc = dependency('scdoc', version: '>=1.9.2', native: true, required: true)
|
||||
+ if scdoc.found()
|
||||
+ scdoc_prog = find_program(scdoc.get_pkgconfig_variable('scdoc'), native: true)
|
||||
|
||||
- mandir = get_option('mandir')
|
||||
- man_files = [
|
||||
- 'swaync.1.scd',
|
||||
- 'swaync.5.scd',
|
||||
- 'swaync-client.1.scd',
|
||||
- ]
|
||||
+ mandir = get_option('mandir')
|
||||
+ man_files = [
|
||||
+ 'swaync.1.scd',
|
||||
+ 'swaync.5.scd',
|
||||
+ 'swaync-client.1.scd',
|
||||
+ ]
|
||||
|
||||
- foreach filename : man_files
|
||||
- topic = filename.split('.')[-3].split('/')[-1]
|
||||
- section = filename.split('.')[-2]
|
||||
- output = '@0@.@1@'.format(topic, section)
|
||||
- message(mandir, section, '@0@/man@1@'.format(mandir, section))
|
||||
+ foreach filename : man_files
|
||||
+ topic = filename.split('.')[-3].split('/')[-1]
|
||||
+ section = filename.split('.')[-2]
|
||||
+ output = '@0@.@1@'.format(topic, section)
|
||||
+ message(mandir, section, '@0@/man@1@'.format(mandir, section))
|
||||
|
||||
- custom_target(
|
||||
- output,
|
||||
- input: join_paths('man', filename),
|
||||
- output: output,
|
||||
- command: scdoc_prog,
|
||||
- install: true,
|
||||
- feed: true,
|
||||
- capture: true,
|
||||
- install_dir: '@0@/man@1@'.format(mandir, section)
|
||||
- )
|
||||
- endforeach
|
||||
+ custom_target(
|
||||
+ output,
|
||||
+ input: join_paths('man', filename),
|
||||
+ output: output,
|
||||
+ command: scdoc_prog,
|
||||
+ install: true,
|
||||
+ feed: true,
|
||||
+ capture: true,
|
||||
+ install_dir: '@0@/man@1@'.format(mandir, section)
|
||||
+ )
|
||||
+ endforeach
|
||||
+ endif
|
||||
endif
|
||||
@@ -15,9 +15,6 @@ LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+man scripting"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-dont-force-build-manpages.patch"
|
||||
)
|
||||
|
||||
DEPEND="
|
||||
dev-libs/glib:2
|
||||
Reference in New Issue
Block a user