diff options
author | Ilya Tumaykin <itumaykin@gmail.com> | 2017-12-30 15:12:15 +0300 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2018-01-02 19:29:13 +0100 |
commit | f29ae15630eed4f7274892fa20062b4a4e5bc6d7 (patch) | |
tree | 0ba52746ca6d7ddec197839badbe890588e35577 /media-sound/flacon | |
parent | dev-python/python-hpilo: Older version python-hpilo-3.9 (diff) | |
download | gentoo-f29ae15630eed4f7274892fa20062b4a4e5bc6d7.tar.gz gentoo-f29ae15630eed4f7274892fa20062b4a4e5bc6d7.tar.bz2 gentoo-f29ae15630eed4f7274892fa20062b4a4e5bc6d7.zip |
media-sound/flacon: verbump to 4.0.0, which drops Qt4 support.
Bug: https://bugs.gentoo.org/631904
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/6687
Diffstat (limited to 'media-sound/flacon')
-rw-r--r-- | media-sound/flacon/Manifest | 1 | ||||
-rw-r--r-- | media-sound/flacon/flacon-4.0.0.ebuild | 96 |
2 files changed, 97 insertions, 0 deletions
diff --git a/media-sound/flacon/Manifest b/media-sound/flacon/Manifest index b8f2fc472481..258937683d85 100644 --- a/media-sound/flacon/Manifest +++ b/media-sound/flacon/Manifest @@ -1,2 +1,3 @@ DIST flacon-2.1.1.tar.gz 337500 BLAKE2B 0e199653da28eaf123e3b847eb37bca3e58bcf4ed541bcbb1cb92f23451506dd48b199b0cc565715da1ccdc3a1b294fcca04b431539c6f2a9a360d088321528b SHA512 ef145685770ce4e5cb5f09b42023b5f88feed90f9444dcdb7bb30839d4ee6a4526542b0c3a5595f2b43b99759c7ff6ff4d419b88780d1394baa3654163db20ec DIST flacon-3.1.1.tar.gz 431743 BLAKE2B 491919b31e0f19993c01c8a55145f1f6db7465e10112b7d3862ca2f66f15a534501248d682258fa944d0ac5de1d716c80a98f8329a4f62e22074dd397d9a03da SHA512 13b1abc2edba73e30c9a1b729650e8001a5b8de7e34fe2b599f28277c347539fb50679f8a0e608c87eb7feb1e05e26c7f71fbc3c696f0fa29ae8ae9e20e63cfd +DIST flacon-4.0.0.tar.gz 1294289 BLAKE2B 3afadc3545493558a5eadb7720509410fb448fed1e1fc5511f0ce477ea0e6e876d19e3038d5eb77191b449f730f50e6f1e3e4eacf546b064868863ed918acdee SHA512 64efc3369f11a7345d106a253873bcaf64ff0bbfb045e3554fecdc48a86ee5d150bef06643a5bf481d6e139a45a2bfdee91e730f9aa1354a4772f0d994297b78 diff --git a/media-sound/flacon/flacon-4.0.0.ebuild b/media-sound/flacon/flacon-4.0.0.ebuild new file mode 100644 index 000000000000..70447e6e15f4 --- /dev/null +++ b/media-sound/flacon/flacon-4.0.0.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# Ignore rudimentary et, uz@Latn, zh_TW translation(s). +PLOCALES="cs cs_CZ de es es_MX fr gl hu it ja_JP lt nb nl pl pl_PL pt_BR pt_PT ro_RO ru sr sr@latin tr uk zh_CN" +# Tests require lots of disk space +CHECKREQS_DISK_BUILD=10G + +inherit check-reqs cmake-utils eutils gnome2-utils l10n 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" + +RDEPEND=" + app-i18n/uchardet + dev-qt/qtcore:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 +" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-qt/linguist-tools:5 + test? ( + dev-qt/qttest:5 + media-libs/flac + media-sound/mac + media-sound/shntool + media-sound/ttaenc + media-sound/wavpack + ) +" + +pkg_pretend() { + use test && check-reqs_pkg_pretend +} + +pkg_setup() { + use test && check-reqs_pkg_setup +} + +src_prepare() { + cmake-utils_src_prepare + + # Ignore rudimentary et, uz@Latn, zh_TW translation(s). + rm "translations/${PN}_uz@Latn.desktop" || die + rm "translations/${PN}"_{et,zh_TW}.ts || die + + remove_locale() { + rm "translations/${PN}_${1}".{ts,desktop} || die + } + + l10n_find_plocales_changes 'translations' "${PN}_" '.ts' + l10n_for_each_disabled_locale_do remove_locale +} + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTS="$(usex test)" + ) + cmake-utils_src_configure +} + +src_test() { + virtx "${BUILD_DIR}/tests/${PN}_test" +} + +pkg_postinst() { + elog "${PN} optionally supports formats listed below." + elog "(List will be empty if all extra packages are installed.)" + elog "Please install the required packages and restart ${PN}." + 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 '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 + + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} |