From c4b51c43c55f9b56fc9cd3627ba086df1bbcea92 Mon Sep 17 00:00:00 2001 From: Aisha Tammy Date: Fri, 24 Feb 2023 08:33:04 -0500 Subject: [PATCH] gui-apps/wlr-randr: add 0.3.0, update url to sourcehut Signed-off-by: Aisha Tammy --- gui-apps/wlr-randr/Manifest | 1 + gui-apps/wlr-randr/metadata.xml | 11 +++++--- gui-apps/wlr-randr/wlr-randr-0.3.0.ebuild | 34 +++++++++++++++++++++++ gui-apps/wlr-randr/wlr-randr-9999.ebuild | 10 +++---- 4 files changed, 47 insertions(+), 9 deletions(-) create mode 100644 gui-apps/wlr-randr/wlr-randr-0.3.0.ebuild diff --git a/gui-apps/wlr-randr/Manifest b/gui-apps/wlr-randr/Manifest index c1a8f26d88..5815719e96 100644 --- a/gui-apps/wlr-randr/Manifest +++ b/gui-apps/wlr-randr/Manifest @@ -1,2 +1,3 @@ DIST wlr-randr-0.1.0.tar.gz 10836 BLAKE2B 573e9aa9305b0f633f2ee62cbf46bc107948582c5fa1e417a46f01b82489ac84362baea791f817d1857b320715a5644e597adf80c93897ec7bda27456b5e064d SHA512 84a710b28243acb13d37c81d1f796d7e251aa52d6a7f299a4cdb0d0ebe6481d57db6757a1a813fc6bbe3fbd9d7fccefb09385c523f857abef72f3ee398f0d958 DIST wlr-randr-0.2.0.tar.gz 10904 BLAKE2B 46eec469d18b5ac5b9e5c73e2e020b9e52c619bd81c63c8898b9712184691156d339ea40aa656a39f8a2c8bc858d80fb3aff144dbe2a1add75c9ee2757493026 SHA512 213e35d97ee4c5fe4e524119eba66f121707a4ccb9076f48ceb47091e2ca987ed43f9897168b4d62efd10457d256225cd23423e039c1fcd705d7ba7e779a6722 +DIST wlr-randr-0.3.0.tar.gz 12439 BLAKE2B 7a7c46beb479dce1e1d3609f060a65be7893e12326229bdc93f988528fa6be6b4fd5274cceb7599224301a6a10bdab529cb9f1121e6c7127b0c5fa3e5536c64c SHA512 5f670fd392c8fc6f7781a4b6911428c406b82d0bc422f30b236db88a59371d211129cc8d4cc57fea34207a8188cac22b570bee9907149c4e7d2a283d247315eb diff --git a/gui-apps/wlr-randr/metadata.xml b/gui-apps/wlr-randr/metadata.xml index a3865a3c5a..c7dde1c96e 100644 --- a/gui-apps/wlr-randr/metadata.xml +++ b/gui-apps/wlr-randr/metadata.xml @@ -1,8 +1,11 @@ - - gentoo@aisha.cc - Aisha Tammy - + + gentoo@aisha.cc + Aisha Tammy + + + emersion/wlr-randr + diff --git a/gui-apps/wlr-randr/wlr-randr-0.3.0.ebuild b/gui-apps/wlr-randr/wlr-randr-0.3.0.ebuild new file mode 100644 index 0000000000..d1a7f4f9ff --- /dev/null +++ b/gui-apps/wlr-randr/wlr-randr-0.3.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2019-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="xrandr clone for wlroots compositors" +HOMEPAGE="https://git.sr.ht/~emersion/wlr-randr" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.sr.ht/~emersion/wlr-randr" +else + SRC_URI="https://git.sr.ht/~emersion/wlr-randr/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="ISC" +SLOT="0" + +DEPEND=" + dev-libs/wayland +" +RDEPEND="${DEPEND}" +BDEPEND=" + dev-libs/wayland-protocols + virtual/pkgconfig +" + +src_prepare() { + default + sed -i 's/werror=true/werror=false/' meson.build || die +} diff --git a/gui-apps/wlr-randr/wlr-randr-9999.ebuild b/gui-apps/wlr-randr/wlr-randr-9999.ebuild index a2cf2099f3..d1a7f4f9ff 100644 --- a/gui-apps/wlr-randr/wlr-randr-9999.ebuild +++ b/gui-apps/wlr-randr/wlr-randr-9999.ebuild @@ -1,18 +1,18 @@ -# Copyright 2019-2020 Gentoo Authors +# Copyright 2019-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit meson DESCRIPTION="xrandr clone for wlroots compositors" -HOMEPAGE="https://github.com/emersion/wlr-randr" +HOMEPAGE="https://git.sr.ht/~emersion/wlr-randr" if [[ ${PV} == 9999 ]]; then inherit git-r3 - EGIT_REPO_URI="https://github.com/emersion/wlr-randr" + EGIT_REPO_URI="https://git.sr.ht/~emersion/wlr-randr" else - SRC_URI="https://github.com/emersion/wlr-randr/releases/download/v${PV}/${P}.tar.gz" + SRC_URI="https://git.sr.ht/~emersion/wlr-randr/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64" fi