summaryrefslogtreecommitdiff
path: root/gui-apps/swaybg
diff options
context:
space:
mode:
Diffstat (limited to 'gui-apps/swaybg')
-rw-r--r--gui-apps/swaybg/Manifest4
-rw-r--r--gui-apps/swaybg/swaybg-1.2.0.ebuild46
-rw-r--r--gui-apps/swaybg/swaybg-9999.ebuild4
3 files changed, 51 insertions, 3 deletions
diff --git a/gui-apps/swaybg/Manifest b/gui-apps/swaybg/Manifest
index 37f22df78aaa..8f10b1b7d6c8 100644
--- a/gui-apps/swaybg/Manifest
+++ b/gui-apps/swaybg/Manifest
@@ -1,6 +1,8 @@
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
EBUILD swaybg-1.0.ebuild 805 BLAKE2B 87e41c4e862b926705a5369374e4388efb65fb95f8b8096dd6a3c0cf82a0a5e7b5828987bf238efa40eb7e4f7a2da12e85b2f86d77615443f8140933d9628271 SHA512 cba247158f0a9da72e923e72868474148c44629d7d346b889a0bc2f6b2b4026ee36ee0414a88f491c24e8313665888c3e60d4b51e4a198860c374987d8abba02
EBUILD swaybg-1.1.1.ebuild 913 BLAKE2B 15956c0eba5aad1d38a429a60fd6d005c4de5539df9bcdf7478dd2ba9acd15fdb55c5949f5ae75b72b6eeaddc1828059ecc71bd071bafe8e2be0b3217b48adfa SHA512 979f02a5dc3db96f98c333f05503868ae011c813237ab0692d24c98abc8451dc33f257a0f957c8ec1607dac1eeeaf2f4ee2d8789bc9d3e13bcf2b12c3cf86418
-EBUILD swaybg-9999.ebuild 912 BLAKE2B 8be35f789efc5f963bd2c1bf2eede9f0faee7ac4d773d6a71121a561bea79f6c738eef427dbcf8f3c3746c331f1c969f55cfe01e916c003e023f619f7cea041f SHA512 56a6d5c5f41c608a0e757372ab31d3361ea4c6aedfd0b19fd1424a87625caddb640ca8ae5ec476d622adf6b0cd1df6d49aea9fe5634460c295abf84a9de00ab4
+EBUILD swaybg-1.2.0.ebuild 913 BLAKE2B 5deb41c46bb3e3e7755d48bc87276c0167455e8afbd54c2cc30a478558bde87151ce9bc58620c081076b4735007b53d8a67eeb29ac67580edce32d623344c56e SHA512 18ec10ec76bb17a5c306374daccc0856c2c56eafec505293f135417b58caa4a4c0c03d6f141e4ab20afd223f278ab7538d22ba9b316e9a81f7339ca82ce05ecf
+EBUILD swaybg-9999.ebuild 913 BLAKE2B 5deb41c46bb3e3e7755d48bc87276c0167455e8afbd54c2cc30a478558bde87151ce9bc58620c081076b4735007b53d8a67eeb29ac67580edce32d623344c56e SHA512 18ec10ec76bb17a5c306374daccc0856c2c56eafec505293f135417b58caa4a4c0c03d6f141e4ab20afd223f278ab7538d22ba9b316e9a81f7339ca82ce05ecf
MISC metadata.xml 972 BLAKE2B fe63b13611637facf43ae654a098c257a4688291ba6caa02230f837c62106b5becde83c9de3f14be57354ef8df5ebc8ee83753f309e2d593e46414bb2c61e928 SHA512 d15cd858024da5e39cd5efcc71c2b89f5cde3dc5e3068eab75728b9fa89fc78d16b344375636608659f308d3c2f0eec16bf3f3eba40a27f04bc5c864c7cae9d8
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