gui-apps/wlr-randr: add 0.3.0, update url to sourcehut

Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
This commit is contained in:
Aisha Tammy
2023-02-24 08:33:04 -05:00
parent 099b63066c
commit c4b51c43c5
4 changed files with 47 additions and 9 deletions

View File

@@ -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

View File

@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo@aisha.cc</email>
<name>Aisha Tammy</name>
</maintainer>
<maintainer type="person">
<email>gentoo@aisha.cc</email>
<name>Aisha Tammy</name>
</maintainer>
<upstream>
<remote-id type="sourcehut">emersion/wlr-randr</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -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
}

View File

@@ -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