commit: a2c106a2f01fcb3bdc49ad0c5d9171eee0fdbdf2
Author: Charbel Assaad <sydiepus <AT> gmail <DOT> com>
AuthorDate: Wed Oct 12 09:55:28 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 24 07:55:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2c106a2
x11-wm/qtile: add 0.22.1, 9999
- Add 0.22.1
- Add 9999
- Use qtile-wayland.desktop provided by the package instead of the one provided
by the ebuild for qtile-0.21.0-r1.ebuild
Signed-off-by: Charbel Assaad <sydiepus <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
x11-wm/qtile/Manifest | 1 +
x11-wm/qtile/files/qtile.desktop | 6 ------
x11-wm/qtile/qtile-0.21.0-r1.ebuild | 2 +-
x11-wm/qtile/{qtile-0.21.0-r1.ebuild => qtile-0.22.1.ebuild} | 12 +++++++++---
x11-wm/qtile/{qtile-0.21.0-r1.ebuild => qtile-9999.ebuild} | 12 +++++++++---
5 files changed, 20 insertions(+), 13 deletions(-)
diff --git a/x11-wm/qtile/Manifest b/x11-wm/qtile/Manifest
index 23e4e78ebf39..75d09b99af46 100644
--- a/x11-wm/qtile/Manifest
+++ b/x11-wm/qtile/Manifest
@@ -1 +1,2 @@
DIST qtile-0.21.0.tar.gz 475428 BLAKE2B
8c63eb8776fb6feab30c7ee2a19e6f28df6715fc18b09c63b89de6bf2129cd3c5c516d0c9efc946f24590fa8afc6e87c704c8e3b7094d0843b5b6e34df57ca18
SHA512
b7c5fc478180413e263445316ac9560c1d22668194415c3e4edae5c672f4b317fd978083dc9a985f0d145aeaaa55ffab0017e83af963f30d8b36f9963e12b079
+DIST qtile-0.22.1.tar.gz 488969 BLAKE2B
3b2fce587ae39570997b503cb386314160dbefa39b1ef65dc2ff5bc2f1167251224a0f298ef8e374d0d4c034d1e5012251f96b92ce5cb74d7fd93320e14ff8bf
SHA512
944ec27b5d227154624fa2a15a0840b748307a1e79ab52ccf3384763111459b3c4d26b4677f8e2ea51634206dc6d1e32e057e057db917b3705ce583d83a8056d
diff --git a/x11-wm/qtile/files/qtile.desktop b/x11-wm/qtile/files/qtile.desktop
deleted file mode 100644
index 5b00f85a88c0..000000000000
--- a/x11-wm/qtile/files/qtile.desktop
+++ /dev/null
@@ -1,6 +0,0 @@
-[Desktop Entry]
-Name=Qtile
-Comment=Qtile Wayland Session
-Exec=qtile start -b wayland
-Type=Application
-Keywords=wm;tiling
diff --git a/x11-wm/qtile/qtile-0.21.0-r1.ebuild
b/x11-wm/qtile/qtile-0.21.0-r1.ebuild
index 4bdd86e614c8..139993950102 100644
--- a/x11-wm/qtile/qtile-0.21.0-r1.ebuild
+++ b/x11-wm/qtile/qtile-0.21.0-r1.ebuild
@@ -66,7 +66,7 @@ python_install_all() {
doins resources/qtile.desktop
insinto /usr/share/wayland-sessions
- doins "${FILESDIR}"/qtile.desktop
+ doins resources/qtile-wayland.desktop
exeinto /etc/X11/Sessions
newexe "${FILESDIR}"/${PN}-session-r1 ${PN}
diff --git a/x11-wm/qtile/qtile-0.21.0-r1.ebuild
b/x11-wm/qtile/qtile-0.22.1.ebuild
similarity index 87%
copy from x11-wm/qtile/qtile-0.21.0-r1.ebuild
copy to x11-wm/qtile/qtile-0.22.1.ebuild
index 4bdd86e614c8..11d0d1fd538d 100644
--- a/x11-wm/qtile/qtile-0.21.0-r1.ebuild
+++ b/x11-wm/qtile/qtile-0.22.1.ebuild
@@ -10,11 +10,17 @@ inherit distutils-r1 virtualx
DESCRIPTION="A full-featured, hackable tiling window manager written in Python"
HOMEPAGE="http://qtile.org/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/qtile/qtile.git"
+else
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~riscv ~x86"
+fi
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 ~riscv ~x86"
RDEPEND=">=dev-python/cairocffi-0.9.0[${PYTHON_USEDEP}]
>=dev-python/cffi-1.1.0[${PYTHON_USEDEP}]
@@ -66,7 +72,7 @@ python_install_all() {
doins resources/qtile.desktop
insinto /usr/share/wayland-sessions
- doins "${FILESDIR}"/qtile.desktop
+ doins resources/qtile-wayland.desktop
exeinto /etc/X11/Sessions
newexe "${FILESDIR}"/${PN}-session-r1 ${PN}
diff --git a/x11-wm/qtile/qtile-0.21.0-r1.ebuild
b/x11-wm/qtile/qtile-9999.ebuild
similarity index 87%
copy from x11-wm/qtile/qtile-0.21.0-r1.ebuild
copy to x11-wm/qtile/qtile-9999.ebuild
index 4bdd86e614c8..11d0d1fd538d 100644
--- a/x11-wm/qtile/qtile-0.21.0-r1.ebuild
+++ b/x11-wm/qtile/qtile-9999.ebuild
@@ -10,11 +10,17 @@ inherit distutils-r1 virtualx
DESCRIPTION="A full-featured, hackable tiling window manager written in Python"
HOMEPAGE="http://qtile.org/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/qtile/qtile.git"
+else
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~riscv ~x86"
+fi
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 ~riscv ~x86"
RDEPEND=">=dev-python/cairocffi-0.9.0[${PYTHON_USEDEP}]
>=dev-python/cffi-1.1.0[${PYTHON_USEDEP}]
@@ -66,7 +72,7 @@ python_install_all() {
doins resources/qtile.desktop
insinto /usr/share/wayland-sessions
- doins "${FILESDIR}"/qtile.desktop
+ doins resources/qtile-wayland.desktop
exeinto /etc/X11/Sessions
newexe "${FILESDIR}"/${PN}-session-r1 ${PN}