diff options
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/Manifest.gz | bin | 57547 -> 57712 bytes | |||
-rw-r--r-- | media-sound/alacenc/Manifest | 3 | ||||
-rw-r--r-- | media-sound/alacenc/alacenc-0.4.0.ebuild | 21 | ||||
-rw-r--r-- | media-sound/alacenc/metadata.xml | 15 | ||||
-rw-r--r-- | media-sound/flacon/Manifest | 3 | ||||
-rw-r--r-- | media-sound/flacon/files/flacon-11.3.0-no-man-compress.patch | 20 | ||||
-rw-r--r-- | media-sound/flacon/flacon-11.3.0.ebuild | 102 |
7 files changed, 164 insertions, 0 deletions
diff --git a/media-sound/Manifest.gz b/media-sound/Manifest.gz Binary files differindex 1ada06d5f53e..a9337a292693 100644 --- a/media-sound/Manifest.gz +++ b/media-sound/Manifest.gz diff --git a/media-sound/alacenc/Manifest b/media-sound/alacenc/Manifest new file mode 100644 index 000000000000..6d53509c91b1 --- /dev/null +++ b/media-sound/alacenc/Manifest @@ -0,0 +1,3 @@ +DIST alacenc-0.4.0.tar.gz 114463 BLAKE2B 6682a77d1df90f22969bbdf82b3ad273cac8855f245ff533b90e81a02952c9dc3f9f14f4e7ec23059ebe7ba9e3a7fff51f009dbe7ee945fca5a9a04d1f2fb8c9 SHA512 2a95725b6aa4ef3f42b2c8d379cd8a83dbf46d69faa0bd6a03bec4d0b56665b3d0716c76e9c7183096a0761d36a282a559f2e5c70f0a9aa1a9808587db004727 +EBUILD alacenc-0.4.0.ebuild 471 BLAKE2B b17e50a3f88a6382703accec0358dc533c2a8366baddca2ea1c5aa0cec6a0246882a0e5422b905ec9edbec676ae1ce82baaea8f7e556b64182a6b7fbdddaafc3 SHA512 d520fa19024fdd904c11b5bb28483af60d8682b5c3d8d8961fce6f292161c5ff1540bf77accdf3e7cb6856adc146fe6c74214ba935dd99a5b92edd98a039e0d3 +MISC metadata.xml 484 BLAKE2B 9138178a4dfd1c575b245205b22bc174c1c70aaffef1233d00888c01f67772dbe82dcfe9db702b1427cd2ca643eea84fb5a59c201ebb26185d93f45b47c50dc2 SHA512 66a583fbc6b1c4651d1eacbbe682cc33ea5cc91b61f5ed70ce981551eb2ff4b184e5f49af86f751c1e670e2e163f2b8544f8bb58161e98c85c0f23c43c1b7a36 diff --git a/media-sound/alacenc/alacenc-0.4.0.ebuild b/media-sound/alacenc/alacenc-0.4.0.ebuild new file mode 100644 index 000000000000..d1e6d081f081 --- /dev/null +++ b/media-sound/alacenc/alacenc-0.4.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Encodes audio into the Apple Lossless Audio Codec (ALAC) format" +HOMEPAGE="https://github.com/flacon/alacenc" +SRC_URI="https://github.com/flacon/alacenc/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="virtual/pkgconfig" + +src_install() { + dobin "${BUILD_DIR}/alacenc" + einstalldocs +} diff --git a/media-sound/alacenc/metadata.xml b/media-sound/alacenc/metadata.xml new file mode 100644 index 000000000000..9f443a92ed0a --- /dev/null +++ b/media-sound/alacenc/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>rndxelement@protonmail.com</email> + <name>Philipp Rösner</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">flacon/alacenc</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-sound/flacon/Manifest b/media-sound/flacon/Manifest index e6858e880264..50d66b460313 100644 --- a/media-sound/flacon/Manifest +++ b/media-sound/flacon/Manifest @@ -1,4 +1,7 @@ +AUX flacon-11.3.0-no-man-compress.patch 1401 BLAKE2B 29b6454a0e34e031c0bbd36990ea11cc37bc8e4923a26c3edb587a78ccdb969ff6577490bd01756d6b9e198bac833a2f6e949aef9f76e0f3e4070db066365763 SHA512 9b966f1abd557f5b2f02c198963f79d83ab8592e40ff9c30e3a45f5b46beade43afde2fcf617cba50f3bdea8a1971c80f3960bc3de8c37062667d56a328579cd AUX flacon-9.0.0-no-man-compress.patch 1425 BLAKE2B 9f21a5b8a8b2ec0986b0d5902b15ecfa5214ce1471f4a851e88feb07ef80e8d89617173c587128b6340d349afa087c46e6b787f6cc297a7c594d787b19a060f0 SHA512 7b80c99514bdd540737a773182e9213ef4027c529a6fdd3808c4d35baeec9c5ebb67d15f550cb8a38e37764f19e2a4b7d1cfba0cc0c3872dc4658b7158c9239a DIST flacon-10.0.0.tar.gz 3802889 BLAKE2B e99be9ad2da98e84455426df853bb38cecb91a6c66cb3f532459637adee97078fb034d3c5b5cc905b74756adbf6c11276f589d450c1506fba2dace264efe8b9c SHA512 55744b3ef46f298e8082ab172b8e0b5ad428ec3c965ae69befe7f9abb4e87417cf2373385240000471c92391d243ef3b33f25ae565c8e9497021d3b619a5ac1a +DIST flacon-11.3.0.tar.gz 4081613 BLAKE2B 791628fe40f49548d65b2a49f259d4ffaf42ba97f9674649669ceded7073fb805f277fefca1d3fffaae86438f9d7cff443dccbb6c8bef5e40f0eb60554c11db9 SHA512 e4b4f3876f4f647dafa21118c13482678c2766dce94b650142d7b2b21897d6e8f1f85601877b388c7f8554d5e57778de9a6db82ae38c1f089e7c2f88b1c497b8 EBUILD flacon-10.0.0-r1.ebuild 1975 BLAKE2B afc43cd1707b5de23f7e767db5471e82ab0a2ef09ce000a3573a80f0e479053e5de528a86abea6f4832a628e66c6f2f11507cc944bf9b33fb7c9745073800396 SHA512 0738a2bcb6067b26a54d7ff47a85a37107ce438176a022b14db1607d1bbf53ff10c15c417a643c7fde29cfe6dd62f904075afc060264390b04a4444a95b61d9a +EBUILD flacon-11.3.0.ebuild 2303 BLAKE2B 46075754d76c41a91c29e77c9ae030e01a273f040dc733a17f6acdee87f4adb5c8e535201aa5a5148b0143dac2a4fd3e03c3992daa8e09cc65feb75f0ee96c5f SHA512 dd25b0fc7792f91516e3f5c674c66cf1b8d47d8e547b34d0b93da682ce4d039dd3b920acb68c7450266a8637d3dec1394131000c06732657c76f5310c51ade86 MISC metadata.xml 483 BLAKE2B 795d557d1298374afb1a7b7e944258091e5a1a33cbba44ffb89d2b41545a13bc079ea406012351256e9aa3be08aa0277adb6757e68ac5d55e3fd636bce5efca9 SHA512 3d744c253befad102285251d40d891aef8ddab615f095a717951706fd64ac12f4fc7191d1b5ce0c4e9c3870eec5b427fcf5158771349a4a8c5219f7b797386ac diff --git a/media-sound/flacon/files/flacon-11.3.0-no-man-compress.patch b/media-sound/flacon/files/flacon-11.3.0-no-man-compress.patch new file mode 100644 index 000000000000..9c06e2d8c4b7 --- /dev/null +++ b/media-sound/flacon/files/flacon-11.3.0-no-man-compress.patch @@ -0,0 +1,20 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -308,7 +308,7 @@ 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) + +@@ -337,7 +337,7 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Darwin") + 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-11.3.0.ebuild b/media-sound/flacon/flacon-11.3.0.ebuild new file mode 100644 index 000000000000..5ac03f87c718 --- /dev/null +++ b/media-sound/flacon/flacon-11.3.0.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2024 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[jpeg] + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + media-libs/taglib + media-sound/sox[flac,wavpack] + media-video/mediainfo +" +DEPEND="${RDEPEND} + dev-qt/qtconcurrent:5 + test? ( + dev-cpp/yaml-cpp + dev-qt/qttest:5 + media-libs/faac + media-libs/flac + media-sound/alacenc + media-sound/alac_decoder + media-sound/lame + <=media-sound/mac-4.12 + media-sound/opus-tools + media-sound/shntool + media-sound/ttaenc + media-sound/vorbis-tools + media-sound/wavpack + ) +" + +PATCHES=( + "${FILESDIR}"/${P}-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() { + # All tests fail with enabled sandbox + # TODO: Get all tests to pass + # See bug: #831592 + local -x SANDBOX_ON=0 + + 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 input support' media-sound/alacenc + 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 'Opus input/output support' media-sound/opus-tools + + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +} |