summaryrefslogtreecommitdiff
path: root/media-sound/flacon
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-04 14:05:21 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-04 14:05:21 +0100
commit9ec9cbf23e468492eab5e3a31836c699e8c5c534 (patch)
tree0b9e7c4efba878b19e0c88b7b657475c4cef06d9 /media-sound/flacon
parentb46abba85084f65c8b5d619bfc4e2c5373ad4067 (diff)
gentoo auto-resync : 04:08:2022 - 14:05:20
Diffstat (limited to 'media-sound/flacon')
-rw-r--r--media-sound/flacon/Manifest5
-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
-rw-r--r--media-sound/flacon/flacon-9.1.0.ebuild88
4 files changed, 117 insertions, 1 deletions
diff --git a/media-sound/flacon/Manifest b/media-sound/flacon/Manifest
index 12e547152207..549dd1f95709 100644
--- a/media-sound/flacon/Manifest
+++ b/media-sound/flacon/Manifest
@@ -1,9 +1,12 @@
AUX flacon-5.5.1-ninja-warning.patch 2227 BLAKE2B 07957a0d79d3c6d8c228ba00f1232c5e2071f6868097ff891ee00473ade0f01f32ec8a9ea8fdf55ea7681d82e9c023382dcf978d828a7a0c0a2b05053b36d070 SHA512 77755301347b562f1f0003d13cd933f98e3bd9041ec9e1f8c6d4daf6e4185197cbec7f7c9ee584ef3948594c98eba13ddc509350f3329c5753430d12090b1d31
AUX flacon-5.5.1-no-man-compress.patch 1089 BLAKE2B e4757b39f3ccbfb60e0298ed091718c809fa224d53d4cc0e15ae1f65e11d8698a5434bd3099bae3932b4931a7624ce9c00334e8503c2131a0d61d075642dc730 SHA512 a975329808a5642d4684d03c9261073633f394d789ac5b28dd30e0028a7ee8503a447644d5911a1bcd24c89fbab6279e3228dc21462f277aec9ef040b784703f
+AUX flacon-9.0.0-no-man-compress.patch 1425 BLAKE2B 9f21a5b8a8b2ec0986b0d5902b15ecfa5214ce1471f4a851e88feb07ef80e8d89617173c587128b6340d349afa087c46e6b787f6cc297a7c594d787b19a060f0 SHA512 7b80c99514bdd540737a773182e9213ef4027c529a6fdd3808c4d35baeec9c5ebb67d15f550cb8a38e37764f19e2a4b7d1cfba0cc0c3872dc4658b7158c9239a
DIST flacon-5.5.1.tar.gz 2336502 BLAKE2B 524fe5fa28126f56452515ca1ce1572343dad8b06c28fc8e3a22a11e9ad8f3a51a25b3c19ddd29a7e3c658f1d7fb3316a2554a12a4ba3dd22370fc1394d38022 SHA512 36900b011135b61cf3cc1f05d94f852fc7e127972f3fed09e0fb7e66fec944ed1c3bfc61307494aff87c2fe24e16479605043a79e0634bc23940d01fc337c6c1
DIST flacon-8.2.0.tar.gz 3757221 BLAKE2B dff0dc849c326a53ad167efea3106ca2d057121081822a821f2daa4cc2140a858960f1b4cdc2935f3e569aac25c25ceece2d171056788b9f541355c540457550 SHA512 9799c1a27426a2f67d782f15a3a1d210c5dc61b00b30b9c4143047a243f2d46cb0eb651c18919fa1ac2a8fdc2f54c83ec2e0b46a00254c908230e7ffb34965bc
DIST flacon-9.0.0.tar.gz 3762192 BLAKE2B abebc21e31fee43f4970b6e56724bfb0b6f2cc7d33e2539def102b329f1228886f7f0fcbb20a2e100a7ba77f6f45bf5ac032151ab0f830676dbf4ce24da0ce3f SHA512 3780f94a4c6c6812eb0a0efd4e677926d8cc53c15f692701cd20df0441f551d4639b632c08a36146873ad11cdb9cdaa4e726845eb05ae15ecc29a1dac250a928
+DIST flacon-9.1.0.tar.gz 3769110 BLAKE2B 9e0c4aaef3f6019a8c8196a204e8281ca4250df441ea14127d9347f26557091e87019388bd2942afc39e45a7864d653e2ae887f665ce190f18e646448c3f8e3e SHA512 be35c61e082be7d05bebee5f99192201f91e90f3a80827ac5808e6798f7ed0ada28ab7c2456702c443be51356ec192cd059408c2c3feb5b48b5bab048d0efb00
EBUILD flacon-5.5.1.ebuild 1944 BLAKE2B 0afa69737ffe96fb91799505de744eb1a4522e628c945b346cdff399aa8006a2855bbc6f82b7bcce0616e8bc402ed7f76a255a3ebb788158fc915ba3e34635a4 SHA512 bed116792c593ce302e1d5316c3b383079461a6b4f9ecb9e32da6d96757f24a708befa2c9b5edb95f1383226405d64de52ef3fbf5681bd4a10b6c94176e2959b
EBUILD flacon-8.2.0.ebuild 1855 BLAKE2B 5cfc4092e33e11f4032ee9d12aafdc898a3e43b5fa0166925fce13ecc204589080e280061d435959d9191a538df818c12427269b67fbd922c5330d0cb03d8c9b SHA512 6c1fb483b01b0c9c06b7186976cba59aa5ca457b57a965db878a305a0787ec4f0df0e659f492cb460d9060013f19c3b07e1876fb6b18948e82f3fce4188b2413
-EBUILD flacon-9.0.0.ebuild 1916 BLAKE2B 0a44efb1c42c53edfd5a60604ab6a20999603b11a795d58b63c695fef9a55a1d6952ac610a93ca5f2d10fecb71d94809ed36b86b0921f0c2bb24f30cf84814c0 SHA512 ec6ad6dc62697a8ea0398612de6bbac76b4c0de17c96f023f0c2bb766df29d272c5f903e050f1aabdce08b606812239f463191c899d1dae0ce99acd5dee214ed
+EBUILD flacon-9.0.0.ebuild 1978 BLAKE2B c0355823960886f5e54cdfcc19fd195945ac4e283a930e3c56d13dec9c8407695e9b4a83ee9045c8dac02fd538d8c3f7c165b369f806fb43272f54b27bc0a872 SHA512 62f15742aad48e162630e3380b50e06ac6f32267d6dbf7b177caf6ffa1706c788e4f849c4f80993916b7b5c698881ec6a9f95028efeeb53ecafbdf0dcc9c0e27
+EBUILD flacon-9.1.0.ebuild 1978 BLAKE2B c0355823960886f5e54cdfcc19fd195945ac4e283a930e3c56d13dec9c8407695e9b4a83ee9045c8dac02fd538d8c3f7c165b369f806fb43272f54b27bc0a872 SHA512 62f15742aad48e162630e3380b50e06ac6f32267d6dbf7b177caf6ffa1706c788e4f849c4f80993916b7b5c698881ec6a9f95028efeeb53ecafbdf0dcc9c0e27
MISC metadata.xml 483 BLAKE2B 795d557d1298374afb1a7b7e944258091e5a1a33cbba44ffb89d2b41545a13bc079ea406012351256e9aa3be08aa0277adb6757e68ac5d55e3fd636bce5efca9 SHA512 3d744c253befad102285251d40d891aef8ddab615f095a717951706fd64ac12f4fc7191d1b5ce0c4e9c3870eec5b427fcf5158771349a4a8c5219f7b797386ac
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() {
diff --git a/media-sound/flacon/flacon-9.1.0.ebuild b/media-sound/flacon/flacon-9.1.0.ebuild
new file mode 100644
index 000000000000..6de27bcb88a1
--- /dev/null
+++ b/media-sound/flacon/flacon-9.1.0.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Tests require lots of disk space
+CHECKREQS_DISK_BUILD=10G
+inherit check-reqs cmake optfeature virtualx xdg-utils
+
+DESCRIPTION="Extracts audio tracks from an audio CD image to separate tracks"
+HOMEPAGE="https://flacon.github.io/"
+SRC_URI="https://github.com/flacon/flacon/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+BDEPEND="
+ dev-qt/linguist-tools:5
+ virtual/pkgconfig
+"
+RDEPEND="
+ app-i18n/uchardet
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtwidgets:5
+ media-libs/taglib
+"
+DEPEND="${RDEPEND}
+ dev-qt/qtconcurrent:5
+ test? (
+ dev-qt/qttest:5
+ media-libs/flac
+ media-sound/mac
+ media-sound/shntool
+ media-sound/ttaenc
+ media-sound/wavpack
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-9.0.0-no-man-compress.patch
+)
+
+RESTRICT="!test? ( test )"
+
+pkg_pretend() {
+ use test && check-reqs_pkg_pretend
+}
+
+pkg_setup() {
+ use test && check-reqs_pkg_setup
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTS="$(usex test)"
+ )
+ cmake_src_configure
+}
+
+src_test() {
+ virtx "${BUILD_DIR}/tests/${PN}_test" || die
+}
+
+pkg_postinst() {
+ optfeature_header "${PN} optionally supports formats listed below."
+ optfeature 'FLAC input and output support' media-libs/flac
+ optfeature 'WavPack input and output support' media-sound/wavpack
+ optfeature 'APE input support' media-sound/mac
+ optfeature 'ALAC output support' media-sound/alac_decoder
+ optfeature 'TTA input support' media-sound/ttaenc
+ optfeature 'AAC output support' media-libs/faac
+ optfeature 'MP3 output support' media-sound/lame
+ optfeature 'Vorbis output support' media-sound/vorbis-tools
+ optfeature 'MP3 Replay Gain support' media-sound/mp3gain
+ optfeature 'Vorbis Replay Gain support' media-sound/vorbisgain
+
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+}