diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-05-31 20:59:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-05-31 20:59:14 +0100 |
commit | e748ba9741f6540f4675c23e3e37b73e822c13a4 (patch) | |
tree | 23dece8beabb3a3d7c6c0273b0eb40b21c62a889 /media-libs/lib3mf | |
parent | 908778078736bd36f7a60a2d576d415cb8e000fa (diff) |
gentoo resync : 31.05.2021
Diffstat (limited to 'media-libs/lib3mf')
7 files changed, 1 insertions, 224 deletions
diff --git a/media-libs/lib3mf/Manifest b/media-libs/lib3mf/Manifest index 840449c6d1da..dff15be53515 100644 --- a/media-libs/lib3mf/Manifest +++ b/media-libs/lib3mf/Manifest @@ -1,11 +1,5 @@ -AUX lib3mf-1.8.1-0001-Gentoo-specific-avoid-pre-stripping-library.patch 1047 BLAKE2B 9c3e11728a7edba3d3e872361d587b4442fe7324d23ce4b2358017ba860e6395c2b0a1d0095344d7449227b4659087b72c97811036e2113967d0cb8be35b818d SHA512 3f187fdcc22277756cc1e1bffdff02d998dd7610964f0bac0cbf4c276eb2a2b24175c92471866931283a72e699b4e999732c2f1bbf1c45378720199eb7406fd2 -AUX lib3mf-1.8.1-0002-Add-library-link-dependencies.patch 2567 BLAKE2B 10bae2bc7422bd35b05fcb4c016f9391035baad0ff903b628ce8d6f7e8e2e3f758360306772c6a6603e24ab037d8e98348f616da4dae9b509c2e342697e57801 SHA512 97bef547c3c5e7e25bdec1d5f907852e883b62c6e481659cefb48f3b69f8a26804ff8ee45657349345f3d6e9452251b68043767a44b6ce3b4e759d6ada2c21de -AUX lib3mf-1.8.1-0003-Change-installation-include-dir.patch 1737 BLAKE2B b6ffd368f7078d8a7ee06d49fab001b7fdc8969d52ac1e54efd4ef2184c9b8d2947eb5ca2fe77d9a7b6369adca15e9362db09d0c55ee921bef3d04741162f71e SHA512 cf2ebd71308f75a620b9ac7f213e5d794350f9b59f7840fcc5b3a49e20b75cd323fc99a074900d751c81ca86171a5acb29191fa05ebf6c8305b0ee3fd55dae99 -AUX lib3mf-1.8.1-0004-Gentoo-specific-Remove-gtest-source-dir.patch 1172 BLAKE2B d6e27b935d0a7644ba6a56e9da2159fd24a9f42831befe2acd0f9b26fa5c1266ac87de34c7ef2d709dfb12048f52a1a27232307a4df1c12ec099e5cb45d37c57 SHA512 f514ad5f37e6da0a45c81769ead73c6ef4c04d368dc6a129d3b3547147c3b47db2182bf630457c02fd67951c5c97ef43db2c770d4a0864003ebbc207c4974fe7 AUX lib3mf-2.1.0-0001-Gentoo-specific-avoid-pre-stripping-library.patch 1067 BLAKE2B 1c56383b9a791ea5bcc8762a23c92426d308d6f55e5b51ec9268a779bb202144958f9cfa02686d72bf260d2beeb08b3ddf0c58441bf1a899032c408fd137df93 SHA512 af9930e67b6a0a3db26a97326e68a8e8a2d3ac57c378cf8f79397f514ec18ab600efb84b941d0449ffc8d620564082f8942a428c1fefa3cf199d972a7a4f9622 AUX lib3mf-2.1.1-0001-patch-to-use-system-provided-act-binary.patch 5462 BLAKE2B 73ebe5037f11673232363ee4ec99aea828b37ea24469ddced15593310e8f7f7806c08bddde40583640471d2566985d5002970dcc6f8f3d64ff369cfe3a3567e7 SHA512 1f5fb5c3b0dd115da478bdcf9c47e9c269c13613604905df8b0a80fccf5b039ee2c1ce0f433c68f783b11e5faf1756fb66772f0e313bdb0ae6af3c2a5cf35ab3 -DIST lib3mf-1.8.1.tar.gz 8415939 BLAKE2B 45652aab8c84eb5d500455db211eb911c6e74decf4fbbb652976847e1b3ea16db9c626bd37cd9669aefc8dea29c424e6518e0517e8f96fa6282771e34f840290 SHA512 f7fd75bcb6472de1595a018e5add516d0d78ab0aee92462b686b77f8d2bef05270e7b737cb7e1d31fc5850815056e753874c2f9ec456a455e8461c4010fe914a DIST lib3mf-2.1.1.tar.gz 15917671 BLAKE2B eacf066147d5c4e15f79d374a377b5ef3b4bc8b4db20ca29e95df5cded11420874ab2df8b5bc48d4a47bbbb6bcb28390e72dae422ad43d5df4d1fd0cd4ed4878 SHA512 43b1091721e994adfa8390ed6542dc207b62dee278d8747fcca044692a72123c3445d4e7795d5476d15bb535fd1a3ce1da2c2796ab8edb28eb66528778fec846 -EBUILD lib3mf-1.8.1.ebuild 1082 BLAKE2B 56b7700e947b7ae6c0657e68d62c21ccd9d750695f185d19459ff68f3933285e78f0fb46a6e19dee0908b7a2349df3fb392cb85e23fec07e42c1a67796786f97 SHA512 5ad4a29703d59e659dd8563a3fa31b1fc1224296acf80c997c00aac6148739220d2e786eaff21cef2b6d2b7d61a0e01c4609153b10e239091db5d035213169cc -EBUILD lib3mf-2.1.1-r1.ebuild 1615 BLAKE2B 6dd77c1d31063c8cc490f63d9e18d275d22b55d097b4850d8bf43a0ea31b1d958c71c8b9e20e4e563433139f689a962e98676845bb71713fc6a39f99f3baa110 SHA512 967b68df018553f947c631a3bc8c36f559aa545379191b536f1e6f9366b14e9ec916fb1b98add4b37d00fb9ec8a949f6e05adcc6c18a03f4713c24d5a85f3ddc +EBUILD lib3mf-2.1.1-r1.ebuild 1422 BLAKE2B 2a5d1bba2b34e3aba7f8b852ed81af4056247e586ebad940d48cbf07d1b1e28b03ded6ed85c958eba45c0ee7d9b40368c57415c212b51862c92745accdf8e100 SHA512 86bd28c9587a9f081049e0fe839cd39b0dc45b7eb90e87b2494fb4855f27a056ca87b114a730160b16591c63bf75ead6229bd5305bfedb8d38ae21c3d5ce2278 MISC metadata.xml 935 BLAKE2B e249808fd2905dc9202259b4aa0a557bfa7e04ea13f72b1dcb0d2e6b3b2c6844dd340ed8629fda53b57a0fe2ddbec55a11dc98acb1997015d118a138ffc23796 SHA512 d58e9bb490ee4b3dfa11e18bd2cb5fdc0e581e0786ca9c4435f900bfdd8b2f158cd9dc863edc9b6b4b40c89e279f96b485a4c64589ced5ed475c1ff1f7bec8bf diff --git a/media-libs/lib3mf/files/lib3mf-1.8.1-0001-Gentoo-specific-avoid-pre-stripping-library.patch b/media-libs/lib3mf/files/lib3mf-1.8.1-0001-Gentoo-specific-avoid-pre-stripping-library.patch deleted file mode 100644 index c695283cffbb..000000000000 --- a/media-libs/lib3mf/files/lib3mf-1.8.1-0001-Gentoo-specific-avoid-pre-stripping-library.patch +++ /dev/null @@ -1,27 +0,0 @@ -From d97ad4604af7998541567ec486f90dd528e839b1 Mon Sep 17 00:00:00 2001 -From: Bernd Waibel <waebbl@gmail.com> -Date: Wed, 8 Apr 2020 19:09:42 +0200 -Subject: [PATCH 1/4] [Gentoo-specific] avoid pre-stripping library - -Signed-off-by: Bernd Waibel <waebbl@gmail.com> ---- - CMakeLists.txt | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 5453440..c867224 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -104,7 +104,8 @@ if (UNIX OR MINGW) - # Uncomment the following to but the version info into the .so-file. - SET_TARGET_PROPERTIES(${PROJECT_NAME}_s PROPERTIES VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}") - SET_TARGET_PROPERTIES(${PROJECT_NAME}_s PROPERTIES SOVERSION "${PROJECT_VERSION_MAJOR}") -- if (NOT APPLE) -+ # avoid pre-stripping on Gentoo, this is done by emerge -+ if (NOT APPLE OR (UNIX AND NOT CMAKE_BUILD_TYPE MATCHES "Gentoo")) - SET_TARGET_PROPERTIES(${PROJECT_NAME}_s PROPERTIES LINK_FLAGS -s) - endif() - if (NOT WIN32) --- -2.26.0 - diff --git a/media-libs/lib3mf/files/lib3mf-1.8.1-0002-Add-library-link-dependencies.patch b/media-libs/lib3mf/files/lib3mf-1.8.1-0002-Add-library-link-dependencies.patch deleted file mode 100644 index de5331ae66ec..000000000000 --- a/media-libs/lib3mf/files/lib3mf-1.8.1-0002-Add-library-link-dependencies.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 976f14e1ac26389dbfc04bcffd9f4e7e21197001 Mon Sep 17 00:00:00 2001 -From: Bernd Waibel <waebbl@gmail.com> -Date: Wed, 8 Apr 2020 20:05:16 +0200 -Subject: [PATCH] Add library link dependencies - -If USE_INCLUDED_LIBZIP and/or USE_INCLUDED_ZLIB are not set -add them to target_link_libaries command. - -Signed-off-by: Bernd Waibel <waebbl@gmail.com> ---- - CMakeLists.txt | 10 +++++++++- - UnitTests/CPP/CMakeLists.txt | 10 +++++++++- - 2 files changed, 18 insertions(+), 2 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index c867224..df87806 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -130,7 +130,15 @@ add_library(${PROJECT_NAME} SHARED ${SRCS_MAIN_PLATFORM} - ) - set(STARTUPPROJECT ${PROJECT_NAME}) - SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES PREFIX "" IMPORT_PREFIX "") --target_link_libraries(${PROJECT_NAME} ${PROJECT_NAME}_s) -+if(USE_INCLUDED_LIBZIP AND USE_INCLUDED_ZLIB) -+ target_link_libraries(${PROJECT_NAME} ${PROJECT_NAME}_s) -+elseif(USE_INCLUDED_LIBZIP AND NOT USE_INCLUDED_ZLIB) -+ target_link_libraries(${PROJECT_NAME} ${PROJECT_NAME}_s z) -+elseif(USE_INCLUDED_ZLIB AND NOT USE_INCLUDED_LIBZIP) -+ target_link_libraries(${PROJECT_NAME} ${PROJECT_NAME}_s zip) -+else() -+ target_link_libraries(${PROJECT_NAME} ${PROJECT_NAME}_s zip z) -+endif() - if (UNIX OR MINGW) - # Uncomment the following to but the version info into the .so-file. - SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}.${BUILD_NUMBER}") -diff --git a/UnitTests/CPP/CMakeLists.txt b/UnitTests/CPP/CMakeLists.txt -index 2fdf85d..24d32bf 100644 ---- a/UnitTests/CPP/CMakeLists.txt -+++ b/UnitTests/CPP/CMakeLists.txt -@@ -22,7 +22,15 @@ if (WIN32) - endif() - - target_include_directories(${TESTNAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/Include ${gtest_SOURCE_DIR}/include) --target_link_libraries(${TESTNAME} ${PROJECT_NAME}_s gtest gtest_main) -+if(USE_INCLUDED_LIBZIP AND USE_INCLUDED_ZLIB) -+ target_link_libraries(${TESTNAME} ${PROJECT_NAME}_s gtest gtest_main) -+elseif(USE_INCLUDED_LIBZIP AND NOT USE_INCLUDED_ZLIB) -+ target_link_libraries(${TESTNAME} ${PROJECT_NAME}_s gtest gtest_main z) -+elseif(USE_INCLUDED_ZLIB AND NOT USE_INCLUDED_LIBZIP) -+ target_link_libraries(${TESTNAME} ${PROJECT_NAME}_s gtest gtest_main zip) -+else() -+ target_link_libraries(${TESTNAME} ${PROJECT_NAME}_s gtest gtest_main zip z) -+endif() - add_dependencies(${TESTNAME} ${PROJECT_NAME}_s) - set_target_properties(${TESTNAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/") - --- -2.26.0 - diff --git a/media-libs/lib3mf/files/lib3mf-1.8.1-0003-Change-installation-include-dir.patch b/media-libs/lib3mf/files/lib3mf-1.8.1-0003-Change-installation-include-dir.patch deleted file mode 100644 index 3d79c0d4a4f0..000000000000 --- a/media-libs/lib3mf/files/lib3mf-1.8.1-0003-Change-installation-include-dir.patch +++ /dev/null @@ -1,44 +0,0 @@ -From f61a4c09977097b0d456ce9e480c2630b90cdc30 Mon Sep 17 00:00:00 2001 -From: Bernd Waibel <waebbl@gmail.com> -Date: Wed, 8 Apr 2020 19:16:07 +0200 -Subject: [PATCH 3/4] Change installation include dir to a more specific one. - -Signed-off-by: Bernd Waibel <waebbl@gmail.com> ---- - CMakeLists.txt | 6 +++--- - lib3MF.pc.in | 2 +- - 2 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index df87806..3101c65 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -148,9 +148,9 @@ install(TARGETS ${PROJECT_NAME} - ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" - LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" - RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}") --install(DIRECTORY Include/Model DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}") --install(DIRECTORY Include/Common DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}") --install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/Include/ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}") -+install(DIRECTORY Include/Model DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/lib3mf") -+install(DIRECTORY Include/Common DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/lib3mf") -+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/Include/ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/lib3mf") - - ######################################################### - configure_file(lib3MF.pc.in lib3MF.pc @ONLY) -diff --git a/lib3MF.pc.in b/lib3MF.pc.in -index 9afb6ee..cf8cafb 100644 ---- a/lib3MF.pc.in -+++ b/lib3MF.pc.in -@@ -1,7 +1,7 @@ - prefix=@CMAKE_INSTALL_PREFIX@ - exec_prefix=@CMAKE_INSTALL_PREFIX@ - libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ --includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ -+includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@/lib3mf - - Name: @PROJECT_NAME@ - Description: @PROJECT_DESCRIPTION@ --- -2.26.0 - diff --git a/media-libs/lib3mf/files/lib3mf-1.8.1-0004-Gentoo-specific-Remove-gtest-source-dir.patch b/media-libs/lib3mf/files/lib3mf-1.8.1-0004-Gentoo-specific-Remove-gtest-source-dir.patch deleted file mode 100644 index edc202e83038..000000000000 --- a/media-libs/lib3mf/files/lib3mf-1.8.1-0004-Gentoo-specific-Remove-gtest-source-dir.patch +++ /dev/null @@ -1,35 +0,0 @@ -From f392342f819b59449228100b7de8c14eda3cc391 Mon Sep 17 00:00:00 2001 -From: Bernd Waibel <waebbl@gmail.com> -Date: Wed, 8 Apr 2020 19:55:40 +0200 -Subject: [PATCH] [Gentoo-specific] Remove gtest source dir - -We use system gtest on Gentoo - -Signed-off-by: Bernd Waibel <waebbl@gmail.com> ---- - UnitTests/CMakeLists.txt | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -diff --git a/UnitTests/CMakeLists.txt b/UnitTests/CMakeLists.txt -index 59ae773..1212228 100644 ---- a/UnitTests/CMakeLists.txt -+++ b/UnitTests/CMakeLists.txt -@@ -1,7 +1,5 @@ --ADD_SUBDIRECTORY (googletest EXCLUDE_FROM_ALL) - enable_testing() -- --SET(gtest_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/googletest/googletest") -+ - add_definitions( -DTESTFILESPATH="${CMAKE_CURRENT_SOURCE_DIR}/../TestFiles") - add_definitions( -DLTESTFILESPATH=L"${CMAKE_CURRENT_SOURCE_DIR}/../TestFiles") - add_definitions( -DLOUTFILESPATH=L"${CMAKE_BINARY_DIR}/") -@@ -12,4 +10,4 @@ add_subdirectory(C_Interface) - # Tests on internal classes of the library - add_subdirectory(CPP) - --set(STARTUPPROJECT ${STARTUPPROJECT} PARENT_SCOPE) -\ No newline at end of file -+set(STARTUPPROJECT ${STARTUPPROJECT} PARENT_SCOPE) --- -2.26.0 - diff --git a/media-libs/lib3mf/lib3mf-1.8.1.ebuild b/media-libs/lib3mf/lib3mf-1.8.1.ebuild deleted file mode 100644 index a51555571c7c..000000000000 --- a/media-libs/lib3mf/lib3mf-1.8.1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="Implementation of the 3D Manufacturing Format file standard" -HOMEPAGE="https://3mf.io/" -SRC_URI="https://github.com/3MFConsortium/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" -IUSE="doc test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-libs/libzip:= - sys-apps/util-linux - sys-libs/zlib -" -DEPEND=" - ${RDEPEND} - test? ( >=dev-cpp/gtest-1.8.0 ) -" - -PATCHES=( - "${FILESDIR}/${P}-0001-Gentoo-specific-avoid-pre-stripping-library.patch" - "${FILESDIR}/${P}-0002-Add-library-link-dependencies.patch" - "${FILESDIR}/${P}-0003-Change-installation-include-dir.patch" - "${FILESDIR}/${P}-0004-Gentoo-specific-Remove-gtest-source-dir.patch" -) - -src_configure() { - local mycmakeargs=( - -DLIB3MF_TESTS=$(usex test) - -DUSE_INCLUDED_LIBZIP=OFF - -DUSE_INCLUDED_ZLIB=OFF - ) - cmake_src_configure -} - -src_install() { - local DOCS=( CONTRIBUTING.md README.md ) - use doc && DOCS+=( Lib3MF-1.pdf ) - cmake_src_install -} diff --git a/media-libs/lib3mf/lib3mf-2.1.1-r1.ebuild b/media-libs/lib3mf/lib3mf-2.1.1-r1.ebuild index f2853dab0b21..bae4219d6bb8 100644 --- a/media-libs/lib3mf/lib3mf-2.1.1-r1.ebuild +++ b/media-libs/lib3mf/lib3mf-2.1.1-r1.ebuild @@ -11,10 +11,6 @@ SRC_URI="https://github.com/3MFConsortium/${PN}/archive/v${PV}.tar.gz -> ${P}.ta LICENSE="BSD" SLOT="0/2" -# the included ACT binary is a statically x86_64 built one -# see https://github.com/3MFConsortium/lib3mf/issues/199 -# Keyword arm64 can be re-added after we have dev-go/act -# package keyworded KEYWORDS="amd64 ~arm64 x86" IUSE="+system-act test" RESTRICT="!test? ( test )" |