summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2022-12-25 13:01:34 -0600
committerMatthew Thode <prometheanfire@gentoo.org>2022-12-25 13:02:24 -0600
commit2f39345f956887e3d8a3d53d6d73ad36b7d1712b (patch)
tree63f13a2de6f351cf951b7aad5b17a3e35c928471 /gui-apps/swaybg
parentapp-metrics/mysqld_exporter: bump (diff)
downloadgentoo-2f39345f956887e3d8a3d53d6d73ad36b7d1712b.tar.gz
gentoo-2f39345f956887e3d8a3d53d6d73ad36b7d1712b.tar.bz2
gentoo-2f39345f956887e3d8a3d53d6d73ad36b7d1712b.zip
gui-apps/swaybg: 1.2.0 bump
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'gui-apps/swaybg')
-rw-r--r--gui-apps/swaybg/Manifest1
-rw-r--r--gui-apps/swaybg/swaybg-1.2.0.ebuild46
-rw-r--r--gui-apps/swaybg/swaybg-9999.ebuild4
3 files changed, 49 insertions, 2 deletions
diff --git a/gui-apps/swaybg/Manifest b/gui-apps/swaybg/Manifest
index 63a13a1ba054..e1be86c39647 100644
--- a/gui-apps/swaybg/Manifest
+++ b/gui-apps/swaybg/Manifest
@@ -1,2 +1,3 @@
DIST swaybg-1.0.tar.gz 15851 BLAKE2B 820edbce4161f2d109bc8e842fb2bef101a5793d1da90f4258e5771fe85ab089e184c063a0a7073adbe218c59307946f86bd02c4d62b0585aeb3f9cd5c7963f8 SHA512 67d0e0109b906ece51800729182940374cc59fa07d0866b57cf876d12191fe12e796b84350a849dc85183fa58a3b2d196191e48dcc03dcc3708a980ed4a8cff0
DIST swaybg-1.1.1.tar.gz 16474 BLAKE2B 21e966e28b5228688aa452f6086feea58bcd56d7fccfe53babe086b9e26702429705870b7d5c7e4900db40e281eab6e1f4077c4cc58f0be745e2d5a9a7d7f46f SHA512 e5ac7af1690974206f916e1d99a8dde0e837acbc686e2de2c46d505201f239a059f998adc22192205d1ad75b5905222f16aed243b31920e19c0ff2229b8eda2c
+DIST swaybg-1.2.0.tar.gz 16572 BLAKE2B 197daba2a049bd21c1609c7abc5241c1b8664dabd34b16d9664c2f7f6853028389f81ef3d8e7f13c8b8decda0a0149ff911b86cc079b11cdbc8f9c977c4e0e23 SHA512 e0c0d78a1887e8a6ff396305ea717be22ec316cd17ef7e2f61a0fe25f976ff12bb5fd48bf8dc7d99d7c9bf6948b4a00d99bf9ac68021080ae9c393ca84e86e0a
diff --git a/gui-apps/swaybg/swaybg-1.2.0.ebuild b/gui-apps/swaybg/swaybg-1.2.0.ebuild
new file mode 100644
index 000000000000..e0ab462e5fa1
--- /dev/null
+++ b/gui-apps/swaybg/swaybg-1.2.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="A wallpaper utility for Wayland"
+HOMEPAGE="https://github.com/swaywm/swaybg"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/swaywm/${PN}.git"
+else
+ SRC_URI="https://github.com/swaywm/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="gdk-pixbuf +man"
+
+DEPEND="
+ dev-libs/wayland
+ >=dev-libs/wayland-protocols-1.14
+ x11-libs/cairo
+ gdk-pixbuf? ( x11-libs/gdk-pixbuf )
+"
+RDEPEND="
+ ${DEPEND}
+ !<gui-wm/sway-1.1_alpha1
+"
+BDEPEND="
+ dev-util/wayland-scanner
+ virtual/pkgconfig
+ man? ( app-text/scdoc )
+"
+
+src_configure() {
+ local emesonargs=(
+ -Dman-pages=$(usex man enabled disabled)
+ -Dgdk-pixbuf=$(usex gdk-pixbuf enabled disabled)
+ )
+
+ meson_src_configure
+}
diff --git a/gui-apps/swaybg/swaybg-9999.ebuild b/gui-apps/swaybg/swaybg-9999.ebuild
index a665232edee6..e0ab462e5fa1 100644
--- a/gui-apps/swaybg/swaybg-9999.ebuild
+++ b/gui-apps/swaybg/swaybg-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit meson
@@ -12,7 +12,7 @@ if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/swaywm/${PN}.git"
else
- SRC_URI="https://github.com/swaywm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI="https://github.com/swaywm/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
fi