mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 13:33:32 -04:00
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:
1
gui-apps/azote/Manifest
Normal file
1
gui-apps/azote/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST azote-1.8.1.tar.gz 615661 BLAKE2B f742fd037eab1a4ef3d87e1c055b254900151c8006127559cd8188665a01fd5277de4a22da6fd9fad270297fa9f1aab075094e59cc5d21e5ddee4f92bb8be5c5 SHA512 b474718242ab767c50edb6a660c4f2c91378289c6c5ae45e3e1dd37603fa0df56939ad56cf330a6e057edfd9b02f88f0a47b803100ad825dca4da8286214313e
|
||||
67
gui-apps/azote/azote-1.8.1.ebuild
Normal file
67
gui-apps/azote/azote-1.8.1.ebuild
Normal 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
|
||||
}
|
||||
67
gui-apps/azote/azote-9999.ebuild
Normal file
67
gui-apps/azote/azote-9999.ebuild
Normal 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
|
||||
}
|
||||
17
gui-apps/azote/metadata.xml
Normal file
17
gui-apps/azote/metadata.xml
Normal 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>
|
||||
Reference in New Issue
Block a user