commit:     397fc0fd53568700d9ce805a6ca8cc7bf67e53ab
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon May  1 12:02:17 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May  1 12:35:49 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=397fc0fd

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

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

Fixes: 24326d8f3494ebd312c9cc172a5f9ed3bf25cce9
Signed-off-by: Sam James <sam <AT> gentoo.org>

 x11-apps/xinput_calibrator/Manifest                |  2 +-
 .../xinput_calibrator-0.7.5-r2.ebuild              | 26 +++++++++++++++-------
 2 files changed, 19 insertions(+), 9 deletions(-)

diff --git a/x11-apps/xinput_calibrator/Manifest 
b/x11-apps/xinput_calibrator/Manifest
index 662f25d47303..2fc8ba63914b 100644
--- a/x11-apps/xinput_calibrator/Manifest
+++ b/x11-apps/xinput_calibrator/Manifest
@@ -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

diff --git a/x11-apps/xinput_calibrator/xinput_calibrator-0.7.5-r2.ebuild 
b/x11-apps/xinput_calibrator/xinput_calibrator-0.7.5-r2.ebuild
index 7a3d3101534e..f8ce7f6cbc45 100644
--- a/x11-apps/xinput_calibrator/xinput_calibrator-0.7.5-r2.ebuild
+++ b/x11-apps/xinput_calibrator/xinput_calibrator-0.7.5-r2.ebuild
@@ -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

Reply via email to