public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matthew Thode" <prometheanfire@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-apps/swaybg/
Date: Sat, 25 Jun 2022 19:12:47 +0000 (UTC)	[thread overview]
Message-ID: <1656184364.1a0cbb9052632e827c64f96752e3e2c0d1d391c7.prometheanfire@gentoo> (raw)

commit:     1a0cbb9052632e827c64f96752e3e2c0d1d391c7
Author:     Alex Xu (Hello71) <alex_y_xu <AT> yahoo <DOT> ca>
AuthorDate: Tue Aug 24 11:49:33 2021 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Sat Jun 25 19:12:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a0cbb90

gui-apps/swaybg: upgrade to 1.1.1, various fixes

- fix cross-compile deps
- make gdk-pixbuf optional
- add ~riscv to -9999

Signed-off-by: Alex Xu (Hello71) <alex_y_xu <AT> yahoo.ca>
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 gui-apps/swaybg/Manifest                                   |  1 +
 gui-apps/swaybg/metadata.xml                               |  3 +++
 .../swaybg/{swaybg-9999.ebuild => swaybg-1.1.1.ebuild}     | 14 ++++++++------
 gui-apps/swaybg/swaybg-9999.ebuild                         | 12 +++++++-----
 4 files changed, 19 insertions(+), 11 deletions(-)

diff --git a/gui-apps/swaybg/Manifest b/gui-apps/swaybg/Manifest
index 562a59c8a6d5..63a13a1ba054 100644
--- a/gui-apps/swaybg/Manifest
+++ b/gui-apps/swaybg/Manifest
@@ -1 +1,2 @@
 DIST swaybg-1.0.tar.gz 15851 BLAKE2B 820edbce4161f2d109bc8e842fb2bef101a5793d1da90f4258e5771fe85ab089e184c063a0a7073adbe218c59307946f86bd02c4d62b0585aeb3f9cd5c7963f8 SHA512 67d0e0109b906ece51800729182940374cc59fa07d0866b57cf876d12191fe12e796b84350a849dc85183fa58a3b2d196191e48dcc03dcc3708a980ed4a8cff0
+DIST swaybg-1.1.1.tar.gz 16474 BLAKE2B 21e966e28b5228688aa452f6086feea58bcd56d7fccfe53babe086b9e26702429705870b7d5c7e4900db40e281eab6e1f4077c4cc58f0be745e2d5a9a7d7f46f SHA512 e5ac7af1690974206f916e1d99a8dde0e837acbc686e2de2c46d505201f239a059f998adc22192205d1ad75b5905222f16aed243b31920e19c0ff2229b8eda2c

diff --git a/gui-apps/swaybg/metadata.xml b/gui-apps/swaybg/metadata.xml
index c00e68acd181..98797bd88f43 100644
--- a/gui-apps/swaybg/metadata.xml
+++ b/gui-apps/swaybg/metadata.xml
@@ -22,4 +22,7 @@
 		<bugs-to>https://github.com/swaywm/swaybg/issues</bugs-to>
 		<changelog>https://github.com/swaywm/swaybg/releases</changelog>
 	</upstream>
+	<use>
+		<flag name="gdk-pixbuf">Support image types other than PNG</flag>
+	</use>
 </pkgmetadata>

diff --git a/gui-apps/swaybg/swaybg-9999.ebuild b/gui-apps/swaybg/swaybg-1.1.1.ebuild
similarity index 70%
copy from gui-apps/swaybg/swaybg-9999.ebuild
copy to gui-apps/swaybg/swaybg-1.1.1.ebuild
index dfb9021263d7..ce371ad99d1a 100644
--- a/gui-apps/swaybg/swaybg-9999.ebuild
+++ b/gui-apps/swaybg/swaybg-1.1.1.ebuild
@@ -12,25 +12,26 @@ 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"
-	KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~x86"
+	SRC_URI="https://github.com/swaywm/${PN}/releases/download/v${PV}/${P}.tar.gz"
+	KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
 fi
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="+man"
+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-libs/wayland-protocols-1.14
-	x11-libs/gdk-pixbuf
-	x11-libs/cairo
+	dev-util/wayland-scanner
 	virtual/pkgconfig
 	man? ( app-text/scdoc )
 "
@@ -38,6 +39,7 @@ BDEPEND="
 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 dfb9021263d7..a665232edee6 100644
--- a/gui-apps/swaybg/swaybg-9999.ebuild
+++ b/gui-apps/swaybg/swaybg-9999.ebuild
@@ -13,24 +13,25 @@ if [[ ${PV} == 9999 ]]; then
 	EGIT_REPO_URI="https://github.com/swaywm/${PN}.git"
 else
 	SRC_URI="https://github.com/swaywm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~x86"
+	KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
 fi
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="+man"
+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-libs/wayland-protocols-1.14
-	x11-libs/gdk-pixbuf
-	x11-libs/cairo
+	dev-util/wayland-scanner
 	virtual/pkgconfig
 	man? ( app-text/scdoc )
 "
@@ -38,6 +39,7 @@ BDEPEND="
 src_configure() {
 	local emesonargs=(
 		-Dman-pages=$(usex man enabled disabled)
+		-Dgdk-pixbuf=$(usex gdk-pixbuf enabled disabled)
 	)
 
 	meson_src_configure


             reply	other threads:[~2022-06-25 19:12 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-25 19:12 Matthew Thode [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-12 11:22 [gentoo-commits] repo/gentoo:master commit in: gui-apps/swaybg/ Michał Górny
2024-10-12  9:44 Michał Górny
2024-10-12  9:44 Michał Górny
2024-05-26 17:12 Arthur Zamarin
2024-05-26 17:12 Arthur Zamarin
2023-02-25 17:45 Matthew Thode
2023-01-25 20:46 Matthew Thode
2022-12-25 19:02 Matthew Thode
2022-05-26  5:39 WANG Xuerui
2022-05-26  5:39 WANG Xuerui
2022-05-17  5:59 Sam James
2020-01-24  4:19 Georgy Yakovlev
2020-01-24  4:19 Georgy Yakovlev
2019-06-02 17:22 Matthew Thode
2019-05-04  4:23 Matthew Thode
2019-05-04  3:29 Matthew Thode
2019-05-03 18:33 Matthew Thode
2019-04-30  3:35 Matthew Thode

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1656184364.1a0cbb9052632e827c64f96752e3e2c0d1d391c7.prometheanfire@gentoo \
    --to=prometheanfire@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox