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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2D41B138334 for ; Mon, 23 Jul 2018 15:56:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C65B3E08DB; Mon, 23 Jul 2018 15:56:41 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7735DE08DB for ; Mon, 23 Jul 2018 15:56:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8B6ED335CA7 for ; Mon, 23 Jul 2018 15:56:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DDE20371 for ; Mon, 23 Jul 2018 15:56:34 +0000 (UTC) From: "Tony Vroon" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tony Vroon" Message-ID: <1532361386.f7aa86360511c47a98eaa9c9a8086fca2f75aff8.chainsaw@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/polybar/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/polybar/Manifest x11-misc/polybar/polybar-3.2.0.ebuild X-VCS-Directories: x11-misc/polybar/ X-VCS-Committer: chainsaw X-VCS-Committer-Name: Tony Vroon X-VCS-Revision: f7aa86360511c47a98eaa9c9a8086fca2f75aff8 X-VCS-Branch: master Date: Mon, 23 Jul 2018 15:56:34 +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-Archives-Salt: 34b05f86-0aca-4b00-9557-7cec4a004ccd X-Archives-Hash: 3b80e878ca1fd528b84346f923600d09 commit: f7aa86360511c47a98eaa9c9a8086fca2f75aff8 Author: Kajzer gmail com> AuthorDate: Mon Jul 23 13:51:51 2018 +0000 Commit: Tony Vroon gentoo org> CommitDate: Mon Jul 23 15:56:26 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7aa8636 x11-misc/polybar: version bump to 3.2.0 Closes: https://github.com/gentoo/gentoo/pull/9326 x11-misc/polybar/Manifest | 1 + x11-misc/polybar/polybar-3.2.0.ebuild | 67 +++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/x11-misc/polybar/Manifest b/x11-misc/polybar/Manifest index 4648dddbc07..b5689370854 100644 --- a/x11-misc/polybar/Manifest +++ b/x11-misc/polybar/Manifest @@ -1,3 +1,4 @@ DIST i3ipcpp-0.7.1.tar.gz 191417 BLAKE2B 62b76a0921c78f374309d26856c01d1467b8bd181ce922fd47daec406afda9d76eea9a1f473b4899e22f99e2ef36fc70f72db1bb17eb1f3e71a8431c2634b915 SHA512 ef9f591bb4436916ad038bcb0c15ea3415d1978ff264fb276108ddac89c98515c464fbf252429f6a76589cb78e1434adba2efefb5a844dadad0e261f3806fb72 DIST polybar-3.1.0.tar.gz 418298 BLAKE2B 1c7394a17ff1ec5b0dec519b7aa58e63cfcec0f104d4302051f6e12753b7074c3d85072a3d78e7ce135c53d4ddd4a6f68ea61ffb7b2ad04997bbf0c836115046 SHA512 6d8759d9f750c2abfa79fe735615b0ed3d1827e3a88561317712c6f02cb32a0a77726f97cb419f3a040ae9085a34a23cb1aad0aacf3f14e56c542977b89036b2 +DIST polybar-3.2.0.tar.gz 242314 BLAKE2B 1bdecba237f6d400479305caa2e571b5de708b07251c77f999fdc16af4c89a54ff722956c24b0b188aa76b5418cdf159eb21004091d87d2b93e2d43ba8a888c8 SHA512 14516e37bc39736eddb53aaffd38bbfa8443fa6744bd3bd374359b9d55c085c89f59ecaa80f31815f4828398d378d2772bbd79fac36a639a208814a0bf230930 DIST xpp-1.4.0.tar.gz 84095 BLAKE2B 2af4221953abe7f40473c55cd50c608b54ebc85a62be65af987ed5e6c5eaf56fbd92531788becf39ba5ad52099ac78f36e9b2a2515b473f4d86ed5fda3fa5065 SHA512 d34cbbe2391db36db7dffac0415d26b7487536e97c4d7efd472ab0aeffa4c8e757ee030b05e2aa1cfa8a591ee591bb96a6db7eb9fa5850027f958e92f078739c diff --git a/x11-misc/polybar/polybar-3.2.0.ebuild b/x11-misc/polybar/polybar-3.2.0.ebuild new file mode 100644 index 00000000000..480c094886d --- /dev/null +++ b/x11-misc/polybar/polybar-3.2.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit cmake-utils python-single-r1 + +XPP_VERSION="1.4.0" +I3IPCPP_VERSION="0.7.1" + +DESCRIPTION="A fast and easy-to-use tool for creating status bars" +HOMEPAGE="https://github.com/jaagr/polybar" +SRC_URI="https://github.com/jaagr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + https://github.com/jaagr/xpp/archive/${XPP_VERSION}.tar.gz -> xpp-${XPP_VERSION}.tar.gz + https://github.com/jaagr/i3ipcpp/archive/v${I3IPCPP_VERSION}.tar.gz -> i3ipcpp-${I3IPCPP_VERSION}.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" + +IUSE="alsa curl i3wm ipc mpd network pulseaudio" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + ${PYTHON_DEPS} + x11-base/xcb-proto + x11-libs/cairo[xcb] + x11-libs/libxcb[xkb] + x11-libs/xcb-util-image + x11-libs/xcb-util-wm + x11-libs/xcb-util-xrm + alsa? ( media-libs/alsa-lib ) + curl? ( net-misc/curl ) + i3wm? ( dev-libs/jsoncpp ) + mpd? ( media-libs/libmpdclient ) + network? ( net-wireless/wireless-tools ) + pulseaudio? ( media-sound/pulseaudio ) +" + +RDEPEND="${DEPEND}" + +src_prepare() { + cmake-utils_src_prepare + + rmdir "${S}"/lib/xpp || die + mv "${WORKDIR}"/xpp-$XPP_VERSION "${S}"/lib/xpp || die + + rmdir "${S}"/lib/i3ipcpp || die + mv "${WORKDIR}"/i3ipcpp-$I3IPCPP_VERSION "${S}"/lib/i3ipcpp || die + + sed -i "s/.*cpp_error,.*/&\n\t 'eventstruct' : lambda x, y: None,/" lib/xpp/generators/cpp_client.py || die "sed failed" +} + +src_configure() { + local mycmakeargs=( + -DENABLE_ALSA="$(usex alsa)" + -DENABLE_CURL="$(usex curl)" + -DENABLE_I3="$(usex i3wm)" + -DBUILD_IPC_MSG="$(usex ipc)" + -DENABLE_MPD="$(usex mpd)" + -DENABLE_NETWORK="$(usex network)" + -DENABLE_PULSEAUDIO="$(usex pulseaudio)" + ) + cmake-utils_src_configure +}