x11-apps/xinput_calibrator: update SRC_URI to drop github.com/downloads

github.com/downloads is gone. Unforunately, the release tarball is gone.

Fixes: 24326d8f34
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2023-05-01 13:02:17 +01:00
parent b6d912f594
commit 397fc0fd53
2 changed files with 19 additions and 9 deletions

View File

@@ -1 +1 @@
DIST xinput_calibrator-0.7.5.tar.gz 355313 BLAKE2B 72c6b2f1b2cf4d5baaba27827e870adb52c4a51004a9a3f51376c5e30560b26abe6e83a94ae2e308a01dca3204a1938d888d40cad793cce50c1d9acea9f507b3 SHA512 dc022f4de6d7b57912373a571ef0598c7b9d91cdbc3f63bb2b32c6149e43f67eaf820dc0289349d527314381d5195cf8891f6bcb9847110662dd75875f76b9de
DIST xinput_calibrator-0.7.5.gh.tar.gz 38126 BLAKE2B 700c124a560ade4636f0861b04d5ed355a7b647fe565fedf8841165c709844ee5928db1c8868c7cce13d12b17bdece4ccdcebd51a6be248142fe7249615cbf4a SHA512 71bd27d5bdde02bdf41793a72743127ee930235db40e642e2584549e224cd9d2b36ad22e1b6a764ed431ab9590bf76c57e0075bc7b81b325caffb439dc755930

View File

@@ -1,24 +1,34 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit flag-o-matic
inherit autotools flag-o-matic
DESCRIPTION="A generic touchscreen calibration program for X.Org"
HOMEPAGE="https://www.freedesktop.org/wiki/Software/xinput_calibrator"
SRC_URI="https://github.com/downloads/tias/${PN}/${P}.tar.gz"
SRC_URI="https://github.com/tias/xinput_calibrator/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE=""
RDEPEND="x11-libs/libX11
RDEPEND="
x11-libs/libX11
x11-libs/libXext
x11-libs/libXi
x11-libs/libXrandr"
DEPEND="${RDEPEND}
x11-base/xorg-proto"
x11-libs/libXrandr
"
DEPEND="
${RDEPEND}
x11-base/xorg-proto
"
src_prepare() {
default
eautoreconf
}
src_configure() {
append-cxxflags -std=c++11 #566594