diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-03-06 17:33:22 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-03-08 22:14:00 +0100 |
commit | a4272f2fc7d7698c08a21d0ef08636535a3a481c (patch) | |
tree | 2baa1f9df45b3de439d3c63acf7b74bb64890fba /dev-libs/libtsm | |
parent | dev-libs/vc: Use cmake.eclass, EAPI-7 bump, superfluous src_unpack (diff) | |
download | gentoo-a4272f2fc7d7698c08a21d0ef08636535a3a481c.tar.gz gentoo-a4272f2fc7d7698c08a21d0ef08636535a3a481c.tar.bz2 gentoo-a4272f2fc7d7698c08a21d0ef08636535a3a481c.zip |
dev-libs/libtsm: EAPI-7 bump, switch to cmake.eclass
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs/libtsm')
-rw-r--r-- | dev-libs/libtsm/files/libtsm-4.0.1-cmake.patch | 15 | ||||
-rw-r--r-- | dev-libs/libtsm/libtsm-4.0.1.ebuild | 9 |
2 files changed, 20 insertions, 4 deletions
diff --git a/dev-libs/libtsm/files/libtsm-4.0.1-cmake.patch b/dev-libs/libtsm/files/libtsm-4.0.1-cmake.patch new file mode 100644 index 000000000000..eae34cf1aca8 --- /dev/null +++ b/dev-libs/libtsm/files/libtsm-4.0.1-cmake.patch @@ -0,0 +1,15 @@ +--- a/CMakeLists.txt 2018-10-09 19:40:23.000000000 +0200 ++++ b/CMakeLists.txt 2021-03-06 17:37:02.596380373 +0100 +@@ -24,12 +24,6 @@ + # For feature_summary + include(FeatureSummary) + +-# Extra build types +-if(NOT CMAKE_BUILD_TYPE) +- set(CMAKE_BUILD_TYPE "Debug") +-endif() +-include(cmake/BuildTypes.cmake) +- + #--------------------------------------------------------------------------------------- + # Options + #--------------------------------------------------------------------------------------- diff --git a/dev-libs/libtsm/libtsm-4.0.1.ebuild b/dev-libs/libtsm/libtsm-4.0.1.ebuild index f8bc7744f35c..29e150fe9c61 100644 --- a/dev-libs/libtsm/libtsm-4.0.1.ebuild +++ b/dev-libs/libtsm/libtsm-4.0.1.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -CMAKE_BUILD_TYPE=Release -inherit cmake-utils +inherit cmake DESCRIPTION="Terminal Emulator State Machine" HOMEPAGE="https://github.com/Aetf/libtsm" @@ -14,3 +13,5 @@ LICENSE="LGPL-2.1 MIT" SLOT="0/4" KEYWORDS="~amd64 ~x86" IUSE="" + +PATCHES=( "${FILESDIR}/${P}-cmake.patch" ) |