diff options
author | Ilya Tumaykin <itumaykin@gmail.com> | 2017-07-01 22:55:06 +0300 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-07-04 09:24:59 +0200 |
commit | 2b964549bb04f94129e51c8f9d0bbdef57f321fd (patch) | |
tree | 6facdb6271a533e04cdca17e0fae6d70c575e066 /media-sound/flacon | |
parent | app-backup/bacula: Fix installation with USE=logwatch (bug #617918). Tnx A. K... (diff) | |
download | gentoo-2b964549bb04f94129e51c8f9d0bbdef57f321fd.tar.gz gentoo-2b964549bb04f94129e51c8f9d0bbdef57f321fd.tar.bz2 gentoo-2b964549bb04f94129e51c8f9d0bbdef57f321fd.zip |
media-sound/flacon: verbump to 3.0.0.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/5028
Diffstat (limited to 'media-sound/flacon')
-rw-r--r-- | media-sound/flacon/Manifest | 1 | ||||
-rw-r--r-- | media-sound/flacon/flacon-3.0.0.ebuild | 109 |
2 files changed, 110 insertions, 0 deletions
diff --git a/media-sound/flacon/Manifest b/media-sound/flacon/Manifest index 9bd184951015..4bf3cf8ba69c 100644 --- a/media-sound/flacon/Manifest +++ b/media-sound/flacon/Manifest @@ -1 +1,2 @@ DIST flacon-2.1.1.tar.gz 337500 SHA256 9ece812c0bd68828301d745fbdddaf9ff2d9e572cc205e20d2bbcb093de98a1b SHA512 ef145685770ce4e5cb5f09b42023b5f88feed90f9444dcdb7bb30839d4ee6a4526542b0c3a5595f2b43b99759c7ff6ff4d419b88780d1394baa3654163db20ec WHIRLPOOL 15cd24fe75722aff2d5e0f8307caefa5822739aa60ae9872a23159e382eccab7895c00dfbbcb4b5fd85f8e3da2a11c8756a3f77e8c7309377445e680f6a8bbc3 +DIST flacon-3.0.0.tar.gz 430724 SHA256 5349fdc29c6cb173e7d40260e7ea4ba13ae39f4a144c22028fbfa132ceef5bb3 SHA512 108cca3e456525d39529ecaa6f17ebebafefe50b6e3ccddfeb1a783d363cf8c53e694c549ffdf488d0826c58d2204f89d8a349e703d11ae060a8de83da66b2b9 WHIRLPOOL eb855df7bbd9c4832f7ced4fcd0b73e35be6318caf3795c663df66aba5c6581f365b5ca8f1bad23027d73cf20d03f6ef816416ebc7585422517c7ac99a483a9f diff --git a/media-sound/flacon/flacon-3.0.0.ebuild b/media-sound/flacon/flacon-3.0.0.ebuild new file mode 100644 index 000000000000..d7f8823db192 --- /dev/null +++ b/media-sound/flacon/flacon-3.0.0.ebuild @@ -0,0 +1,109 @@ +# 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/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="qt5 test" + +RDEPEND=" + app-i18n/uchardet + !qt5? ( + dev-qt/qtcore:4 + dev-qt/qtgui:4 + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + qt5? ( dev-qt/linguist-tools:5 ) + test? ( + media-libs/flac + media-sound/mac + media-sound/ttaenc + media-sound/wavpack + media-sound/shntool + !qt5? ( dev-qt/qttest:4 ) + qt5? ( dev-qt/qttest:5 ) + ) +" + +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=( + -DUSE_QT4="$(usex !qt5)" + -DUSE_QT5="$(usex qt5)" + -DBUILD_TESTS="$(usex test)" + ) + cmake-utils_src_configure +} + +src_test() { + virtx "${BUILD_DIR}/tests/${PN}_test" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +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 +} |