mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-20 03:35:41 +02:00
meson: use simpler variant of dependency fallback for tllist+fcft
we now require tllist>=1.0.1 and fcft>=2.0.0, which both use meson.override_dependency(). Thus, we can use the simpler form of fallback in our dependency() call.s This also updates the PKGBUILD files to require tllist>=1.0.1 and fcft>=2.0.0
This commit is contained in:
parent
234a787859
commit
badf9b7622
3 changed files with 6 additions and 6 deletions
4
PKGBUILD
4
PKGBUILD
|
@ -5,7 +5,7 @@ pkgdesc="Simplistic and highly configurable status panel for X and Wayland"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url=https://codeberg.org/dnkl/yambar
|
url=https://codeberg.org/dnkl/yambar
|
||||||
license=(mit)
|
license=(mit)
|
||||||
makedepends=('meson' 'ninja' 'scdoc' 'tllist>=1.0.0')
|
makedepends=('meson' 'ninja' 'scdoc' 'tllist>=1.0.1')
|
||||||
depends=(
|
depends=(
|
||||||
'libxcb' 'xcb-util' 'xcb-util-cursor' 'xcb-util-wm'
|
'libxcb' 'xcb-util' 'xcb-util-cursor' 'xcb-util-wm'
|
||||||
'wayland' 'wlroots'
|
'wayland' 'wlroots'
|
||||||
|
@ -15,7 +15,7 @@ depends=(
|
||||||
'libudev.so'
|
'libudev.so'
|
||||||
'json-c'
|
'json-c'
|
||||||
'libmpdclient'
|
'libmpdclient'
|
||||||
'fcft>=1.1.0')
|
'fcft>=2.0.0')
|
||||||
optdepends=('xcb-util-errors: better X error messages')
|
optdepends=('xcb-util-errors: better X error messages')
|
||||||
source=()
|
source=()
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ url=https://codeberg.org/dnkl/yambar
|
||||||
license=(mit)
|
license=(mit)
|
||||||
conflicts=('yambar')
|
conflicts=('yambar')
|
||||||
provides=('yambar')
|
provides=('yambar')
|
||||||
makedepends=('meson' 'ninja' 'scdoc' 'tllist>=1.0.0')
|
makedepends=('meson' 'ninja' 'scdoc' 'tllist>=1.0.1')
|
||||||
depends=(
|
depends=(
|
||||||
'wayland' 'wlroots'
|
'wayland' 'wlroots'
|
||||||
'pixman'
|
'pixman'
|
||||||
|
@ -16,7 +16,7 @@ depends=(
|
||||||
'libudev.so'
|
'libudev.so'
|
||||||
'json-c'
|
'json-c'
|
||||||
'libmpdclient'
|
'libmpdclient'
|
||||||
'fcft>=1.0.0')
|
'fcft>=2.0.0')
|
||||||
source=()
|
source=()
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
|
|
|
@ -64,8 +64,8 @@ wlroots = dependency('wlroots', required: get_option('backend-wayland'))
|
||||||
backend_wayland = wayland_client.found() and wayland_cursor.found() and wlroots.found()
|
backend_wayland = wayland_client.found() and wayland_cursor.found() and wlroots.found()
|
||||||
|
|
||||||
# "My" dependencies, fallback to subproject
|
# "My" dependencies, fallback to subproject
|
||||||
tllist = dependency('tllist', version: '>=1.0.0', fallback: ['tllist', 'tllist'])
|
tllist = dependency('tllist', version: '>=1.0.1', fallback: 'tllist')
|
||||||
fcft = dependency('fcft', version: ['>=2.0.0', '<2.1.0'], fallback: ['fcft', 'fcft'])
|
fcft = dependency('fcft', version: ['>=2.0.0', '<2.1.0'], fallback: 'fcft')
|
||||||
|
|
||||||
add_project_arguments(
|
add_project_arguments(
|
||||||
['-D_GNU_SOURCE'] +
|
['-D_GNU_SOURCE'] +
|
||||||
|
|
Loading…
Add table
Reference in a new issue