summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2024-11-10 13:21:01 +0100
committerDavid Seifert <soap@gentoo.org>2024-11-10 13:21:01 +0100
commite36f48365e7a3ae01799784d475d73b81d45aed8 (patch)
treee723593201a0bf08bcb27922b570175276d6e361 /games-util
parentmedia-libs/libheif: drop 1.18.2 (diff)
downloadgentoo-e36f48365e7a3ae01799784d475d73b81d45aed8.tar.gz
gentoo-e36f48365e7a3ae01799784d475d73b81d45aed8.tar.bz2
gentoo-e36f48365e7a3ae01799784d475d73b81d45aed8.zip
games-util/grfcodec: fix cmake install
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'games-util')
-rw-r--r--games-util/grfcodec/files/grfcodec-6.1.0-cmake-install.patch21
-rw-r--r--games-util/grfcodec/grfcodec-6.1.0-r1.ebuild (renamed from games-util/grfcodec/grfcodec-6.1.0.ebuild)8
2 files changed, 23 insertions, 6 deletions
diff --git a/games-util/grfcodec/files/grfcodec-6.1.0-cmake-install.patch b/games-util/grfcodec/files/grfcodec-6.1.0-cmake-install.patch
new file mode 100644
index 000000000000..f3524d3b6179
--- /dev/null
+++ b/games-util/grfcodec/files/grfcodec-6.1.0-cmake-install.patch
@@ -0,0 +1,21 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -158,7 +158,6 @@
+
+ install(FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/changelog.txt
+- ${CMAKE_CURRENT_SOURCE_DIR}/COPYING
+ DESTINATION ${CMAKE_INSTALL_DOCDIR}
+ )
+
+--- a/docs/CMakeLists.txt
++++ b/docs/CMakeLists.txt
+@@ -5,7 +5,7 @@
+ ${CMAKE_CURRENT_SOURCE_DIR}/grfid.1
+ ${CMAKE_CURRENT_SOURCE_DIR}/grfstrip.1
+ ${CMAKE_CURRENT_SOURCE_DIR}/nforenum.1
+- DESTINATION ${CMAKE_INSTALL_MANDIR}
++ DESTINATION ${CMAKE_INSTALL_MANDIR}/man1
+ )
+
+ install(FILES
diff --git a/games-util/grfcodec/grfcodec-6.1.0.ebuild b/games-util/grfcodec/grfcodec-6.1.0-r1.ebuild
index 9418544f1b63..ce2b664d42de 100644
--- a/games-util/grfcodec/grfcodec-6.1.0.ebuild
+++ b/games-util/grfcodec/grfcodec-6.1.0-r1.ebuild
@@ -18,12 +18,8 @@ DEPEND="${RDEPEND}
dev-libs/boost"
PATCHES=(
+ "${FILESDIR}"/${PN}-6.1.0-cmake-install.patch
+
# Bug #894648
"${FILESDIR}"/${PN}-6.0.6_p20230811-no-fortify-source.patch
)
-
-src_install() {
- dobin "${BUILD_DIR}"/{grfcodec,grfid,grfstrip,nforenum}
- doman docs/*.1
- dodoc changelog.txt docs/*.txt
-}