commit:     a9cb9985f827e2bd470738a76d290e17635366a3
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Sun Jul 30 20:16:31 2023 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> proton <DOT> me>
CommitDate: Sun Jul 30 20:16:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a9cb9985

gui-apps/wbg: add 9999

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>

 gui-apps/wbg/wbg-9999.ebuild | 51 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/gui-apps/wbg/wbg-9999.ebuild b/gui-apps/wbg/wbg-9999.ebuild
new file mode 100644
index 0000000000..ad79bd0c9f
--- /dev/null
+++ b/gui-apps/wbg/wbg-9999.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+if [[ ${PV} == *9999* ]]; then
+       EGIT_REPO_URI="https://codeberg.org/dnkl/wbg.git";
+       inherit git-r3
+else
+       SRC_URI="https://codeberg.org/dnkl/wbg/archive/${PV}.tar.gz  -> 
${P}.tar.gz"
+       KEYWORDS="~amd64"
+       S="${WORKDIR}/${PN}"
+fi
+
+DESCRIPTION="Super simple wallpaper application"
+HOMEPAGE="https://codeberg.org/dnkl/wbg";
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="png jpeg webp"
+
+REQUIRED_USE="|| ( png jpeg webp )"
+
+DEPEND="
+       x11-libs/pixman
+       dev-libs/wayland
+"
+RDEPEND="
+       ${DEPEND}
+       png? ( media-libs/libpng:= )
+       jpeg? ( media-libs/libjpeg-turbo:= )
+       webp? ( media-libs/libwebp:= )
+"
+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_feature webp)
+       )
+
+       meson_src_configure
+}

Reply via email to