diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2022-03-12 12:46:12 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2022-03-12 12:52:03 +0100 |
commit | 58170e4a8daebbc8e1181cb62b7be8d0e7578fc5 (patch) | |
tree | 0bf22b3026664e3a3ead49dd67fcd1be7b4af8e9 /dev-libs/metee | |
parent | dev-libs/metee: update homepage (diff) | |
download | gentoo-58170e4a8daebbc8e1181cb62b7be8d0e7578fc5.tar.gz gentoo-58170e4a8daebbc8e1181cb62b7be8d0e7578fc5.tar.bz2 gentoo-58170e4a8daebbc8e1181cb62b7be8d0e7578fc5.zip |
dev-libs/metee: drop 3.1.0
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-libs/metee')
-rw-r--r-- | dev-libs/metee/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/metee/files/metee-3.1.0-make-docs-optional.patch | 81 | ||||
-rw-r--r-- | dev-libs/metee/metee-3.1.0.ebuild | 31 |
3 files changed, 0 insertions, 113 deletions
diff --git a/dev-libs/metee/Manifest b/dev-libs/metee/Manifest index 4cd229bc853b..bcef7fe7655a 100644 --- a/dev-libs/metee/Manifest +++ b/dev-libs/metee/Manifest @@ -1,2 +1 @@ -DIST metee-3.1.0.tar.gz 70185 BLAKE2B 7f0c595b52b608e1136c77df13244681b73f099e384fae6f5ccd350ccf679f539c8b0bc8ac062f386fa41cec9c9edf3064a6c6a981af4ccdc978629a9ebc0d90 SHA512 a967df238f2a51ecbee6fe3fe8a0d63aa321c35a520f0297688a6dab1d760358bca53a6d3cf3446f1fc9cf7f0a6c13746f5d3aa1e2064e753b1bbdb2bd356e60 DIST metee-3.1.2.tar.gz 70404 BLAKE2B 811b33dafd6d0f15c6860a97ba9ffb20969548e7fceb3bcc25f96e9eefd27576d076629c21ea7b9c83f934815a6c27229465818c64e2c0fb8996ab9fd6c36a18 SHA512 e1a741a4ebb0971356c00ad51c8b17d273fc3d6453ebe374766259bab855b721cd5223b214447df52f0991474f720010549d88000d47846619252e1c19f84347 diff --git a/dev-libs/metee/files/metee-3.1.0-make-docs-optional.patch b/dev-libs/metee/files/metee-3.1.0-make-docs-optional.patch deleted file mode 100644 index 9e4eda27e2d8..000000000000 --- a/dev-libs/metee/files/metee-3.1.0-make-docs-optional.patch +++ /dev/null @@ -1,81 +0,0 @@ -From 95c36b4f09eb3697877610a8a995befe32536b78 Mon Sep 17 00:00:00 2001 -From: Conrad Kostecki <conikost@gentoo.org> -Date: Sun, 22 Aug 2021 14:16:56 +0200 -Subject: [PATCH] CMakeLists.txt: make docs optional - -Signed-off-by: Conrad Kostecki <conikost@gentoo.org> ---- - CMakeLists.txt | 51 ++++++++++++++++++++++++++------------------------ - 1 file changed, 27 insertions(+), 24 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 5b2696d..cd56dc3 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -3,6 +3,7 @@ - cmake_minimum_required(VERSION 3.5) - project(metee) - -+option(BUILD_DOCS "Build docs" YES) - option(BUILD_TEST "Build self-test" NO) - option(BUILD_SAMPLES "Build samples" NO) - option(BUILD_MSVC_RUNTIME_STATIC "Build with static runtime libraries on MSVC" -@@ -43,32 +44,34 @@ install( - ) - - # Documentation --find_package(Doxygen) --if(DOXYGEN_FOUND) -- set(DOXYGEN_INPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) -- set(DOXYGEN_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) -- configure_file( -- ${CMAKE_CURRENT_SOURCE_DIR}/include/Doxyfile.in -- ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY -- ) -- -- add_custom_target( -- doc ALL -- ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile -- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} -- COMMENT "Generating documentation with Doxygen" -- VERBATIM -- ) -- -- if(UNIX) -- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man/man3 -- DESTINATION ${CMAKE_INSTALL_MANDIR} -+if(BUILD_DOCS) -+ find_package(Doxygen) -+ if(DOXYGEN_FOUND) -+ set(DOXYGEN_INPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) -+ set(DOXYGEN_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) -+ configure_file( -+ ${CMAKE_CURRENT_SOURCE_DIR}/include/Doxyfile.in -+ ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY - ) -- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html -- DESTINATION ${CMAKE_INSTALL_DOCDIR} -+ -+ add_custom_target( -+ doc ALL -+ ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile -+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} -+ COMMENT "Generating documentation with Doxygen" -+ VERBATIM - ) -- else() -- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html DESTINATION doc) -+ -+ if(UNIX) -+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man/man3 -+ DESTINATION ${CMAKE_INSTALL_MANDIR} -+ ) -+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html -+ DESTINATION ${CMAKE_INSTALL_DOCDIR} -+ ) -+ else() -+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html DESTINATION doc) -+ endif() - endif() - endif() - diff --git a/dev-libs/metee/metee-3.1.0.ebuild b/dev-libs/metee/metee-3.1.0.ebuild deleted file mode 100644 index 25509cef0437..000000000000 --- a/dev-libs/metee/metee-3.1.0.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="Cross-platform access library for Intel CSME HECI interface" -HOMEPAGE="https://github.com/intel/compute-runtime" -SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64" -IUSE="doc" - -BDEPEND="doc? ( app-doc/doxygen )" - -PATCHES=( "${FILESDIR}/${PN}-3.1.0-make-docs-optional.patch" ) - -src_configure() { - local mycmakeargs=( - -DBUILD_DOCS="$(usex doc)" - -DBUILD_SAMPLES="NO" - -DBUILD_SHARED_LIBS="YES" - -DBUILD_TEST="NO" - -DCONSOLE_OUTPUT="NO" - ) - - cmake_src_configure -} |