diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/flacon |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/flacon')
-rw-r--r-- | media-sound/flacon/Manifest | 7 | ||||
-rw-r--r-- | media-sound/flacon/flacon-2.1.1.ebuild | 100 | ||||
-rw-r--r-- | media-sound/flacon/flacon-3.1.1.ebuild | 105 | ||||
-rw-r--r-- | media-sound/flacon/metadata.xml | 16 |
4 files changed, 228 insertions, 0 deletions
diff --git a/media-sound/flacon/Manifest b/media-sound/flacon/Manifest new file mode 100644 index 000000000000..8339216a402c --- /dev/null +++ b/media-sound/flacon/Manifest @@ -0,0 +1,7 @@ +DIST flacon-2.1.1.tar.gz 337500 SHA256 9ece812c0bd68828301d745fbdddaf9ff2d9e572cc205e20d2bbcb093de98a1b SHA512 ef145685770ce4e5cb5f09b42023b5f88feed90f9444dcdb7bb30839d4ee6a4526542b0c3a5595f2b43b99759c7ff6ff4d419b88780d1394baa3654163db20ec WHIRLPOOL 15cd24fe75722aff2d5e0f8307caefa5822739aa60ae9872a23159e382eccab7895c00dfbbcb4b5fd85f8e3da2a11c8756a3f77e8c7309377445e680f6a8bbc3 +DIST flacon-3.1.1.tar.gz 431743 SHA256 ca5bd24ba61fc06a39e95b4b7fda188af437ad3eff666b55071895bde11bd15a SHA512 13b1abc2edba73e30c9a1b729650e8001a5b8de7e34fe2b599f28277c347539fb50679f8a0e608c87eb7feb1e05e26c7f71fbc3c696f0fa29ae8ae9e20e63cfd WHIRLPOOL 3cab80fe57bf4d7c98d199adbe751c18cc6ee654f90f5dcda03a02d5fd4dfdc0aa8d99b7f88c056b32a6f5f64846634f4c040c45a1c4eb878181d79e21e1cd02 +EBUILD flacon-2.1.1.ebuild 2517 SHA256 5f63054110c4dc18e74b370a14bcffc5d877e50b2193b58159bdf1778d8fd4fb SHA512 df3251b54f9fc32d3188d135e7fa3b5d00ed1ee470d810abc5483cdf07bd2cb3752395b4e2f5ca190f5f1cf4222e082c815fde26924d7b56ce5bfe20166ade87 WHIRLPOOL c7c0c250a784f37ed626c7472f4793bd2d56ef35e9641b56b71fc7d0c2a62cd8151cc40ac6d55f73f12e8d72751267966cc5c14d2d1085a21ae99bf4988a441d +EBUILD flacon-3.1.1.ebuild 2613 SHA256 62f049ef964403578bcfd67b5c197774f9dec1c4c81924ffdb8be78cc8dd79ce SHA512 2378660d09b77152760a8f217f408fad1925e5fd1a11fb9a425229c1e12ca1e49055933b2acdbba41aa94930abb964a9b4577e279962d5cde96d8bccbec06201 WHIRLPOOL 8a23fada46ae4ef716fa1958c509fab302bc03c8995069963d43d728efea7274cb0df5d74ec7f4ed7a199eb55c0c056f76e01b39f5bb16d6f83511deef4b5ae5 +MISC ChangeLog 9899 SHA256 6fa6488e97cfe8ad6ae8de03f26cc9efd4c7569fb8979d65a24c7418667c57b3 SHA512 abbb3a533c59e9af6a2509d97169290a71d87a4dae5f8e5b5c091284034a2919b4767714c247f90f7cfaf0578c07a84d3f0632e3a960f341261b8c825453e246 WHIRLPOOL 1a06d836d651fba350ce7ecab45a38d3d05e2b07dd5f1995be3c79b8a2e809e2f0c6772b8d6cbe45e351d8a3c61e4bcdc39c815023f4aba90a77abc6e8a3b0b5 +MISC ChangeLog-2015 2651 SHA256 6145bff9c7b65b58feb72727060db55adfaa70dd69a2d915f31b4bc582b7fa05 SHA512 7534e4c6c9871bbece2a7b47b5b382c3df39bd3f3cecd693de864bd179772311ba1087ab70591b5242db1f58c095e8709f6e193ce47929d074a340d4a236d8a2 WHIRLPOOL 4ed3d74601d866994508b8fbbe272e8dd78f45be8b65b9ea11054a2cabee71d9af7a457f9f5a178a3e4f7f5e27729f7303bee314aed712ee24b79b48acab42d4 +MISC metadata.xml 505 SHA256 cf6015afc9e11d66b422a31b61e17e55f99ff680f8a0cb5f435fb4807c067edf SHA512 6979e575ee4e5230e7674fa77ece86fc27b983af03c1dfd938c3b3ca9e8f0e89f7ab2c99eaecdd1f512e70fd9d1004963669bfefa68176d40c6460272ac334dc WHIRLPOOL 4e4435f427289d3c8544ba24e54a2a87372cc27da96568885faa61d992a1826ebcd9b39086f6dc98c1db6512d434d789ea5c0df8fdbaf906f3dcce415cac542f diff --git a/media-sound/flacon/flacon-2.1.1.ebuild b/media-sound/flacon/flacon-2.1.1.ebuild new file mode 100644 index 000000000000..451179740b77 --- /dev/null +++ b/media-sound/flacon/flacon-2.1.1.ebuild @@ -0,0 +1,100 @@ +# 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" + +inherit 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" + +COMMON_DEPEND=" + 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 + ) +" +RDEPEND="${COMMON_DEPEND} + media-sound/shntool +" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig + qt5? ( dev-qt/linguist-tools:5 ) + test? ( + media-sound/shntool + virtual/ffmpeg + !qt5? ( dev-qt/qttest:4 ) + qt5? ( dev-qt/qttest:5 ) + ) +" + +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)" + -DTEST_DATA_DIR="${S}/tests/data/" + -DBUILD_TESTS="$(usex test 'Yes')" + ) + 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 +} 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 +} diff --git a/media-sound/flacon/metadata.xml b/media-sound/flacon/metadata.xml new file mode 100644 index 000000000000..31d3edec7109 --- /dev/null +++ b/media-sound/flacon/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>itumaykin+gentoo@gmail.com</email> + <name>Coacher</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <changelog>https://flacon.github.io/changelog/</changelog> + <remote-id type="github">flacon/flacon</remote-id> + </upstream> +</pkgmetadata> |