commit: 78dda6f2de2204f3d9c93677f6962dc9b3d2a540 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Thu Jun 8 14:01:54 2023 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Thu Jun 8 14:04:36 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78dda6f2
dev-libs/libqtolm: Cleanup unmaintained and unneeded package So short-lived it will not get last-rites. See also: https://github.com/gentoo/gentoo/pull/31113 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> dev-libs/libqtolm/Manifest | 1 - dev-libs/libqtolm/files/libqtolm-3.0.1-cmake.patch | 64 ---------------------- dev-libs/libqtolm/libqtolm-3.0.1.ebuild | 32 ----------- dev-libs/libqtolm/metadata.xml | 16 ------ 4 files changed, 113 deletions(-) diff --git a/dev-libs/libqtolm/Manifest b/dev-libs/libqtolm/Manifest deleted file mode 100644 index f17165a491cc..000000000000 --- a/dev-libs/libqtolm/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libqtolm-v3.0.1.tar.bz2 21322 BLAKE2B 25bc3f2abda8ad753e8a5b748aa3aad17c65dfa9530b9145ce0ae8293df55b786d9712bf01d63d7ffb03a3e861d3a898e0fca02a108dd5079483dcb79cdb2e33 SHA512 cbf1245f90c22c6d2c480a841e96ae964353d69e7feec2d2ecb397b5bc5d8881ac081432ba289193e9fb96af556147a08d8d313b3d65a7e5ce068fa319270c83 diff --git a/dev-libs/libqtolm/files/libqtolm-3.0.1-cmake.patch b/dev-libs/libqtolm/files/libqtolm-3.0.1-cmake.patch deleted file mode 100644 index fc3d6cb3d581..000000000000 --- a/dev-libs/libqtolm/files/libqtolm-3.0.1-cmake.patch +++ /dev/null @@ -1,64 +0,0 @@ -From b1ab7541d30764273e0353921b654f779937c910 Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <[email protected]> -Date: Thu, 8 Jun 2023 12:00:12 +0200 -Subject: [PATCH] Use CTest module and standard BUILD_TESTING switch - -Enables downstream package testing integration. - -See also: -https://cmake.org/cmake/help/latest/command/enable_testing.html -https://cmake.org/cmake/help/latest/module/CTest.html#module:CTest - -Signed-off-by: Andreas Sturmlechner <[email protected]> ---- - CMakeLists.txt | 5 ++++- - tests/CMakeLists.txt | 10 ++-------- - 2 files changed, 6 insertions(+), 9 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index eb0b244..afd4f82 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 3.1) - set(API_VERSION "3.0") - project(qtolm VERSION "${API_VERSION}.1" LANGUAGES CXX) - -+include(CTest) - include(CheckCXXCompilerFlag) - if (WIN32) - if (NOT CMAKE_INSTALL_LIBDIR) -@@ -97,7 +98,9 @@ target_link_libraries(QtOlm Olm::Olm Qt5::Core) - - configure_file(QtOlm.pc.in ${CMAKE_CURRENT_BINARY_DIR}/QtOlm.pc @ONLY NEWLINE_STYLE UNIX) - --add_subdirectory(tests) -+if(BUILD_TESTING) -+ add_subdirectory(tests) -+endif() - - # Installation - -diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt -index 091efcd..5cb2b55 100644 ---- a/tests/CMakeLists.txt -+++ b/tests/CMakeLists.txt -@@ -6,14 +6,8 @@ set(SOURCE_FILES - main.cpp - ) - --set(INCLUDE_DIRS -- . --) -- --set(ALL_FILES ${HEADERS_FILES} ${SOURCE_FILES}) -- --add_executable(${PROJECT_NAME} ${ALL_FILES}) -+add_executable(${PROJECT_NAME} ${SOURCE_FILES}) - - target_link_libraries(${PROJECT_NAME} Qt5::Core QtOlm) - --target_include_directories(${PROJECT_NAME} PRIVATE ${INCLUDE_DIRS}) -+add_test(main ${PROJECT_NAME}) --- -2.41.0 - diff --git a/dev-libs/libqtolm/libqtolm-3.0.1.ebuild b/dev-libs/libqtolm/libqtolm-3.0.1.ebuild deleted file mode 100644 index 442fc4df70de..000000000000 --- a/dev-libs/libqtolm/libqtolm-3.0.1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Qt wrapper for libolm" -HOMEPAGE="https://gitlab.com/b0-matrix/libqtolm" -SRC_URI="https://gitlab.com/b0-matrix/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" -S="${WORKDIR}/${PN}-v${PV}" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" - -PATCHES=( "${FILESDIR}/${P}-cmake.patch" ) # TODO: upstream - -DEPEND=" - dev-libs/olm - dev-qt/qtcore:5 -" -RDEPEND="${DEPEND}" - -src_configure() { - local mycmakeargs=( - -DBUILD_TESTING=$(usex test) - ) - cmake_src_configure -} diff --git a/dev-libs/libqtolm/metadata.xml b/dev-libs/libqtolm/metadata.xml deleted file mode 100644 index 63d6ed80405a..000000000000 --- a/dev-libs/libqtolm/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <name>Gavin D. Howard</name> - <email>[email protected]</email> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>[email protected]</email> - <name>Proxy Maintainers</name> - </maintainer> - <upstream> - <bugs-to>https://gitlab.com/b0-matrix/libqtolm</bugs-to> - <remote-id type="gitlab">b0-matrix/libqtolm</remote-id> - </upstream> -</pkgmetadata>
