Gentoo Archives: gentoo-commits

From: Johannes Huber <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/
Date: Wed, 01 Jan 2020 19:52:39
Message-Id: 1577908320.81577790111c6de553c1855613c08bc945d9742b.johu@gentoo
1 commit: 81577790111c6de553c1855613c08bc945d9742b
2 Author: Johannes Huber <johu <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 1 19:52:00 2020 +0000
4 Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 1 19:52:00 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81577790
7
8 x11-misc/polybar: Remove live
9
10 Closes: https://bugs.gentoo.org/702454
11 Package-Manager: Portage-2.3.84, Repoman-2.3.20
12 Signed-off-by: Johannes Huber <johu <AT> gentoo.org>
13
14 x11-misc/polybar/polybar-9999.ebuild | 73 ------------------------------------
15 1 file changed, 73 deletions(-)
16
17 diff --git a/x11-misc/polybar/polybar-9999.ebuild b/x11-misc/polybar/polybar-9999.ebuild
18 deleted file mode 100644
19 index adddc936af6..00000000000
20 --- a/x11-misc/polybar/polybar-9999.ebuild
21 +++ /dev/null
22 @@ -1,73 +0,0 @@
23 -# Copyright 1999-2019 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=7
27 -
28 -PYTHON_COMPAT=( python2_7 )
29 -inherit cmake-utils python-single-r1
30 -
31 -DESCRIPTION="A fast and easy-to-use tool for creating status bars"
32 -HOMEPAGE="https://github.com/jaagr/polybar"
33 -
34 -if [[ ${PV} != *9999* ]]; then
35 - XPP_VERSION="1.4.0"
36 - I3IPCPP_VERSION="0.7.1"
37 - SRC_URI="https://github.com/jaagr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
38 - https://github.com/jaagr/xpp/archive/${XPP_VERSION}.tar.gz -> xpp-${XPP_VERSION}.tar.gz
39 - https://github.com/jaagr/i3ipcpp/archive/v${I3IPCPP_VERSION}.tar.gz -> i3ipcpp-${I3IPCPP_VERSION}.tar.gz"
40 - KEYWORDS="~amd64 ~x86"
41 -else
42 - inherit git-r3
43 - EGIT_REPO_URI="https://github.com/jaagr/${PN}.git"
44 - EGIT_CLONE_TYPE="shallow"
45 -fi
46 -
47 -LICENSE="MIT"
48 -SLOT="0"
49 -
50 -IUSE="alsa curl i3wm ipc mpd network pulseaudio"
51 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
52 -
53 -DEPEND="
54 - ${PYTHON_DEPS}
55 - x11-base/xcb-proto
56 - x11-libs/cairo[xcb]
57 - x11-libs/libxcb[xkb]
58 - x11-libs/xcb-util-image
59 - x11-libs/xcb-util-wm
60 - x11-libs/xcb-util-xrm
61 - alsa? ( media-libs/alsa-lib )
62 - curl? ( net-misc/curl )
63 - i3wm? ( dev-libs/jsoncpp )
64 - mpd? ( media-libs/libmpdclient )
65 - network? ( net-wireless/wireless-tools )
66 - pulseaudio? ( media-sound/pulseaudio )
67 -"
68 -
69 -RDEPEND="${DEPEND}"
70 -
71 -src_prepare() {
72 - if [[ ${PV} != *9999* ]]; then
73 - rmdir "${S}"/lib/xpp || die
74 - mv "${WORKDIR}"/xpp-$XPP_VERSION "${S}"/lib/xpp || die
75 -
76 - rmdir "${S}"/lib/i3ipcpp || die
77 - mv "${WORKDIR}"/i3ipcpp-$I3IPCPP_VERSION "${S}"/lib/i3ipcpp || die
78 - fi
79 -
80 - cmake-utils_src_prepare
81 -}
82 -
83 -src_configure() {
84 - local mycmakeargs=(
85 - -DENABLE_ALSA="$(usex alsa)"
86 - -DENABLE_CURL="$(usex curl)"
87 - -DENABLE_I3="$(usex i3wm)"
88 - -DBUILD_IPC_MSG="$(usex ipc)"
89 - -DENABLE_MPD="$(usex mpd)"
90 - -DENABLE_NETWORK="$(usex network)"
91 - -DENABLE_PULSEAUDIO="$(usex pulseaudio)"
92 - )
93 -
94 - cmake-utils_src_configure
95 -}