commit: 3ea88640c3025a9419013218ddca94f4909b2de4
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Thu Nov 12 18:54:07 2020 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Thu Nov 12 18:54:07 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3ea88640
gui-apps/azote: background setter for wlroots and X
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
gui-apps/azote/Manifest | 1 +
gui-apps/azote/azote-1.8.1.ebuild | 67 +++++++++++++++++++++++++++++++++++++++
gui-apps/azote/azote-9999.ebuild | 67 +++++++++++++++++++++++++++++++++++++++
gui-apps/azote/metadata.xml | 17 ++++++++++
4 files changed, 152 insertions(+)
diff --git a/gui-apps/azote/Manifest b/gui-apps/azote/Manifest
new file mode 100644
index 00000000..ebd938b8
--- /dev/null
+++ b/gui-apps/azote/Manifest
@@ -0,0 +1 @@
+DIST azote-1.8.1.tar.gz 615661 BLAKE2B
f742fd037eab1a4ef3d87e1c055b254900151c8006127559cd8188665a01fd5277de4a22da6fd9fad270297fa9f1aab075094e59cc5d21e5ddee4f92bb8be5c5
SHA512
b474718242ab767c50edb6a660c4f2c91378289c6c5ae45e3e1dd37603fa0df56939ad56cf330a6e057edfd9b02f88f0a47b803100ad825dca4da8286214313e
diff --git a/gui-apps/azote/azote-1.8.1.ebuild
b/gui-apps/azote/azote-1.8.1.ebuild
new file mode 100644
index 00000000..372c9411
--- /dev/null
+++ b/gui-apps/azote/azote-1.8.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit distutils-r1 desktop
+
+DESCRIPTION="wallpaper manager for wlroots compositors"
+HOMEPAGE="https://github.com/nwg-piotr/azote"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/nwg-piotr/azote"
+else
+ SRC_URI="https://github.com/nwg-piotr/azote/archive/v${PV}.tar.gz ->
${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3 BSD"
+SLOT="0"
+IUSE="simple-colorpicker imagemagick wayland X yaml"
+
+RDEPEND="
+ dev-cpp/gtkmm:3.0
+ dev-python/pillow
+ dev-python/pygobject:3=
+ dev-python/send2trash
+ simple-colorpicker? (
+ X? (
+ media-gfx/maim
+ x11-misc/slop
+ )
+ wayland? (
+ gui-apps/grim
+ gui-apps/slurp
+ )
+ )
+ imagemagick? (
+ media-gfx/imagemagick[jpeg,png,svg,X?]
+ )
+ wayland? (
+ gui-apps/swaybg
+ gui-apps/wlr-randr
+ )
+ X? (
+ media-gfx/feh
+ x11-apps/xrandr
+ )
+ yaml? ( dev-python/pyyaml )
+"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ cd "${S}"
+
+ dobin dist/azote
+ domenu dist/azote.desktop
+
+ insinto /usr/share/azote
+ doins dist/azote.svg dist/indicator_{active,attention}.png
+ insinto /usr/share/licenses/azote
+ doins LICENSE-COLORTHIEF
+}
diff --git a/gui-apps/azote/azote-9999.ebuild b/gui-apps/azote/azote-9999.ebuild
new file mode 100644
index 00000000..372c9411
--- /dev/null
+++ b/gui-apps/azote/azote-9999.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit distutils-r1 desktop
+
+DESCRIPTION="wallpaper manager for wlroots compositors"
+HOMEPAGE="https://github.com/nwg-piotr/azote"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/nwg-piotr/azote"
+else
+ SRC_URI="https://github.com/nwg-piotr/azote/archive/v${PV}.tar.gz ->
${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3 BSD"
+SLOT="0"
+IUSE="simple-colorpicker imagemagick wayland X yaml"
+
+RDEPEND="
+ dev-cpp/gtkmm:3.0
+ dev-python/pillow
+ dev-python/pygobject:3=
+ dev-python/send2trash
+ simple-colorpicker? (
+ X? (
+ media-gfx/maim
+ x11-misc/slop
+ )
+ wayland? (
+ gui-apps/grim
+ gui-apps/slurp
+ )
+ )
+ imagemagick? (
+ media-gfx/imagemagick[jpeg,png,svg,X?]
+ )
+ wayland? (
+ gui-apps/swaybg
+ gui-apps/wlr-randr
+ )
+ X? (
+ media-gfx/feh
+ x11-apps/xrandr
+ )
+ yaml? ( dev-python/pyyaml )
+"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ cd "${S}"
+
+ dobin dist/azote
+ domenu dist/azote.desktop
+
+ insinto /usr/share/azote
+ doins dist/azote.svg dist/indicator_{active,attention}.png
+ insinto /usr/share/licenses/azote
+ doins LICENSE-COLORTHIEF
+}
diff --git a/gui-apps/azote/metadata.xml b/gui-apps/azote/metadata.xml
new file mode 100644
index 00000000..7c827e23
--- /dev/null
+++ b/gui-apps/azote/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>[email protected]</email>
+ <name>Aisha Tammy</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>[email protected]</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="imagemagick">enable colorpicker using imagemagick</flag>
+ <flag name="simple-colorpicker">enable colorpicker without
imagemagick</flag>
+ <flag name="yaml">enable support for reading yaml files</flag>
+ </use>
+</pkgmetadata>