1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 inherit autotools-utils flag-o-matic
7 DESCRIPTION="A generic touchscreen calibration program for X.Org"
8 HOMEPAGE="https://www.freedesktop.org/wiki/Software/xinput_calibrator"
9 SRC_URI="https://github.com/downloads/tias/${PN}/${P}.tar.gz"
13 KEYWORDS="amd64 arm ~arm64 x86"
16 RDEPEND="x11-libs/libX11
20 gtk? ( dev-cpp/gtkmm:2.4 )"
25 append-cxxflags -std=c++11 #566594
28 --with-gui=$(use gtk && echo "gtkmm" || echo "x11")
30 autotools-utils_src_configure