diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-02-27 22:37:52 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-02-27 22:42:47 +0100 |
commit | 28ddfd72b954167ae9748b880907a284dcbb99c3 (patch) | |
tree | 30b83fef52bea3c2f3ae8e483abf085298afe102 /media-sound/picard | |
parent | sys-cluster/minikube: Remove old (diff) | |
download | gentoo-28ddfd72b954167ae9748b880907a284dcbb99c3.tar.gz gentoo-28ddfd72b954167ae9748b880907a284dcbb99c3.tar.bz2 gentoo-28ddfd72b954167ae9748b880907a284dcbb99c3.zip |
media-sound/picard: Add Qt5-based live ebuild
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'media-sound/picard')
-rw-r--r-- | media-sound/picard/picard-9999.ebuild | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/media-sound/picard/picard-9999.ebuild b/media-sound/picard/picard-9999.ebuild new file mode 100644 index 000000000000..a182c7b674a9 --- /dev/null +++ b/media-sound/picard/picard-9999.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{5,6} ) +DISTUTILS_SINGLE_IMPL=1 +DISABLE_AUTOFORMATTING=true + +EGIT_REPO_URI="https://github.com/metabrainz/picard" +inherit distutils-r1 git-r3 readme.gentoo-r1 xdg-utils + +DESCRIPTION="A cross-platform music tagger" +HOMEPAGE="https://picard.musicbrainz.org" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="" +IUSE="nls" + +RDEPEND=" + dev-python/PyQt5[declarative,gui,network,widgets,${PYTHON_USEDEP}] + dev-qt/qtgui:5[accessibility] + >=media-libs/mutagen-1.38" +DEPEND=" + nls? ( dev-qt/linguist-tools:5 ) +" + +RESTRICT="test" # doesn't work with ebuilds + +python_compile() { + local build_args=( + --disable-autoupdate + ) + if ! use nls; then + build_args+=( --disable-locales ) + fi + distutils-r1_python_compile ${build_args[@]} +} + +python_install() { + local install_args=( + --disable-autoupdate + --skip-build + ) + if ! use nls; then + install_args+=( --disable-locales ) + fi + distutils-r1_python_install ${install_args[@]} +} + +python_install_all() { + distutils-r1_python_install_all + + local DOC_CONTENTS="Install optional package media-libs/chromaprint[tools] to enable +calculation and lookup of AcoustID fingerprints. + +Install optional package dev-python/python-discid to enable +calculation and lookup of compact disc identifiers (disc IDs). + +If you are upgrading Picard and it does not start, try removing +Picard's settings: + rm ~/.config/MusicBrainz/Picard.conf" + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +} |