From 1a557edb26214307d7899d50f5d2f5225a663f4a Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Mon, 9 Sep 2024 21:31:32 +0200 Subject: [PATCH] x11-misc/gromit-mpx: add 1.7.0 Signed-off-by: Oliver Freyermuth --- x11-misc/gromit-mpx/Manifest | 1 + x11-misc/gromit-mpx/gromit-mpx-1.7.0.ebuild | 44 +++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 x11-misc/gromit-mpx/gromit-mpx-1.7.0.ebuild diff --git a/x11-misc/gromit-mpx/Manifest b/x11-misc/gromit-mpx/Manifest index 6672cc6324..701dc9ce8a 100644 --- a/x11-misc/gromit-mpx/Manifest +++ b/x11-misc/gromit-mpx/Manifest @@ -1 +1,2 @@ DIST gromit-mpx-1.6.0.tar.gz 1883341 BLAKE2B 184b6f70e620325f23213c38782e808f90e6b4bad0c786a586df854cf3a391037a3d3b56e504a7261120682b2119e535fcc7af9b87022fb280d34900c0655ed8 SHA512 6afac0f1c0cf0b4ef62b8811b6903b2fdfbc41f1377abd582fee606e90ce66abaf5d9ab2b34cb4797795f40cca6043334ca71bfdc8a5547551aa480d489ecbc7 +DIST gromit-mpx-1.7.0.tar.gz 2165825 BLAKE2B 377f4a88fd8fef1623bd58c4a5e01c5598dde55d698bb868d9d36008f275fc729a2c89c6f2e3431a967a49c0c2472564d638d4007cc35171a6491fbe669587b0 SHA512 26baee4ec035eb6cd20faea96c6f6790dce2b6aaaed9578a1e975fb0d4b3a9062f0463607ca2ca53add8193aa0c7a2e94b730604d071dcea48a085aa8fdc4797 diff --git a/x11-misc/gromit-mpx/gromit-mpx-1.7.0.ebuild b/x11-misc/gromit-mpx/gromit-mpx-1.7.0.ebuild new file mode 100644 index 0000000000..af92ebca0e --- /dev/null +++ b/x11-misc/gromit-mpx/gromit-mpx-1.7.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg + +DESCRIPTION="Gromit-MPX is a multi-pointer GTK3 port of the Gromit desktop annotation tool" +HOMEPAGE="https://github.com/bk138/gromit-mpx" + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/bk138/${PN}.git" +else + SRC_URI="https://github.com/bk138/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" + +RDEPEND=" + dev-libs/glib + dev-libs/libayatana-appindicator + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXi + >=x11-apps/xinput-1.3 +" +DEPEND="${RDEPEND}" + +src_prepare () { + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}"/etc + ) + + cmake_src_configure +}