summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Rösner <rndxelement@protonmail.com>2022-07-24 23:15:42 +0200
committerJoonas Niilola <juippis@gentoo.org>2022-08-04 10:25:34 +0300
commitbfae5e760772730a6d7c66c5eaeb51f9e240ee39 (patch)
tree373ca2055c8c21f83ab20305d32f76263cdd8be6 /media-sound
parentdev-vcs/tortoisehg: 6.2 version bump (diff)
downloadgentoo-bfae5e760772730a6d7c66c5eaeb51f9e240ee39.tar.gz
gentoo-bfae5e760772730a6d7c66c5eaeb51f9e240ee39.tar.bz2
gentoo-bfae5e760772730a6d7c66c5eaeb51f9e240ee39.zip
media-sound/flacon: fix compressed man pages on 9.0.0
The Makefile contained instructions for installing gzip compressed man pages to certain locations, which resulted in the QA error: " * QA Notice: One or more compressed files were found in docompress-ed * directories. Please fix the ebuild not to install compressed files * (manpages, documentation) when automatic compression is used: * * /usr/share/man/man1/flacon.1.gz " Installing the uncompressed version of flacon.1 fixes the issue. Closes: https://bugs.gentoo.org/831605 Signed-off-by: Philipp Rösner <rndxelement@protonmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/flacon/files/flacon-9.0.0-no-man-compress.patch21
-rw-r--r--media-sound/flacon/flacon-9.0.0.ebuild4
2 files changed, 25 insertions, 0 deletions
diff --git a/media-sound/flacon/files/flacon-9.0.0-no-man-compress.patch b/media-sound/flacon/files/flacon-9.0.0-no-man-compress.patch
new file mode 100644
index 000000000000..6ceff9bda276
--- /dev/null
+++ b/media-sound/flacon/files/flacon-9.0.0-no-man-compress.patch
@@ -0,0 +1,21 @@
+diff --git a/CMakeLists.txt.oirg b/CMakeLists.txt
+index f143d91..fd16a9b 100644
+--- a/CMakeLists.txt.oirg
++++ b/CMakeLists.txt
+@@ -302,14 +302,14 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
+ set_target_properties(${PROJECT_NAME} PROPERTIES OUTPUT_NAME "Flacon")
+ install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION Flacon.app/Contents/MacOS)
+ install(FILES ${QM_FILES} DESTINATION Flacon.app/Contents/translations)
+- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/flacon.1.gz DESTINATION Flacon.app/Contents/Resources)
++ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/flacon.1 DESTINATION Flacon.app/Contents/Resources)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/Info.plist DESTINATION Flacon.app/Contents)
+ install(FILES images/mainicon/Flacon.icns DESTINATION Flacon.app/Contents/Resources)
+
+ else()
+ install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION bin)
+ install(FILES ${QM_FILES} DESTINATION ${TRANSLATIONS_DIR})
+- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/flacon.1.gz DESTINATION share/man/man1)
++ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/flacon.1 DESTINATION share/man/man1)
+
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.desktop DESTINATION "share/applications")
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/com.github.Flacon.metainfo.xml DESTINATION "share/metainfo")
diff --git a/media-sound/flacon/flacon-9.0.0.ebuild b/media-sound/flacon/flacon-9.0.0.ebuild
index ed4cffb9c113..6de27bcb88a1 100644
--- a/media-sound/flacon/flacon-9.0.0.ebuild
+++ b/media-sound/flacon/flacon-9.0.0.ebuild
@@ -40,6 +40,10 @@ DEPEND="${RDEPEND}
)
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-9.0.0-no-man-compress.patch
+)
+
RESTRICT="!test? ( test )"
pkg_pretend() {