gui-apps/wdisplays: Port patch to 9999

Port patch for version 1.0 to the live ebuild, I thought upstream
would've pulled the PR already.
Add GitHub link to HOMEPAGE.
Fixed style to recommendations for proxy-maint ebuilds.

Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Matthias Coppens <coppens.matthias.abc@gmail.com>
This commit is contained in:
Matthias Coppens
2020-09-10 13:43:14 +02:00
parent 889df21f0e
commit fb574fa21e
2 changed files with 21 additions and 21 deletions

View File

@@ -3,19 +3,18 @@
EAPI=7
EGIT_REPO_URI="https://github.com/cyclopsian/${PN}"
case "${PV}" in
"9999")
inherit git-r3
;;
*)
SRC_URI="${EGIT_REPO_URI}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
esac
if [[ "${PV}" == 9999 ]]
then
inherit git-r3
EGIT_REPO_URI="https://github.com/cyclopsian/wdisplays.git"
else
SRC_URI="https://github.com/cyclopsian/wdisplays/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
inherit meson xdg
DESCRIPTION="GUI display configurator for wlroots compositors"
HOMEPAGE="https://cyclopsian.github.io/${PN}"
HOMEPAGE="https://cyclopsian.github.io/wdisplays https://github.com/cyclopsian/wdisplays"
BDEPEND="
x11-libs/gtk+:3[wayland]
@@ -25,4 +24,4 @@ DEPEND="${BDEPEND}"
LICENSE="GPL-3+"
SLOT="0"
PATCHES=("${FILESDIR}/${P}-pull20.patch")
PATCHES=("${FILESDIR}/${PN}-1.0-pull20.patch")

View File

@@ -3,19 +3,18 @@
EAPI=7
EGIT_REPO_URI="https://github.com/cyclopsian/${PN}"
case "${PV}" in
"9999")
inherit git-r3
;;
*)
SRC_URI="${EGIT_REPO_URI}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
esac
if [[ "${PV}" == 9999 ]]
then
inherit git-r3
EGIT_REPO_URI="https://github.com/cyclopsian/wdisplays.git"
else
SRC_URI="https://github.com/cyclopsian/wdisplays/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
inherit meson xdg
DESCRIPTION="GUI display configurator for wlroots compositors"
HOMEPAGE="https://cyclopsian.github.io/${PN}"
HOMEPAGE="https://cyclopsian.github.io/wdisplays https://github.com/cyclopsian/wdisplays"
BDEPEND="
x11-libs/gtk+:3[wayland]
@@ -24,3 +23,5 @@ DEPEND="${BDEPEND}"
LICENSE="GPL-3+"
SLOT="0"
PATCHES=("${FILESDIR}/${PN}-1.0-pull20.patch")