diff options
author | Ilya Tumaykin <itumaykin@gmail.com> | 2017-08-11 20:01:02 +0300 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-08-16 09:31:51 +0200 |
commit | 682d808729f13b8999073bfbd80120b932e34557 (patch) | |
tree | dcb205f6fba2414384ebc4fbd8d55f6e8b036286 /media-sound/flacon | |
parent | x11-themes/gentoo10-backgrounds: fix HOMEPAGE (diff) | |
download | gentoo-682d808729f13b8999073bfbd80120b932e34557.tar.gz gentoo-682d808729f13b8999073bfbd80120b932e34557.tar.bz2 gentoo-682d808729f13b8999073bfbd80120b932e34557.zip |
media-sound/flacon: verbump to 3.1.1
Fixes incorrect offset for long disks due to integer overflow.
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'media-sound/flacon')
-rw-r--r-- | media-sound/flacon/Manifest | 1 | ||||
-rw-r--r-- | media-sound/flacon/flacon-3.1.1.ebuild | 105 |
2 files changed, 106 insertions, 0 deletions
diff --git a/media-sound/flacon/Manifest b/media-sound/flacon/Manifest index 4bf3cf8ba69c..625892e89307 100644 --- a/media-sound/flacon/Manifest +++ b/media-sound/flacon/Manifest @@ -1,2 +1,3 @@ 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 +DIST flacon-3.1.1.tar.gz 431743 SHA256 ca5bd24ba61fc06a39e95b4b7fda188af437ad3eff666b55071895bde11bd15a SHA512 13b1abc2edba73e30c9a1b729650e8001a5b8de7e34fe2b599f28277c347539fb50679f8a0e608c87eb7feb1e05e26c7f71fbc3c696f0fa29ae8ae9e20e63cfd WHIRLPOOL 3cab80fe57bf4d7c98d199adbe751c18cc6ee654f90f5dcda03a02d5fd4dfdc0aa8d99b7f88c056b32a6f5f64846634f4c040c45a1c4eb878181d79e21e1cd02 diff --git a/media-sound/flacon/flacon-3.1.1.ebuild b/media-sound/flacon/flacon-3.1.1.ebuild new file mode 100644 index 000000000000..9b072d93b5c3 --- /dev/null +++ b/media-sound/flacon/flacon-3.1.1.ebuild @@ -0,0 +1,105 @@ +# 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_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 +} |