diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-08-08 23:07:22 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-08-09 10:31:48 +0200 |
commit | 475af8cdd2c4885724e71a10e8f9f658c33a232a (patch) | |
tree | 5530bd5b2a65cd3b95d3a06c2f24cd08c128522b /media-sound/qastools | |
parent | kde-misc/tellico: 3.3.2 version bump (diff) | |
download | gentoo-475af8cdd2c4885724e71a10e8f9f658c33a232a.tar.gz gentoo-475af8cdd2c4885724e71a10e8f9f658c33a232a.tar.bz2 gentoo-475af8cdd2c4885724e71a10e8f9f658c33a232a.zip |
media-sound/qastools: 0.23.0 version bump
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-sound/qastools')
-rw-r--r-- | media-sound/qastools/Manifest | 1 | ||||
-rw-r--r-- | media-sound/qastools/files/qastools-0.23.0-nomancompress.patch | 173 | ||||
-rw-r--r-- | media-sound/qastools/qastools-0.23.0.ebuild | 41 |
3 files changed, 215 insertions, 0 deletions
diff --git a/media-sound/qastools/Manifest b/media-sound/qastools/Manifest index 15bffad0f72f..60a3e1c5274f 100644 --- a/media-sound/qastools/Manifest +++ b/media-sound/qastools/Manifest @@ -1 +1,2 @@ DIST qastools-v0.22.0.tar.gz 289261 BLAKE2B 25ff23753cbc1b4d758ff2f42b9022785391c61d9211e0024b55cc08841f41cdf0468c485af9e459dc8b65dac526b8238947419c36003d556e8e1fa13a4896e8 SHA512 9656960095520a1bee58efa3985dda30fae1b6be666dfd65b50cb582be21a40d273a1c06b69e870bc2b467f5d644b22ea30c2fd73eee9057b50de5e85864d712 +DIST qastools-v0.23.0.tar.gz 292875 BLAKE2B c0ba54462e702411bee7a15a913617870488b1c9c2676e3c6f69d0648cff79cc1989e0f367953ba6f27b94c014c9b2fa7ef74ae4800d03b99bb8336ce4535d4a SHA512 79042a41a0ad37097d297175b899af73052953b7ae14058a1878e3145769db839b8bd4350bd36646d8436a3e8b37b64da7b3004bee3c7c7780d46a942af1d3b9 diff --git a/media-sound/qastools/files/qastools-0.23.0-nomancompress.patch b/media-sound/qastools/files/qastools-0.23.0-nomancompress.patch new file mode 100644 index 000000000000..477e5f1d9f34 --- /dev/null +++ b/media-sound/qastools/files/qastools-0.23.0-nomancompress.patch @@ -0,0 +1,173 @@ +From 6532d0458e027485d997091f57d651e517d53c38 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <asturm@gentoo.org> +Date: Mon, 8 Jun 2020 11:45:09 +0200 +Subject: [PATCH] Compress manpages optionally + +--- + qasconfig/share/man/CMakeLists.txt | 26 +++++++++++++------------- + qashctl/share/man/CMakeLists.txt | 26 +++++++++++++------------- + qasmixer/share/man/CMakeLists.txt | 26 +++++++++++++------------- + 3 files changed, 39 insertions(+), 39 deletions(-) + +diff --git a/qasconfig/share/man/CMakeLists.txt b/qasconfig/share/man/CMakeLists.txt +index 638b6a3..6ab3f7e 100644 +--- a/qasconfig/share/man/CMakeLists.txt ++++ b/qasconfig/share/man/CMakeLists.txt +@@ -1,35 +1,35 @@ + # Find gzip +-FIND_PACKAGE ( UnixCommands REQUIRED ) +- +-IF ( NOT GZIP ) +- MESSAGE ( FATAL_ERROR "Unable to find 'gzip' program" ) +-ENDIF ( NOT GZIP ) +- ++FIND_PACKAGE ( UnixCommands ) + + # Configure manpages + + SET ( man_src ${CMAKE_CURRENT_SOURCE_DIR}/manpage.1.cmake ) + SET ( man_plain ${CMAKE_CURRENT_BINARY_DIR}/manpage.1 ) +-SET ( man_gz ${CMAKE_CURRENT_BINARY_DIR}/manpage.1.gz ) ++SET ( man_gz .gz ) + + CONFIGURE_FILE ( ${man_src} ${man_plain} ) + + + # Compress manpages + ++IF ( NOT GZIP ) ++ MESSAGE ( STATUS "Unable to find 'gzip' program, not compressing manpage" ) ++ SET ( man_gz "" ) ++ELSE() + ADD_CUSTOM_COMMAND ( +- OUTPUT ${man_gz} +- COMMAND ${GZIP} -c -9 ${man_plain} > ${man_gz} ++ OUTPUT ${man_plain}${man_gz} ++ COMMAND ${GZIP} -c -9 ${man_plain} > ${man_plain}${man_gz} + DEPENDS ${man_plain} +- COMMENT "Building ${man_gz}" ) ++ COMMENT "Building ${man_plain}${man_gz}" ) ++ENDIF() + + ADD_CUSTOM_TARGET ( + qasconfig_manpage ALL +- DEPENDS ${man_gz} ) ++ DEPENDS ${man_plain}${man_gz} ) + + + # Installation of the manpage + +-INSTALL ( FILES ${man_gz} ++INSTALL ( FILES ${man_plain}${man_gz} + DESTINATION ${INSTALL_DIR_MAN} +- RENAME ${PROGRAM_NAME}.1.gz ) ++ RENAME ${PROGRAM_NAME}.1${man_gz} ) +diff --git a/qashctl/share/man/CMakeLists.txt b/qashctl/share/man/CMakeLists.txt +index 1916374..57f4faa 100644 +--- a/qashctl/share/man/CMakeLists.txt ++++ b/qashctl/share/man/CMakeLists.txt +@@ -1,35 +1,35 @@ + # Find gzip +-FIND_PACKAGE ( UnixCommands REQUIRED ) +- +-IF ( NOT GZIP ) +- MESSAGE ( FATAL_ERROR "Unable to find 'gzip' program" ) +-ENDIF ( NOT GZIP ) +- ++FIND_PACKAGE ( UnixCommands ) + + # Configure manpages + + SET ( man_src ${CMAKE_CURRENT_SOURCE_DIR}/manpage.1.cmake ) + SET ( man_plain ${CMAKE_CURRENT_BINARY_DIR}/manpage.1 ) +-SET ( man_gz ${CMAKE_CURRENT_BINARY_DIR}/manpage.1.gz ) ++SET ( man_gz .gz ) + + CONFIGURE_FILE ( ${man_src} ${man_plain} ) + + + # Compress manpages + ++IF ( NOT GZIP ) ++ MESSAGE ( STATUS "Unable to find 'gzip' program, not compressing manpage" ) ++ SET ( man_gz "" ) ++ELSE() + ADD_CUSTOM_COMMAND ( +- OUTPUT ${man_gz} +- COMMAND ${GZIP} -c -9 ${man_plain} > ${man_gz} ++ OUTPUT ${man_plain}${man_gz} ++ COMMAND ${GZIP} -c -9 ${man_plain} > ${man_plain}${man_gz} + DEPENDS ${man_plain} +- COMMENT "Building ${man_gz}" ) ++ COMMENT "Building ${man_plain}${man_gz}" ) ++ENDIF() + + ADD_CUSTOM_TARGET ( + qashctl_manpage ALL +- DEPENDS ${man_gz} ) ++ DEPENDS ${man_plain}${man_gz} ) + + + # Installation of the manpage + +-INSTALL ( FILES ${man_gz} ++INSTALL ( FILES ${man_plain}${man_gz} + DESTINATION ${INSTALL_DIR_MAN} +- RENAME ${PROGRAM_NAME}.1.gz ) ++ RENAME ${PROGRAM_NAME}.1${man_gz} ) +diff --git a/qasmixer/share/man/CMakeLists.txt b/qasmixer/share/man/CMakeLists.txt +index 7fa745a..2929863 100644 +--- a/qasmixer/share/man/CMakeLists.txt ++++ b/qasmixer/share/man/CMakeLists.txt +@@ -1,35 +1,35 @@ + # Find gzip +-FIND_PACKAGE ( UnixCommands REQUIRED ) +- +-IF ( NOT GZIP ) +- MESSAGE ( FATAL_ERROR "Unable to find 'gzip' program" ) +-ENDIF ( NOT GZIP ) +- ++FIND_PACKAGE ( UnixCommands ) + + # Configure manpages + + SET ( man_src ${CMAKE_CURRENT_SOURCE_DIR}/manpage.1.cmake ) + SET ( man_plain ${CMAKE_CURRENT_BINARY_DIR}/manpage.1 ) +-SET ( man_gz ${CMAKE_CURRENT_BINARY_DIR}/manpage.1.gz ) ++SET ( man_gz .gz ) + + CONFIGURE_FILE ( ${man_src} ${man_plain} ) + + + # Compress manpages + ++IF ( NOT GZIP ) ++ MESSAGE ( STATUS "Unable to find 'gzip' program, not compressing manpage" ) ++ SET ( man_gz "" ) ++ELSE() + ADD_CUSTOM_COMMAND ( +- OUTPUT ${man_gz} +- COMMAND ${GZIP} -c -9 ${man_plain} > ${man_gz} ++ OUTPUT ${man_plain}${man_gz} ++ COMMAND ${GZIP} -c -9 ${man_plain} > ${man_plain}${man_gz} + DEPENDS ${man_plain} +- COMMENT "Building ${man_gz}" ) ++ COMMENT "Building ${man_plain}${man_gz}" ) ++ENDIF() + + ADD_CUSTOM_TARGET ( + qasmixer_manpage ALL +- DEPENDS ${man_gz} ) ++ DEPENDS ${man_plain}${man_gz} ) + + + # Installation of the manpage + +-INSTALL ( FILES ${man_gz} ++INSTALL ( FILES ${man_plain}${man_gz} + DESTINATION ${INSTALL_DIR_MAN} +- RENAME ${PROGRAM_NAME}.1.gz ) ++ RENAME ${PROGRAM_NAME}.1${man_gz} ) +-- +2.28.0 + diff --git a/media-sound/qastools/qastools-0.23.0.ebuild b/media-sound/qastools/qastools-0.23.0.ebuild new file mode 100644 index 000000000000..9f055f434b6b --- /dev/null +++ b/media-sound/qastools/qastools-0.23.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Qt5 GUI ALSA tools: mixer, configuration browser" +HOMEPAGE="https://gitlab.com/sebholt/qastools" +SRC_URI="https://gitlab.com/sebholt/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +BDEPEND=" + dev-qt/linguist-tools:5 +" +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + media-libs/alsa-lib + virtual/libudev:= +" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}/${P}-nomancompress.patch" ) + +S="${WORKDIR}"/${PN}-v${PV} + +src_configure() { + local mycmakeargs=( + -DSKIP_LICENSE_INSTALL=ON + -DCMAKE_DISABLE_FIND_PACKAGE_UnixCommands=ON + ) + cmake_src_configure +} |