Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/snapcast/
Date: Thu, 29 Jul 2021 10:46:19
Message-Id: 1627555566.8476a0fa92485d7b5a363ddffcc1239c3ae0ca88.juippis@gentoo
1 commit: 8476a0fa92485d7b5a363ddffcc1239c3ae0ca88
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Mon Jul 19 18:51:19 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 29 10:46:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8476a0fa
7
8 media-sound/snapcast: Remove 9999 ebuild
9
10 * There is no real benefit in having a live ebuild
11 for this package so let's just remove it
12
13 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
14 Closes: https://github.com/gentoo/gentoo/pull/21716
15 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
16
17 media-sound/snapcast/snapcast-9999.ebuild | 72 -------------------------------
18 1 file changed, 72 deletions(-)
19
20 diff --git a/media-sound/snapcast/snapcast-9999.ebuild b/media-sound/snapcast/snapcast-9999.ebuild
21 deleted file mode 100644
22 index 6228cd7ec66..00000000000
23 --- a/media-sound/snapcast/snapcast-9999.ebuild
24 +++ /dev/null
25 @@ -1,72 +0,0 @@
26 -# Copyright 1999-2020 Gentoo Authors
27 -# Distributed under the terms of the GNU General Public License v2
28 -
29 -EAPI=7
30 -
31 -inherit cmake
32 -
33 -DESCRIPTION="Synchronous multi-room audio player"
34 -HOMEPAGE="https://github.com/badaix/snapcast"
35 -
36 -if [[ ${PV} == 9999 ]] ; then
37 - inherit git-r3
38 -
39 - EGIT_REPO_URI="https://github.com/badaix/snapcast.git"
40 - EGIT_BRANCH="develop"
41 -else
42 - SRC_URI="https://github.com/badaix/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 - KEYWORDS="~amd64 ~x86"
44 -fi
45 -
46 -LICENSE="GPL-3+"
47 -SLOT="0"
48 -IUSE="+client +expat +flac +opus +server static-libs tremor +vorbis +zeroconf"
49 -
50 -REQUIRED_USE="|| ( server client )"
51 -
52 -RDEPEND="client? (
53 - acct-user/snapclient
54 - media-libs/alsa-lib )
55 - expat? ( dev-libs/expat )
56 - flac? ( media-libs/flac )
57 - opus? ( media-libs/opus )
58 - server? (
59 - acct-group/snapserver
60 - acct-user/snapserver )
61 - tremor? ( media-libs/tremor )
62 - vorbis? ( media-libs/libvorbis )
63 - zeroconf? ( net-dns/avahi[dbus] )"
64 -DEPEND="${RDEPEND}
65 - >=dev-cpp/aixlog-1.2.1
66 - >=dev-cpp/asio-1.12.1
67 - >=dev-cpp/popl-1.2.0"
68 -
69 -src_configure() {
70 - local mycmakeargs=(
71 - -DBUILD_CLIENT=$(usex client)
72 - -DBUILD_WITH_EXPAT=$(usex expat)
73 - -DBUILD_WITH_FLAC=$(usex flac)
74 - -DBUILD_WITH_OPUS=$(usex opus)
75 - -DBUILD_SERVER=$(usex server)
76 - -DBUILD_STATIC_LIBS=$(usex static-libs)
77 - -DBUILD_TESTS=no
78 - -DBUILD_WITH_TREMOR=$(usex tremor)
79 - -DBUILD_WITH_VORBIS=$(usex vorbis)
80 - -DBUILD_WITH_AVAHI=$(usex zeroconf)
81 - )
82 -
83 - cmake_src_configure
84 -}
85 -
86 -src_install() {
87 - cmake_src_install
88 -
89 - for bin in server client ; do
90 - if use ${bin} ; then
91 - doman "${bin}/snap${bin}.1"
92 -
93 - newconfd "${FILESDIR}/snap${bin}.confd" "snap${bin}"
94 - newinitd "${FILESDIR}/snap${bin}.initd" "snap${bin}"
95 - fi
96 - done
97 -}