diff options
Diffstat (limited to 'gui-apps/swaync/swaync-0.7.3.ebuild')
-rw-r--r-- | gui-apps/swaync/swaync-0.7.3.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/gui-apps/swaync/swaync-0.7.3.ebuild b/gui-apps/swaync/swaync-0.7.3.ebuild new file mode 100644 index 000000000..f4fe19e9b --- /dev/null +++ b/gui-apps/swaync/swaync-0.7.3.ebuild @@ -0,0 +1,56 @@ +# 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 +} |