Gentoo Archives: gentoo-commits

From: Leonardo Hernandez <leohdz172@×××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/wbg/
Date: Mon, 27 Sep 2021 01:17:45
Message-Id: 1632705448.c073af4259dab3991aa3926b3ad107a1fe741b0c.leohdz172@gentoo
1 commit: c073af4259dab3991aa3926b3ad107a1fe741b0c
2 Author: Leonardo Hernandez Hernandez <leohdz172 <AT> outlook <DOT> com>
3 AuthorDate: Sun Sep 26 23:50:28 2021 +0000
4 Commit: Leonardo Hernandez <leohdz172 <AT> outlook <DOT> com>
5 CommitDate: Mon Sep 27 01:17:28 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c073af42
7
8 gui-apps/wbg: New package (version 1.0.2)
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Leonardo Hernandez Hernandez <leohdz172 <AT> outlook.com>
12
13 gui-apps/wbg/Manifest | 1 +
14 gui-apps/wbg/metadata.xml | 17 +++++++++++++++++
15 gui-apps/wbg/wbg-1.0.2.ebuild | 44 +++++++++++++++++++++++++++++++++++++++++++
16 3 files changed, 62 insertions(+)
17
18 diff --git a/gui-apps/wbg/Manifest b/gui-apps/wbg/Manifest
19 new file mode 100644
20 index 000000000..20ad1d224
21 --- /dev/null
22 +++ b/gui-apps/wbg/Manifest
23 @@ -0,0 +1 @@
24 +DIST wbg-1.0.2.tar.gz 15693 BLAKE2B a0757021cdec9f6851cc0fabb4126aa0875352ea33db6dc5b504fd7f4e58e225fc7e97d59489b0fc1385a5ff2696aa5b1b9282a71d2fc4c0d9596b17088f386b SHA512 4f8b80f69996a726eaeaed2974bac6fbda061f0f188442edf1e3ee933d5fcd2f0db3d6db31f538d9dae4de05f63d36f5c2df2ec7ddfa75d7634c521daae62996
25
26 diff --git a/gui-apps/wbg/metadata.xml b/gui-apps/wbg/metadata.xml
27 new file mode 100644
28 index 000000000..fa15758e0
29 --- /dev/null
30 +++ b/gui-apps/wbg/metadata.xml
31 @@ -0,0 +1,17 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +<pkgmetadata>
35 + <maintainer type="person">
36 + <name>Leonardo Hernandez Hernandez</name>
37 + <email>leohdz172@×××××××.com</email>
38 + </maintainer>
39 + <longdescription lang="en">
40 + Super simple wallpaper application for Wayland compositors implementing the layer-shell protocol.
41 + Wbg takes a single command line argument: a path to an image file. This image is displayed scaled-to-fit on all monitors.
42 + More display options, and/or the ability to set a per-monitor wallpaper may be added in the future.
43 + </longdescription>
44 + <upstream>
45 + <bugs-to>https://codeberg.org/dnkl/wbg/issues</bugs-to>
46 + <doc>https://codeberg.org/dnkl/wbg/src/branch/master/README.md</doc>
47 + </upstream>
48 +</pkgmetadata>
49
50 diff --git a/gui-apps/wbg/wbg-1.0.2.ebuild b/gui-apps/wbg/wbg-1.0.2.ebuild
51 new file mode 100644
52 index 000000000..6beeefdb7
53 --- /dev/null
54 +++ b/gui-apps/wbg/wbg-1.0.2.ebuild
55 @@ -0,0 +1,44 @@
56 +# Copyright 2021 Gentoo Authors
57 +# Distributed under the terms of the GNU General Public License v2
58 +
59 +EAPI=8
60 +
61 +inherit meson
62 +
63 +DESCRIPTION="Super simple wallpaper application"
64 +HOMEPAGE="https://codeberg.org/dnkl/wbg"
65 +SRC_URI="https://codeberg.org/dnkl/wbg/archive/${PV}.tar.gz -> ${P}.tar.gz"
66 +
67 +LICENSE="MIT"
68 +SLOT="0"
69 +KEYWORDS="~amd64"
70 +IUSE="png jpeg"
71 +
72 +S="${WORKDIR}/${PN}"
73 +
74 +REQUIRED_USE="|| ( png jpeg )"
75 +
76 +DEPEND="
77 + x11-libs/pixman
78 + dev-libs/wayland
79 +"
80 +RDEPEND="
81 + ${DEPEND}
82 + png? ( media-libs/libpng )
83 + jpeg? ( media-libs/libjpeg-turbo )
84 +"
85 +BDEPEND="
86 + dev-libs/tllist
87 + dev-libs/wayland-protocols
88 + dev-util/wayland-scanner
89 + virtual/pkgconfig
90 +"
91 +
92 +src_configure() {
93 + local emesonargs=(
94 + $(meson_feature png)
95 + $(meson_feature jpeg)
96 + )
97 +
98 + meson_src_configure
99 +}