commit:     5e71bab4ab8d4bbc68caef502829843baf97e0d0
Author:     Leonardo H. Neumann <leonardohn <AT> null <DOT> net>
AuthorDate: Tue Jul 27 03:43:00 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Jul 27 03:48:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5e71bab4

gui-apps/yambar: new package (1.6.2)

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Leonardo H. Neumann <leonardohn <AT> null.net>

 gui-apps/yambar/Manifest            |  1 +
 gui-apps/yambar/metadata.xml        | 18 ++++++++++
 gui-apps/yambar/yambar-1.6.2.ebuild | 65 +++++++++++++++++++++++++++++++++++++
 gui-apps/yambar/yambar-9999.ebuild  | 65 +++++++++++++++++++++++++++++++++++++
 4 files changed, 149 insertions(+)

diff --git a/gui-apps/yambar/Manifest b/gui-apps/yambar/Manifest
new file mode 100644
index 000000000..ef709545a
--- /dev/null
+++ b/gui-apps/yambar/Manifest
@@ -0,0 +1 @@
+DIST yambar-1.6.2.tar.gz 135455 BLAKE2B 
71d5b584bf04a7212ac84d8e0d8cb71c1abd7c7548c5ec998aff480d76afbd09825b059fe642edd4dd2537af6a5b811bd333a45bfa53f6a3a814a2be95eb58b4
 SHA512 
64a5e983be6dc99feb2f39d06fe265163c3b8f3f23f33a58c386891b63a9c915816cbde22d031473e700e839522c86c53b06f0cce1a57ebdab8ed6aeebe627e1

diff --git a/gui-apps/yambar/metadata.xml b/gui-apps/yambar/metadata.xml
new file mode 100644
index 000000000..f30b9742f
--- /dev/null
+++ b/gui-apps/yambar/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Leonardo H. Neumann</name>
+       </maintainer>
+       <longdescription lang="en">
+               Simplistic and highly configurable status panel for X and 
Wayland
+       </longdescription>
+       <use>
+               <flag name="lto">Build with Link Time Optimization (LTO)</flag>
+       </use>
+       <upstream>
+               <bugs-to>https://codeberg.org/dnkl/yambar/issues</bugs-to>
+               <changelog>https://codeberg.org/dnkl/yambar/releases</changelog>
+       </upstream>
+</pkgmetadata>

diff --git a/gui-apps/yambar/yambar-1.6.2.ebuild 
b/gui-apps/yambar/yambar-1.6.2.ebuild
new file mode 100644
index 000000000..1f4199e17
--- /dev/null
+++ b/gui-apps/yambar/yambar-1.6.2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson
+
+if [[ ${PV} != *9999* ]]; then
+       SRC_URI="https://codeberg.org/dnkl/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64"
+       S="${WORKDIR}/${PN}"
+else
+       inherit git-r3
+       EGIT_REPO_URI="https://codeberg.org/dnkl/${PN}.git";
+fi
+
+DESCRIPTION="Simplistic and highly configurable status panel for X and Wayland"
+HOMEPAGE="https://codeberg.org/dnkl/yambar";
+LICENSE="MIT"
+SLOT="0"
+IUSE="lto wayland X"
+REQUIRED_USE="|| ( wayland X )"
+
+RDEPEND="
+       >=media-libs/fcft-2.4.0
+       dev-libs/json-c
+       dev-libs/libyaml
+       media-libs/alsa-lib
+       media-libs/libmpdclient
+       virtual/libudev:=
+       x11-libs/pixman
+       wayland? ( dev-libs/wayland )
+       X? (
+               x11-libs/libxcb:0=[xkb]
+               x11-libs/xcb-util
+               x11-libs/xcb-util-cursor
+               x11-libs/xcb-util-wm
+       )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       app-text/scdoc
+       >=dev-libs/tllist-1.0.1
+       >=dev-util/meson-0.53.0
+       virtual/pkgconfig
+       wayland? (
+               dev-libs/wayland-protocols
+               dev-util/wayland-scanner
+       )
+"
+
+src_configure() {
+       local emesonargs=(
+               $(meson_feature wayland backend-wayland)
+               $(meson_feature X backend-x11)
+               $(meson_use lto b_lto)
+               -Dwerror=false
+       )
+       meson_src_configure
+}
+
+src_install() {
+       meson_src_install
+       rm -rf "${D}/usr/share/doc/${PN}"
+}

diff --git a/gui-apps/yambar/yambar-9999.ebuild 
b/gui-apps/yambar/yambar-9999.ebuild
new file mode 100644
index 000000000..1f4199e17
--- /dev/null
+++ b/gui-apps/yambar/yambar-9999.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson
+
+if [[ ${PV} != *9999* ]]; then
+       SRC_URI="https://codeberg.org/dnkl/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64"
+       S="${WORKDIR}/${PN}"
+else
+       inherit git-r3
+       EGIT_REPO_URI="https://codeberg.org/dnkl/${PN}.git";
+fi
+
+DESCRIPTION="Simplistic and highly configurable status panel for X and Wayland"
+HOMEPAGE="https://codeberg.org/dnkl/yambar";
+LICENSE="MIT"
+SLOT="0"
+IUSE="lto wayland X"
+REQUIRED_USE="|| ( wayland X )"
+
+RDEPEND="
+       >=media-libs/fcft-2.4.0
+       dev-libs/json-c
+       dev-libs/libyaml
+       media-libs/alsa-lib
+       media-libs/libmpdclient
+       virtual/libudev:=
+       x11-libs/pixman
+       wayland? ( dev-libs/wayland )
+       X? (
+               x11-libs/libxcb:0=[xkb]
+               x11-libs/xcb-util
+               x11-libs/xcb-util-cursor
+               x11-libs/xcb-util-wm
+       )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       app-text/scdoc
+       >=dev-libs/tllist-1.0.1
+       >=dev-util/meson-0.53.0
+       virtual/pkgconfig
+       wayland? (
+               dev-libs/wayland-protocols
+               dev-util/wayland-scanner
+       )
+"
+
+src_configure() {
+       local emesonargs=(
+               $(meson_feature wayland backend-wayland)
+               $(meson_feature X backend-x11)
+               $(meson_use lto b_lto)
+               -Dwerror=false
+       )
+       meson_src_configure
+}
+
+src_install() {
+       meson_src_install
+       rm -rf "${D}/usr/share/doc/${PN}"
+}

Reply via email to