Gentoo Archives: gentoo-commits

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-apps/swaybg/
Date: Tue, 30 Apr 2019 03:35:16
Message-Id: 1556595296.e3cc52f2b4aafade01fd78685910b544d28fe0ef.prometheanfire@gentoo
1 commit: e3cc52f2b4aafade01fd78685910b544d28fe0ef
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 30 03:28:47 2019 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 30 03:34:56 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3cc52f2
7
8 gui-apps/swaybg: initial add
9
10 Bug: https://bugs.gentoo.org/684622
11 Package-Manager: Portage-2.3.62, Repoman-2.3.12
12 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
13
14 gui-apps/swaybg/metadata.xml | 28 ++++++++++++++++++++++++
15 gui-apps/swaybg/swaybg-9999.ebuild | 45 ++++++++++++++++++++++++++++++++++++++
16 2 files changed, 73 insertions(+)
17
18 diff --git a/gui-apps/swaybg/metadata.xml b/gui-apps/swaybg/metadata.xml
19 new file mode 100644
20 index 00000000000..4708ce6a796
21 --- /dev/null
22 +++ b/gui-apps/swaybg/metadata.xml
23 @@ -0,0 +1,28 @@
24 +<?xml version="1.0" encoding="UTF-8"?>
25 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
26 +<pkgmetadata>
27 + <maintainer type="person">
28 + <email>prometheanfire@g.o</email>
29 + <name>Matthew Thode</name>
30 + </maintainer>
31 + <maintainer type="person">
32 + <email>speedjack95@×××××.com</email>
33 + <name>Niccolò Scatena</name>
34 + </maintainer>
35 + <longdescription lang="en">
36 + Sway's wallpaper utility, compatible with any Wayland compositor
37 + which implements the wlr-layer-shell, xdg-output and xdg-shell protocols.
38 + </longdescription>
39 + <use>
40 + <flag name="man">Build and install man pages</flag>
41 + </use>
42 + <upstream>
43 + <remote-id type="github">swaywm/swaybg</remote-id>
44 + <maintainer status="active">
45 + <email>sir@×××××.com</email>
46 + <name>Drew DeVault</name>
47 + </maintainer>
48 + <bugs-to>https://github.com/swaywm/swaybg/issues</bugs-to>
49 + <changelog>https://github.com/swaywm/swaybg/releases</changelog>
50 + </upstream>
51 +</pkgmetadata>
52
53 diff --git a/gui-apps/swaybg/swaybg-9999.ebuild b/gui-apps/swaybg/swaybg-9999.ebuild
54 new file mode 100644
55 index 00000000000..79643a572c6
56 --- /dev/null
57 +++ b/gui-apps/swaybg/swaybg-9999.ebuild
58 @@ -0,0 +1,45 @@
59 +# Copyright 1999-2019 Gentoo Authors
60 +# Distributed under the terms of the GNU General Public License v2
61 +
62 +EAPI=7
63 +
64 +inherit meson
65 +
66 +DESCRIPTION="A wallpaper utility for Wayland"
67 +HOMEPAGE="https://github.com/swaywm/swaybg"
68 +
69 +if [[ ${PV} == 9999 ]]; then
70 + inherit git-r3
71 + EGIT_REPO_URI="https://github.com/swaywm/${PN}.git"
72 +else
73 + SRC_URI="https://github.com/swaywm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
74 + KEYWORDS="~amd64 ~x86"
75 +fi
76 +
77 +LICENSE="MIT"
78 +SLOT="0"
79 +IUSE="+man"
80 +
81 +DEPEND="
82 + dev-libs/wayland
83 +"
84 +RDEPEND="
85 + ${DEPEND}
86 + !<=gui-wm/sway-1.1
87 +"
88 +BDEPEND="
89 + >=dev-libs/wayland-protocols-1.14
90 + x11-libs/gdk-pixbuf
91 + x11-libs/cairo
92 + virtual/pkgconfig
93 + man? ( app-text/scdoc )
94 +"
95 +
96 +src_configure() {
97 + local emesonargs=(
98 + -Dman-pages=$(usex man enabled disabled)
99 + "-Dwerror=false"
100 + )
101 +
102 + meson_src_configure
103 +}