mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-08 06:09:43 +02:00
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>
53 lines
787 B
Bash
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
|
|
}
|