# SrcUX Sprint 1 (panache work package, 2026-10-28): SrcUX decoration defaults, on top of the installed launch-origin-review r4 (11 patches) # Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit meson DESCRIPTION="Wayfire decorator with rounded corners, shadows, and animated effects" HOMEPAGE="https://github.com/soreau/pixdecor" # Snapshot of the commit pixdecor-9999-r5 pins (2026-10-06); upstream has no releases. COMMIT="222e61d971b045a821cf212a6e221367c05d966b" SRC_URI="https://github.com/soreau/pixdecor/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz" S="${WORKDIR}/${PN}-${COMMIT}" PATCHES=( "${FILESDIR}/${PN}-sculpted-frames.patch" "${FILESDIR}/${PN}-shell-theme.patch" "${FILESDIR}/${PN}-shade-input.patch" "${FILESDIR}/${PN}-render-hook-tracking.patch" "${FILESDIR}/${PN}-shade-deco-lifetime.patch" "${FILESDIR}/${PN}-shade-output-lifetime.patch" "${FILESDIR}/${PN}-theme-ipc-validate.patch" "${FILESDIR}/${PN}-corner-resize.patch" "${FILESDIR}/${PN}-theme-owner.patch" "${FILESDIR}/pixdecor-theme-init.patch" "${FILESDIR}/pixdecor-shade-callback-lifetime.patch" "${FILESDIR}/pixdecor-srcux-defaults.patch" ) LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" # Upstream has no test suite. RESTRICT="test" RDEPEND=" dev-libs/glib:2 dev-libs/wayland gui-libs/wf-config:= gui-libs/wlroots:0.20= >=gui-wm/wayfire-0.11.0:=[gles3] media-libs/libglvnd x11-libs/cairo x11-libs/pango x11-libs/pixman " DEPEND=" ${RDEPEND} media-libs/glm sys-kernel/linux-headers " BDEPEND=" sys-devel/gettext virtual/pkgconfig " src_install() { meson_src_install dodoc README.md } pkg_postinst() { elog "Add pixdecor to the plugins list in the [core] section of wayfire.ini." elog "Disable other decoration plugins; Pixdecor owns window frames." elog "Frame settings are in WCM -> Pix Decoration -> Window frames." elog "Sculpted adds border depth and pinstripe color/opacity." }