Skip to content

Commit

Permalink
Require vala >= 0.56
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikReider committed Dec 15, 2023
1 parent e592a53 commit f68dfa4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build-scripts/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ license=(GPL3)
depends=("gtk3" "gtk-layer-shell" "dbus" "glib2" "gobject-introspection" "libgee" "json-glib" "libhandy" "libpulse" "gvfs" "libnotify")
conflicts=("swaync" "swaync-client")
provides=("swaync" "swaync-client" "notification-daemon")
makedepends=(vala meson git scdoc sassc)
makedepends=("vala>=0.56" meson git scdoc sassc)
source=("${_pkgfoldername}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('3f00bc858b7b3610e88ef0f6ee64d727892dd82f280f1dfc01dde863c2ea3376')

Expand Down
2 changes: 1 addition & 1 deletion build-scripts/PKGBUILD-git
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ license=('GPL3')
depends=("gtk3" "gtk-layer-shell" "dbus" "glib2" "gobject-introspection" "libgee" "json-glib" "libhandy" "libpulse" "gvfs" "libnotify")
conflicts=("swaync" "swaync-client")
provides=("swaync" "swaync-client" "notification-daemon")
makedepends=(vala meson git scdoc sassc)
makedepends=("vala>=0.56" meson git scdoc sassc)
source=("$_pkgname::git+$url")
sha256sums=('SKIP')

Expand Down
2 changes: 1 addition & 1 deletion build-scripts/swaync.rpkg.spec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ VCS: {{{ git_dir_vcs }}}
Source: {{{ git_dir_pack }}}

BuildRequires: meson >= 0.51.0
BuildRequires: vala
BuildRequires: vala >= 0.56
BuildRequires: scdoc
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22
BuildRequires: pkgconfig(gtk-layer-shell-0) >= 0.1
Expand Down
2 changes: 2 additions & 0 deletions src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ app_sources = [
constants,
]

assert(meson.get_compiler('vala').version() >= '0.56')

app_deps = [
dependency('gio-2.0', version: '>= 2.50'),
dependency('gio-unix-2.0', version: '>= 2.50'),
Expand Down

0 comments on commit f68dfa4

Please sign in to comment.