# 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 }