From c930da71ed9275339c135b430a3fb9e2163c4184 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Wed, 15 Dec 2021 13:53:31 -0500 Subject: gui-apps/swaybg: import --- gui-apps/swaybg/Manifest | 1 + gui-apps/swaybg/metadata.xml | 20 ++++++++++++++++ gui-apps/swaybg/swaybg-1.1.ebuild | 47 ++++++++++++++++++++++++++++++++++++++ gui-apps/swaybg/swaybg-9999.ebuild | 47 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 115 insertions(+) create mode 100644 gui-apps/swaybg/Manifest create mode 100644 gui-apps/swaybg/metadata.xml create mode 100644 gui-apps/swaybg/swaybg-1.1.ebuild create mode 100644 gui-apps/swaybg/swaybg-9999.ebuild (limited to 'gui-apps/swaybg') diff --git a/gui-apps/swaybg/Manifest b/gui-apps/swaybg/Manifest new file mode 100644 index 0000000..8e9df1e --- /dev/null +++ b/gui-apps/swaybg/Manifest @@ -0,0 +1 @@ +DIST swaybg-1.1.tar.gz 16095 BLAKE2B de4cbf348a981a4ccf1bb6beafe6ff952a8864b2d972201ca42c9828016d76eddaa19d6c4a18607e42e1677355960749af86052b2edd7bc3873f68523dbabede SHA512 2b262402c4d93908facde82b07a3df1ee698b802b7e9c07e6eff0325cb9ddf712c544574c5aeb481f69dfb1857a88bf8e654bfe0dd3b2178fd3a44109e104692 diff --git a/gui-apps/swaybg/metadata.xml b/gui-apps/swaybg/metadata.xml new file mode 100644 index 0000000..3d404ea --- /dev/null +++ b/gui-apps/swaybg/metadata.xml @@ -0,0 +1,20 @@ + + + + + Sway's wallpaper utility, compatible with any Wayland compositor + which implements the wlr-layer-shell, xdg-output and xdg-shell protocols. + + + swaywm/swaybg + + sir@cmpwn.com + Drew DeVault + + https://github.com/swaywm/swaybg/issues + https://github.com/swaywm/swaybg/releases + + + Support image types other than PNG + + diff --git a/gui-apps/swaybg/swaybg-1.1.ebuild b/gui-apps/swaybg/swaybg-1.1.ebuild new file mode 100644 index 0000000..34c485e --- /dev/null +++ b/gui-apps/swaybg/swaybg-1.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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}/releases/download/v${PV}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~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} + !