mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
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@null.net>
This commit is contained in:
1
gui-apps/yambar/Manifest
Normal file
1
gui-apps/yambar/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST yambar-1.6.2.tar.gz 135455 BLAKE2B 71d5b584bf04a7212ac84d8e0d8cb71c1abd7c7548c5ec998aff480d76afbd09825b059fe642edd4dd2537af6a5b811bd333a45bfa53f6a3a814a2be95eb58b4 SHA512 64a5e983be6dc99feb2f39d06fe265163c3b8f3f23f33a58c386891b63a9c915816cbde22d031473e700e839522c86c53b06f0cce1a57ebdab8ed6aeebe627e1
|
||||
18
gui-apps/yambar/metadata.xml
Normal file
18
gui-apps/yambar/metadata.xml
Normal file
@@ -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>leonardohn@null.net</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>
|
||||
65
gui-apps/yambar/yambar-1.6.2.ebuild
Normal file
65
gui-apps/yambar/yambar-1.6.2.ebuild
Normal file
@@ -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}"
|
||||
}
|
||||
65
gui-apps/yambar/yambar-9999.ebuild
Normal file
65
gui-apps/yambar/yambar-9999.ebuild
Normal file
@@ -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}"
|
||||
}
|
||||
Reference in New Issue
Block a user