gentoo-ebuilds/x11-misc/devilspie/devilspie-0.23-r2.ebuild
Ionen Wolkens 59ca1a5573
x11-misc/devilspie: pass -std=gnu17 for gcc15
May be an easy fix, but there's been no releases since 2012 and if
there's been commits I don't know where they're happening. It's not
worth keeping a (probably) permanent patch over.

devilspie2 (w/ a semi-active different upstream) can act as a
replacement if need be, albeit this one uses different configuration
that some may prefer and no reason to last-rite over trivial issues.

Closes: https://bugs.gentoo.org/944096
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-11-24 05:53:26 -05:00

37 lines
720 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic
DESCRIPTION="Window matching utility similar to Sawfish's Matched Windows"
HOMEPAGE="https://www.burtonini.com/blog/tag/devilspie.html"
SRC_URI="https://www.burtonini.com/computing/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ppc sparc x86 ~amd64-linux ~x86-linux"
RDEPEND="
dev-libs/glib:2
x11-libs/gtk+:3[X]
x11-libs/libX11
x11-libs/libwnck:3
"
DEPEND="
${RDEPEND}
x11-base/xorg-proto
"
BDEPEND="
dev-util/intltool
virtual/pkgconfig
"
src_prepare() {
default
sed -i "/doc\//s@devilspie..@${PF}/@" devilspie.1 || die
append-cflags -std=gnu17 #944096
}