aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernandez Hernandez <leohdz172@outlook.com>2021-09-26 18:50:28 -0500
committerLeonardo Hernandez Hernandez <leohdz172@outlook.com>2021-09-26 20:17:28 -0500
commitc073af4259dab3991aa3926b3ad107a1fe741b0c (patch)
tree07fd998ab757b820b45fba35d2cf8d85a02174e8 /gui-apps/wbg/wbg-1.0.2.ebuild
parentdev-util/eclipse-parallel-bin: inherit wrapper,rm eutils. Respect {LD,C}FLAGS (diff)
downloadguru-c073af4259dab3991aa3926b3ad107a1fe741b0c.tar.gz
guru-c073af4259dab3991aa3926b3ad107a1fe741b0c.tar.bz2
guru-c073af4259dab3991aa3926b3ad107a1fe741b0c.zip
gui-apps/wbg: New package (version 1.0.2)
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Leonardo Hernandez Hernandez <leohdz172@outlook.com>
Diffstat (limited to 'gui-apps/wbg/wbg-1.0.2.ebuild')
-rw-r--r--gui-apps/wbg/wbg-1.0.2.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/gui-apps/wbg/wbg-1.0.2.ebuild b/gui-apps/wbg/wbg-1.0.2.ebuild
new file mode 100644
index 000000000..6beeefdb7
--- /dev/null
+++ b/gui-apps/wbg/wbg-1.0.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="Super simple wallpaper application"
+HOMEPAGE="https://codeberg.org/dnkl/wbg"
+SRC_URI="https://codeberg.org/dnkl/wbg/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="png jpeg"
+
+S="${WORKDIR}/${PN}"
+
+REQUIRED_USE="|| ( png jpeg )"
+
+DEPEND="
+ x11-libs/pixman
+ dev-libs/wayland
+"
+RDEPEND="
+ ${DEPEND}
+ png? ( media-libs/libpng )
+ jpeg? ( media-libs/libjpeg-turbo )
+"
+BDEPEND="
+ dev-libs/tllist
+ dev-libs/wayland-protocols
+ dev-util/wayland-scanner
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature png)
+ $(meson_feature jpeg)
+ )
+
+ meson_src_configure
+}