sys-apps/thunderbolt-software-user-space: Disable copyright file install
authorAndreas Sturmlechner <asturm@gentoo.org>
Mon, 30 Sep 2019 21:46:06 +0000 (23:46 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 6 Oct 2019 11:23:42 +0000 (13:23 +0200)
Closes: https://bugs.gentoo.org/648312
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
sys-apps/thunderbolt-software-user-space/files/thunderbolt-software-user-space-0.9.3-cmake.patch [new file with mode: 0644]
sys-apps/thunderbolt-software-user-space/thunderbolt-software-user-space-0.9.3-r1.ebuild

diff --git a/sys-apps/thunderbolt-software-user-space/files/thunderbolt-software-user-space-0.9.3-cmake.patch b/sys-apps/thunderbolt-software-user-space/files/thunderbolt-software-user-space-0.9.3-cmake.patch
new file mode 100644 (file)
index 0000000..68d50bb
--- /dev/null
@@ -0,0 +1,15 @@
+'For DEB', so why do they install it by default?
+Only redundant here, and a minor QA offence.
+
+--- a/CMakeLists.txt   2018-02-14 09:42:31.000000000 +0100
++++ b/CMakeLists.txt   2019-09-30 23:47:11.529985366 +0200
+@@ -102,9 +102,4 @@
+ set(CPACK_PACKAGE_FILE_NAME
+     "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_PACKAGE_RELEASE}.${CMAKE_SYSTEM_PROCESSOR}")
+-# For DEB
+-install(FILES ${CPACK_RESOURCE_FILE_LICENSE}
+-        DESTINATION share/doc/${CPACK_PACKAGE_NAME}
+-        RENAME copyright)
+-
+ include(CPack)
index e8db90238f7f75afb4836a0e083043ab9087d6f0..da1c56e10ab8d002fb7a0b53067e4dfcd7698481 100644 (file)
@@ -18,6 +18,8 @@ IUSE=""
 DEPEND="dev-libs/boost:="
 RDEPEND="${DEPEND}"
 
+PATCHES=( "${FILESDIR}/${P}-cmake.patch" )
+
 pkg_pretend() {
        CONFIG_CHECK="THUNDERBOLT"
        ERROR_THUNDERBOLT="This program talks to the thunderbolt kernel driver, so please enable it."