gentoo-ebuilds/x11-misc/mygestures/mygestures-2.0-r1.ebuild
Ionen Wolkens 782333bc71
x11-misc/mygestures: pass -std=gnu17 for gcc15
May be an easy fix, but upstream been dead for 4 years and
it's not worth keeping a (probably) permanent patch over.

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

53 lines
787 B
Bash

# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools flag-o-matic
DESCRIPTION="Mouse gestures for X"
HOMEPAGE="https://github.com/deters/mygestures/"
SRC_URI="
https://github.com/deters/mygestures/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz
"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-libs/libxml2
x11-libs/libX11
x11-libs/libXi
x11-libs/libXrender
x11-libs/libXtst
"
DEPEND="
${RDEPEND}
x11-base/xorg-proto
"
BDEPEND="
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}"/${PN}-2.0-gcc14.patch
)
src_prepare() {
default
eautoreconf
append-cflags -std=gnu17 #944094
}
src_install() {
dobin src/mygestures #814482
dodoc README.md
insinto /etc
doins mygestures.xml
}