public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: x11-misc/yabar/
@ 2019-08-01 13:01 Joonas Niilola
  0 siblings, 0 replies; 2+ messages in thread
From: Joonas Niilola @ 2019-08-01 13:01 UTC (permalink / raw
  To: gentoo-commits

commit:     18b417e3c03a3d823c8e54cd63cd675885769910
Author:     Jake Lilly <lillyjsm <AT> gmail <DOT> com>
AuthorDate: Fri Jul 19 03:46:08 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Aug  1 13:01:30 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18b417e3

x11-misc/yabar: new package

A modern and lightweight status bar for X window managers

Bug: https://bugs.gentoo.org/658102
Signed-off-by: Jake Lilly <lillyjsm <AT> gmail.com>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/12471
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 x11-misc/yabar/Manifest                     |  1 +
 x11-misc/yabar/metadata.xml                 | 21 ++++++++++
 x11-misc/yabar/yabar-0.4.0_p20190316.ebuild | 61 +++++++++++++++++++++++++++++
 3 files changed, 83 insertions(+)

diff --git a/x11-misc/yabar/Manifest b/x11-misc/yabar/Manifest
new file mode 100644
index 00000000000..64629c004de
--- /dev/null
+++ b/x11-misc/yabar/Manifest
@@ -0,0 +1 @@
+DIST yabar-0.4.0_p20190316.tar.gz 892725 BLAKE2B eb14b06327533034756885c68ab03b1ff049c987d1dac6d083c553646cd178210429d9457c1067db3211fcb39e9814a260aed201dea4e6410544b9247c5dee93 SHA512 f93250605c5b56d64c7ec6a7e7faa6120cdc06191ddafb13822875fd98b1b7a1822d9b93b62c49c302b1d4bffb14a200feed937efb0b11711de7159ce83eb7c5

diff --git a/x11-misc/yabar/metadata.xml b/x11-misc/yabar/metadata.xml
new file mode 100644
index 00000000000..e6d7b0c5568
--- /dev/null
+++ b/x11-misc/yabar/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>lillyjsm@gmail.com</email>
+		<name>Jake Lilly</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+	<use>
+		<flag name="playerctl">
+			Uses <pkg>media-sound/playerctl</pkg> to retrieve the name of the currently 
+			played song
+		</flag>
+	</use>
+	<upstream>
+		<remote-id type="github">geommer/yabar</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/x11-misc/yabar/yabar-0.4.0_p20190316.ebuild b/x11-misc/yabar/yabar-0.4.0_p20190316.ebuild
new file mode 100644
index 00000000000..b9fe1902987
--- /dev/null
+++ b/x11-misc/yabar/yabar-0.4.0_p20190316.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+COMMIT="a0d3fdfed992149b741eb8fcf53f02b5d1a6142e"
+DESCRIPTION="A modern and lightweight status bar for X window managers"
+HOMEPAGE="https://github.com/geommer/yabar"
+SRC_URI="https://github.com/geommer/yabar/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="playerctl"
+
+DEPEND="
+	app-text/asciidoc
+	dev-libs/libconfig:=
+	media-libs/alsa-lib
+	net-wireless/wireless-tools
+	x11-libs/cairo[xcb]
+	x11-libs/gdk-pixbuf:2
+	x11-libs/libxkbcommon[X]
+	x11-libs/pango
+	x11-libs/xcb-util-wm
+	playerctl? ( media-sound/playerctl )
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+src_prepare() {
+	default
+	# Respect CFLAGS and LDFLAGS
+	# Declare VERSION without relying on git
+	# Replace playerctl dependency option with basename
+	sed -i -e "s:-flto -O2::g" -e "s:-Wall::" \
+	-e "s:\$(shell git describe):0.4.0-179-ga0d3fdf:" \
+	-e "s:^DEPS += playerctl-1.0:DEPS += playerctl:" \
+	Makefile || die "Failed to update Makefile"
+}
+
+src_compile() {
+	if use playerctl; then
+		emake PLAYERCTL=1
+	else
+		emake
+	fi
+}
+
+src_install() {
+	default
+	docinto examples
+	dodoc examples/example.config
+	docompress -x "/usr/share/doc/${PF}/examples"
+}
+
+pkg_postinst() {
+	elog "An example yabar configuration file can be found in"
+	elog "the following path: /usr/share/doc/${PF}/examples"
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: x11-misc/yabar/
@ 2020-01-14 22:48 Matt Turner
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Turner @ 2020-01-14 22:48 UTC (permalink / raw
  To: gentoo-commits

commit:     dbfbbe0e463a0cf7cf80dcfd93cbfe6704181524
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 14 22:38:49 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Jan 14 22:47:59 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbfbbe0e

x11-misc/yabar: Update x11-libs/cairo dependency

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 .../{yabar-0.4.0_p20190316.ebuild => yabar-0.4.0_p20190316-r1.ebuild}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/yabar/yabar-0.4.0_p20190316.ebuild b/x11-misc/yabar/yabar-0.4.0_p20190316-r1.ebuild
similarity index 98%
rename from x11-misc/yabar/yabar-0.4.0_p20190316.ebuild
rename to x11-misc/yabar/yabar-0.4.0_p20190316-r1.ebuild
index b9fe1902987..421f3a8a30b 100644
--- a/x11-misc/yabar/yabar-0.4.0_p20190316.ebuild
+++ b/x11-misc/yabar/yabar-0.4.0_p20190316-r1.ebuild
@@ -18,7 +18,7 @@ DEPEND="
 	dev-libs/libconfig:=
 	media-libs/alsa-lib
 	net-wireless/wireless-tools
-	x11-libs/cairo[xcb]
+	x11-libs/cairo[X,xcb(+)]
 	x11-libs/gdk-pixbuf:2
 	x11-libs/libxkbcommon[X]
 	x11-libs/pango


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-14 22:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-14 22:48 [gentoo-commits] repo/gentoo:master commit in: x11-misc/yabar/ Matt Turner
  -- strict thread matches above, loose matches on Subject: below --
2019-08-01 13:01 Joonas Niilola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox