diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2020-07-20 09:24:17 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2020-07-20 10:49:57 +0200 |
commit | 353bff9626472676bd84ac65cf259e6370a073fe (patch) | |
tree | 24be8c293e4228d0e78c7f16274402a44fc5bc79 /media-sound/lmms | |
parent | www-servers/tomcat: fixed building of javadoc for 8.5.57 and 9.0.37 (diff) | |
download | gentoo-353bff9626472676bd84ac65cf259e6370a073fe.tar.gz gentoo-353bff9626472676bd84ac65cf259e6370a073fe.tar.bz2 gentoo-353bff9626472676bd84ac65cf259e6370a073fe.zip |
media-sound/lmms: Don't compress manpage during build
Closes: https://bugs.gentoo.org/733284
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-sound/lmms')
-rw-r--r-- | media-sound/lmms/files/lmms-1.2.2-no_compress_man.patch | 37 | ||||
-rw-r--r-- | media-sound/lmms/lmms-1.2.2.ebuild | 4 |
2 files changed, 41 insertions, 0 deletions
diff --git a/media-sound/lmms/files/lmms-1.2.2-no_compress_man.patch b/media-sound/lmms/files/lmms-1.2.2-no_compress_man.patch new file mode 100644 index 000000000000..c087cf8387a7 --- /dev/null +++ b/media-sound/lmms/files/lmms-1.2.2-no_compress_man.patch @@ -0,0 +1,37 @@ +--- lmms/CMakeLists.txt ++++ lmms/CMakeLists.txt +@@ -575,15 +575,6 @@ + # post-install tasks + ADD_SUBDIRECTORY(cmake/postinstall) + +-ADD_CUSTOM_COMMAND(OUTPUT "${CMAKE_BINARY_DIR}/lmms.1.gz" +- COMMAND gzip -c ${CMAKE_SOURCE_DIR}/doc/lmms.1 > ${CMAKE_BINARY_DIR}/lmms.1.gz +- DEPENDS "${CMAKE_SOURCE_DIR}/doc/lmms.1" +- COMMENT "Generating lmms.1.gz" +- VERBATIM) +- +- +-ADD_CUSTOM_TARGET(manpage ALL +- DEPENDS "${CMAKE_BINARY_DIR}/lmms.1.gz") + + # install headers + +--- lmms/src/CMakeLists.txt ++++ lmms/src/CMakeLists.txt +@@ -113,7 +113,7 @@ + ) + ENDIF() + +-SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${LMMS_ER_H} ${LMMS_UI_OUT} lmmsconfig.h lmms.1.gz") ++SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${LMMS_ER_H} ${LMMS_UI_OUT} lmmsconfig.h lmms.1") + + IF(LMMS_BUILD_WIN32) + SET(EXTRA_LIBRARIES "-lwinmm") +@@ -258,6 +258,6 @@ + ENDIF(NOT LMMS_BUILD_APPLE) + + INSTALL(TARGETS lmms RUNTIME DESTINATION "${BIN_DIR}") +- INSTALL(FILES "${CMAKE_BINARY_DIR}/lmms.1.gz" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1/" PERMISSIONS OWNER_READ GROUP_READ WORLD_READ) ++ INSTALL(FILES "${CMAKE_SOURCE_DIR}/doc/lmms.1" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1/" PERMISSIONS OWNER_READ GROUP_READ WORLD_READ) + + ENDIF(LMMS_BUILD_WIN32) diff --git a/media-sound/lmms/lmms-1.2.2.ebuild b/media-sound/lmms/lmms-1.2.2.ebuild index 2c476fc93c5e..d4bc8ba5d190 100644 --- a/media-sound/lmms/lmms-1.2.2.ebuild +++ b/media-sound/lmms/lmms-1.2.2.ebuild @@ -70,6 +70,10 @@ DOCS=( README.md doc/AUTHORS ) S="${WORKDIR}/${PN}" +PATCHES=( + "${FILESDIR}/${PN}-1.2.2-no_compress_man.patch" #733284 +) + src_configure() { local mycmakeargs+=( -DUSE_WERROR=FALSE |