Files
guru/gui-apps/swaync/swaync-0.7.2.ebuild
Anthony Ruhier bc19d08e7c gui-apps/swaync: add 0.7.2, drop 0.7.1
Signed-off-by: Anthony Ruhier <aruhier@mailbox.org>
v0.7.2 fixes crashes with glib 2.74
2022-09-23 02:04:19 +02:00

57 lines
1.1 KiB
Bash

# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson vala gnome2-utils
MY_PN="SwayNotificationCenter"
DESCRIPTION="A simple notification daemon with a GTK gui for notifications and control center"
HOMEPAGE="https://github.com/ErikReider/SwayNotificationCenter"
SRC_URI="https://github.com/ErikReider/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+man scripting"
DEPEND="
dev-libs/glib:2
dev-libs/gobject-introspection
dev-libs/json-glib
dev-libs/libgee:=
dev-libs/wayland
>=gui-libs/gtk-layer-shell-0.7.0[introspection]
gui-libs/libhandy:1
sys-apps/dbus
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
"
RDEPEND="${DEPEND}"
BDEPEND="
$(vala_depend)
man? ( app-text/scdoc )
"
src_prepare() {
default
vala_setup
}
src_configure() {
local emesonargs=(
$(meson_use man man-pages)
$(meson_use scripting)
)
meson_src_configure
}
pkg_postinst() {
gnome2_schemas_update
}
pkg_postrm() {
gnome2_schemas_update
}