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@aisha.cc>
This commit is contained in:
Aisha Tammy
2020-11-12 13:54:07 -05:00
parent b6c5f2a1d0
commit 3ea88640c3
4 changed files with 152 additions and 0 deletions

1
gui-apps/azote/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST azote-1.8.1.tar.gz 615661 BLAKE2B f742fd037eab1a4ef3d87e1c055b254900151c8006127559cd8188665a01fd5277de4a22da6fd9fad270297fa9f1aab075094e59cc5d21e5ddee4f92bb8be5c5 SHA512 b474718242ab767c50edb6a660c4f2c91378289c6c5ae45e3e1dd37603fa0df56939ad56cf330a6e057edfd9b02f88f0a47b803100ad825dca4da8286214313e

View File

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

View File

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

View File

@@ -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>gentoo@aisha.cc</email>
<name>Aisha Tammy</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</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>