From 904c63ca25f5f4d466b46342be0d9ad18ad1ea42 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sat, 27 May 2017 12:37:46 +0200 Subject: [PATCH] media-sound/pnmixer: fix manpage install destination --- ...40d13da702dd5074b85996ea520006f6d3fb.patch | 20 +++++++++++++++++++ ...1.exheres-0 => pnmixer-0.7.1-r1.exheres-0} | 4 ++++ 2 files changed, 24 insertions(+) create mode 100644 packages/media-sound/pnmixer/files/e28f40d13da702dd5074b85996ea520006f6d3fb.patch rename packages/media-sound/pnmixer/{pnmixer-0.7.1.exheres-0 => pnmixer-0.7.1-r1.exheres-0} (72%) diff --git a/packages/media-sound/pnmixer/files/e28f40d13da702dd5074b85996ea520006f6d3fb.patch b/packages/media-sound/pnmixer/files/e28f40d13da702dd5074b85996ea520006f6d3fb.patch new file mode 100644 index 0000000..2e8feaf --- /dev/null +++ b/packages/media-sound/pnmixer/files/e28f40d13da702dd5074b85996ea520006f6d3fb.patch @@ -0,0 +1,20 @@ +From e28f40d13da702dd5074b85996ea520006f6d3fb Mon Sep 17 00:00:00 2001 +From: Arnaud Rebillout +Date: Sat, 27 May 2017 14:51:17 +0700 +Subject: [PATCH] Fix manpage destination + +--- + data/man/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/data/man/CMakeLists.txt b/data/man/CMakeLists.txt +index 471ec9a..f7db0ba 100644 +--- a/data/man/CMakeLists.txt ++++ b/data/man/CMakeLists.txt +@@ -1,5 +1,5 @@ + CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/pnmixer.1.in + ${CMAKE_CURRENT_BINARY_DIR}/pnmixer.1) + +-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/pnmixer.1" DESTINATION "${CMAKE_INSTALL_MANDIR}") ++install(FILES "${CMAKE_CURRENT_BINARY_DIR}/pnmixer.1" DESTINATION "${CMAKE_INSTALL_MANDIR}/man1") + diff --git a/packages/media-sound/pnmixer/pnmixer-0.7.1.exheres-0 b/packages/media-sound/pnmixer/pnmixer-0.7.1-r1.exheres-0 similarity index 72% rename from packages/media-sound/pnmixer/pnmixer-0.7.1.exheres-0 rename to packages/media-sound/pnmixer/pnmixer-0.7.1-r1.exheres-0 index 18bb230..e990b4a 100644 --- a/packages/media-sound/pnmixer/pnmixer-0.7.1.exheres-0 +++ b/packages/media-sound/pnmixer/pnmixer-0.7.1-r1.exheres-0 @@ -7,3 +7,7 @@ require pnmixer [ release=v${PV/_rc/-rc} ] SLOT="0" PLATFORMS="~amd64" +DEFAULT_SRC_PREPARE_PATCHES=( + "${FILES}"/e28f40d13da702dd5074b85996ea520006f6d3fb.patch +) +