mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
media-sound/flacon: add 12.0.0
Closes: https://bugs.gentoo.org/950664 Signed-off-by: Philipp Rösner <rndxelement@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/40964 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
parent
cfd39811e4
commit
ae6dc2f2a7
@ -1 +1,2 @@
|
||||
DIST flacon-11.4.0.tar.gz 4095740 BLAKE2B 078bded28f114939ee2a003885e85a6259122ae0de95265a52de525202645d872550a773b49b7d37e3b479912bc6b31245532f71bd2020a954b227082c856589 SHA512 321f80c40b61e60e91b32d19a1f14dbdc9738aacd54e7ea8bf0a969daeeec3f663b119fd3973a2722b14b836bc8d6c16cd3f4b831c003a906f1d110db5caaeee
|
||||
DIST flacon-12.0.0.tar.gz 5843268 BLAKE2B dc1327562a62d04524f22cf281d9645ef3fcc564330a344e61e11834d4bac2ad62abe141ab10601ff4da687b8b39ce04a89ba6c4120be887909a7d098b37549e SHA512 fa8e98e70ae0272f86baa59839e7c9f24496d77951b5ca41c06ee09d306cc752a95222599a3b71228ade325f919783e4a65d1f690b07975fa7c00cd2542a2254
|
||||
|
||||
99
media-sound/flacon/flacon-12.0.0.ebuild
Normal file
99
media-sound/flacon/flacon-12.0.0.ebuild
Normal file
@ -0,0 +1,99 @@
|
||||
# Copyright 1999-2025 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/qttools:6[linguist]
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="
|
||||
app-i18n/uchardet
|
||||
dev-qt/qtbase:6[gui,network,widgets,concurrent]
|
||||
media-libs/taglib:=
|
||||
media-sound/sox[flac,wavpack]
|
||||
media-video/mediainfo
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-cpp/yaml-cpp
|
||||
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}"/${PN}-11.3.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)"
|
||||
-DUSE_QT5="OFF"
|
||||
-DUSE_QT6="ON"
|
||||
)
|
||||
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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user