* [gentoo-commits] repo/gentoo:master commit in: sys-apps/thunderbolt-software-user-space/, ...
@ 2019-10-06 11:23 Andreas Sturmlechner
0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2019-10-06 11:23 UTC (permalink / raw
To: gentoo-commits
commit: a330463043287a78a3aa2e34ffdd261baf10bca9
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 30 21:46:06 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Oct 6 11:23:42 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3304630
sys-apps/thunderbolt-software-user-space: Disable copyright file install
Closes: https://bugs.gentoo.org/648312
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../thunderbolt-software-user-space-0.9.3-cmake.patch | 15 +++++++++++++++
.../thunderbolt-software-user-space-0.9.3-r1.ebuild | 2 ++
2 files changed, 17 insertions(+)
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
index 00000000000..68d50bb282c
--- /dev/null
+++ b/sys-apps/thunderbolt-software-user-space/files/thunderbolt-software-user-space-0.9.3-cmake.patch
@@ -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)
diff --git a/sys-apps/thunderbolt-software-user-space/thunderbolt-software-user-space-0.9.3-r1.ebuild b/sys-apps/thunderbolt-software-user-space/thunderbolt-software-user-space-0.9.3-r1.ebuild
index e8db90238f7..da1c56e10ab 100644
--- a/sys-apps/thunderbolt-software-user-space/thunderbolt-software-user-space-0.9.3-r1.ebuild
+++ b/sys-apps/thunderbolt-software-user-space/thunderbolt-software-user-space-0.9.3-r1.ebuild
@@ -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."
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-10-06 11:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-06 11:23 [gentoo-commits] repo/gentoo:master commit in: sys-apps/thunderbolt-software-user-space/, Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox