swaysettings and swaync

Signed-off-by: Alexander Miroshnichenko <alex@millerson.name>
This commit is contained in:
Alexander Miroshnichenko 2025-07-11 14:32:00 +03:00
parent 0480fed7a6
commit 67e776b548
Signed by: alex
GPG Key ID: E93720C6C73A77F4
5 changed files with 136 additions and 0 deletions

1
gui-apps/swaync/Manifest Normal file
View File

@ -0,0 +1 @@
DIST swaync-0.11.0_p20250711.tar.gz 1726195 BLAKE2B 42fac55f042e4972cb66e761e0437a9271693f5cea335162cb300f7ad7cea95760b36b1ba277ab3cf2b47e6f5b922405e01f4e22aedcbf5bdbc6b5ecfecfc7d4 SHA512 61d79736c2c6abb6b6268009af699bff2bedb2fdc6787f5effe511cd65fc4e23ce16333706f55b0f694970b6429f4ec24a06bb1c5d63f5e648bff61b9f61bb16

View File

@ -0,0 +1,64 @@
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..13} )
inherit meson vala gnome2-utils python-any-r1
MY_PN="SwayNotificationCenter"
EGIT_COMMIT=d41532807baa4e665fc685b7f5697223efa37a12
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/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${EGIT_COMMIT}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="pulseaudio"
DEPEND="
dev-lang/sassc
dev-libs/glib:2
dev-libs/gobject-introspection
dev-libs/granite:7=
dev-libs/json-glib
dev-libs/libgee:0.8=
dev-libs/wayland
>=gui-libs/gtk4-layer-shell-1.0.2[introspection,vala]
dev-util/blueprint-compiler
sys-apps/dbus
x11-libs/gdk-pixbuf:2
>=gui-libs/gtk-4.16.13:4
pulseaudio? ( media-libs/libpulse )
"
RDEPEND="
${DEPEND}
x11-libs/cairo
x11-libs/pango
"
BDEPEND="
${PYTHON_DEPS}
$(vala_depend)
app-text/scdoc
"
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
}

View File

@ -0,0 +1 @@
DIST swaysettings-0.5.0.tar.gz 115704 BLAKE2B fc978798faf80fc0e4942d6375b2362bba97226c001b857820f27db72563417de599c0cc70ad04186c7f09e54b94eecf3ccfee14ed62c312b52cb276f2cc0342 SHA512 749358bb6a2f076f92ed4db3341db4e62f57da7bde0470c987185b32c221f0290c4232beb4915ea703f5043dbd715b6481e428600a60b4fee13e512e0695ffbc

@ -0,0 +1 @@
Subproject commit fc1a7039453385fc8e1a96a7dbef4daab1df2d6d

View File

@ -0,0 +1,69 @@
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..13} )
inherit meson vala gnome2-utils python-any-r1
MY_PN="SwaySettings"
DESCRIPTION="A gui for setting sway wallpaper, default apps, GTK themes, etc..."
HOMEPAGE="https://github.com/ErikReider/SwaySettings"
SRC_URI="https://github.com/ErikReider/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="
dev-libs/glib:2
dev-libs/gobject-introspection
dev-libs/granite:=
dev-libs/json-glib
dev-libs/libgee:0.8=
dev-libs/libxml2
dev-libs/wayland
dev-util/blueprint-compiler
gnome-base/gsettings-desktop-schemas:=
gnome-base/libgtop:2
>=gui-libs/gtk4-layer-shell-1.0.2[introspection,vala]
>=gui-libs/libadwaita-1.6:=
media-libs/libpulse
sys-apps/dbus
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:4
x11-misc/xkeyboard-config
"
RDEPEND="
${DEPEND}
x11-libs/cairo
x11-libs/pango
"
BDEPEND="
${PYTHON_DEPS}
$(vala_depend)
app-text/scdoc
"
src_configure() {
meson_src_configure
}
src_prepare() {
default
vala_setup
}
src_compile() {
meson_src_compile
}
pkg_postinst() {
gnome2_schemas_update
}
pkg_postrm() {
gnome2_schemas_update
}