# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PLOCALES="cs da de en_GB es fi fr hu it ja ko nl pl pt_BR ru zh_CN" inherit cmake plocale xdg git-r3 DESCRIPTION="Featureful and configurable Qt client for the music player daemon (MPD)" HOMEPAGE="https://github.com/nullobsi/cantata" EGIT_REPO_URI="https://github.com/nullobsi/${PN}.git" LICENSE="GPL-2" SLOT="0" KEYWORDS="" IUSE="cdda cddb cdio http-server mtp musicbrainz replaygain streaming taglib udisks zeroconf" REQUIRED_USE=" ?? ( cdda cdio ) cdda? ( udisks || ( cddb musicbrainz ) ) cddb? ( || ( cdio cdda ) taglib ) cdio? ( udisks || ( cddb musicbrainz ) ) mtp? ( taglib udisks ) musicbrainz? ( || ( cdio cdda ) taglib ) replaygain? ( taglib ) " # cantata has no tests RESTRICT="test" COMMON_DEPEND=" dev-qt/qtbase:6[dbus,gui,network,sqlite,widgets,xml] sys-libs/zlib virtual/libudev:= cdda? ( media-sound/cdparanoia ) cddb? ( media-libs/libcddb ) cdio? ( dev-libs/libcdio-paranoia:= ) mtp? ( media-libs/libmtp:= ) musicbrainz? ( media-libs/musicbrainz:5= ) replaygain? ( media-libs/libebur128:= media-sound/mpg123 media-video/ffmpeg:0= ) streaming? ( dev-qt/qtmultimedia:5 ) taglib? ( media-libs/taglib udisks? ( sys-fs/udisks:2 ) ) zeroconf? ( net-dns/avahi ) " RDEPEND="${COMMON_DEPEND} || ( >=dev-lang/perl-5.38.2-r3[perl_features_ithreads]