diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
commit | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch) | |
tree | e1810a4b135afce04b34862ef0fab2bfaeb8aeca /x11-libs/tslib/tslib-1.21.ebuild | |
parent | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff) |
gentoo resync : 15.01.2020
Diffstat (limited to 'x11-libs/tslib/tslib-1.21.ebuild')
-rw-r--r-- | x11-libs/tslib/tslib-1.21.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/x11-libs/tslib/tslib-1.21.ebuild b/x11-libs/tslib/tslib-1.21.ebuild new file mode 100644 index 000000000000..ac72cb85bb3f --- /dev/null +++ b/x11-libs/tslib/tslib-1.21.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-multilib + +DESCRIPTION="Touchscreen Access Library" +HOMEPAGE="https://github.com/kergoth/tslib" +SRC_URI="https://github.com/libts/tslib/releases/download/${PV}/${P}.tar.xz" + +LICENSE="LGPL-2 uinput? ( GPL-2+ )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="evdev sdl uinput" + +BDEPEND=" + evdev? ( virtual/pkgconfig[${MULTILIB_USEDEP}] ) +" +DEPEND=" + evdev? ( dev-libs/libevdev[${MULTILIB_USEDEP}] ) + sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] ) +" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS NEWS README{,.md} ) + +PATCHES=( "${FILESDIR}/${P}-optional-utils.patch" ) + +src_configure() { + my_configure() { + local mycmakeargs=( + -Denable-input-evdev=$(usex evdev) + -DENABLE_TOOLS=$(usex uinput $(multilib_is_native_abi && echo ON || echo OFF) OFF) + -DENABLE_UTILS=$(multilib_is_native_abi && echo ON || echo OFF) + -Denable-arctic2=ON + -Denable-collie=ON + -Denable-corgi=ON + -Denable-cy8mrln-palmpre=ON + -Denable-dejitter=ON + -Denable-dmc=ON + -Denable-dmc_dus3000=ON + -Denable-galax=ON + -Denable-h3600=ON + -Denable-input=ON + -Denable-linear-h2200=ON + -Denable-linear=ON + -Denable-mk712=ON + -Denable-one-wire-ts-input=ON + -Denable-pthres=ON + -Denable-tatung=ON + -Denable-ucb1x00=ON + -Denable-variance=ON + ) + multilib_is_native_abi && mycmakeargs+=( -Dwith-sdl=$(usex sdl) ) + + cmake-utils_src_configure + } + multilib_parallel_foreach_abi my_configure +} |