diff --git a/gui-apps/swaync/Manifest b/gui-apps/swaync/Manifest new file mode 100644 index 0000000..11d22e9 --- /dev/null +++ b/gui-apps/swaync/Manifest @@ -0,0 +1,2 @@ +DIST swaync-0.12.3.tar.gz 146516 BLAKE2B cf90caa755e533043320f5a9b37ee1bde806e7ae3f6648c45b347e899d4a93934bfdbcaff5d81ff72329f5c1240466c6ff603aaaaf9282844ca848971df6be78 SHA512 847fa8b46f432d40f4c1c7a8559d5b3f5b431784e3dc7afb90edb57533c6662116af2d78965b2e4b9f635432b108e3a1ad518d739c6fa13ee317b0d80bcbb8cf +EBUILD swaync-0.12.3.ebuild 1373 BLAKE2B 61d2806a20ac189c9aa8215f79cda3c89204c5517d2ba0b5270f2f6647a6ba53b6e3d2350ca413ffa05e46c4ca10d41ee981c918901deb1f55dcf45209b190a6 SHA512 fdd2bc40c5badd707fcd473fe62713ed6d7c31d71c699e1d8025101cd8113c73c5d2535fda7c11a8684898dce995cf611a955d33fe4444690a5ba365bda23c03 diff --git a/gui-apps/swaync/swaync-0.12.3.ebuild b/gui-apps/swaync/swaync-0.12.3.ebuild new file mode 100644 index 0000000..13132e2 --- /dev/null +++ b/gui-apps/swaync/swaync-0.12.3.ebuild @@ -0,0 +1,66 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{12..14} ) +inherit meson vala gnome2-utils python-any-r1 +VALA_USE_DEPEND="vapigen" + +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" +IUSE="pulseaudio" + +DEPEND=" + dev-lang/sassc + dev-libs/glib:2 + dev-libs/gobject-introspection + >=dev-libs/granite-7.0.0:= + dev-libs/json-glib + dev-libs/libgee:0.8= + gui-libs/gtk4-layer-shell[introspection,vala] + gui-libs/gtk:4[introspection,wayland] + gui-libs/libadwaita + gui-libs/libhandy:1 + pulseaudio? ( media-libs/libpulse ) + sys-apps/dbus + x11-libs/gdk-pixbuf:2 +" +RDEPEND=" + ${DEPEND} + x11-libs/cairo + x11-libs/pango +" +BDEPEND=" + ${PYTHON_DEPS} + $(vala_depend) + app-text/scdoc + dev-util/blueprint-compiler +" +# https://bugs.gentoo.org/961696 +BDEPEND+=">=dev-build/meson-1.8.2" + +src_configure() { + local emesonargs=($(meson_use pulseaudio pulse-audio)) + meson_src_configure +} + +src_prepare() { + default + vala_setup +} + +pkg_postinst() { + gnome2_schemas_update +} + +pkg_postrm() { + gnome2_schemas_update +}