swaysettings and swaync

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

View File

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

Submodule gui-apps/swaysettings/SwaySettings added at fc1a703945

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
}