From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D5FCB158013 for ; Wed, 13 Dec 2023 12:15:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B78B02BC016; Wed, 13 Dec 2023 12:15:46 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9FAEC2BC016 for ; Wed, 13 Dec 2023 12:15:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AC1DD335DE9 for ; Wed, 13 Dec 2023 12:15:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C69CC99E for ; Wed, 13 Dec 2023 12:15:43 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1702395619.efef456592af073ce9232747dae15e066e95eb96.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: media-sound/spotify-player/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-sound/spotify-player/spotify-player-9999.ebuild X-VCS-Directories: media-sound/spotify-player/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: efef456592af073ce9232747dae15e066e95eb96 X-VCS-Branch: master Date: Wed, 13 Dec 2023 12:15:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 06a11022-8f19-4cb8-a77f-bfb3ef501951 X-Archives-Hash: 45726ac891fbd38ea88fad7f1dd17daf commit: efef456592af073ce9232747dae15e066e95eb96 Author: brettalcox gmail com> AuthorDate: Tue Dec 12 15:39:46 2023 +0000 Commit: David Roman gmail com> CommitDate: Tue Dec 12 15:40:19 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=efef4565 media-sound/spotify-player: fixing up 9999 ebuild Signed-off-by: brettalcox gmail.com> .../spotify-player/spotify-player-9999.ebuild | 29 +++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/media-sound/spotify-player/spotify-player-9999.ebuild b/media-sound/spotify-player/spotify-player-9999.ebuild index 17bdd0a324..d365f53df8 100644 --- a/media-sound/spotify-player/spotify-player-9999.ebuild +++ b/media-sound/spotify-player/spotify-player-9999.ebuild @@ -12,19 +12,42 @@ EGIT_REPO_URI="https://github.com/aome510/spotify-player.git" LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 ISC LGPL-3 LGPL-3+ MIT MPL-2.0 Unicode-DFS-2016 Unlicense ZLIB" SLOT="0" +IUSE="daemon image +libnotify lyrics +media-control pulseaudio sixel +streaming" +REQUIRED_USE=" + sixel? ( image ) + daemon? ( streaming ) +" DEPEND=" - media-libs/alsa-lib dev-libs/openssl sys-apps/dbus + libnotify? ( x11-libs/libnotify ) + pulseaudio? ( media-libs/libpulse ) + sixel? ( media-libs/libsixel ) + streaming? ( media-libs/alsa-lib ) " RDEPEND="${DEPEND}" -BDEPEND="" src_unpack() { git-r3_src_unpack cargo_live_src_unpack } +src_configure() { + initfeatures=( + "$(usex daemon daemon '')" + "$(usex image image '')" + "$(usex libnotify notify '')" + "$(usex lyrics lyric-finder '')" + "$(usex media-control media-control '')" + "$(usex pulseaudio pulseaudio-backend alsa-backend)" + "$(usex sixel sixel '')" + "$(usex streaming streaming '')" + ) + newfeatures=$(IFS=, ; echo "${initfeatures[*]}") || die + cargo_src_configure --features ${newfeatures} --no-default-features +} + src_install() { - cargo_src_install --path ./spotify_player --features notify,lyric-finder,pulseaudio-backend,image,sixel --locked --no-default-features + cargo_src_install --path ./spotify_player } +QA_FLAGS_IGNORED="usr/bin/spotify_player"