1 # Copyright © 2020-2021 Nick Bowler
3 # License GPLv3+: GNU General Public License version 3 or any later version.
4 # This is free software: you are free to change and redistribute it.
5 # There is NO WARRANTY, to the extent permitted by law.
10 PYTHON_COMPAT=( python2_7 )
12 inherit python-single-r1 multilib
14 DESCRIPTION="GIMP plug-in that exports layers as separate images"
15 HOMEPAGE="https://khalim19.github.io/gimp-plugin-export-layers/"
16 SRC_URI="https://github.com/khalim19/$PN/archive/$PV.tar.gz -> $P.tar.gz"
20 KEYWORDS="~amd64 ~x86"
21 REQUIRED_USE=$PYTHON_REQUIRED_USE
26 media-plugins/gimp-python[$PYTHON_SINGLE_USEDEP]
27 media-gfx/gimp[python(-),$PYTHON_SINGLE_USEDEP] )"
30 local plugindir=/usr/$(get_libdir)/gimp/2.0/plug-ins
33 python_moduleinto "$plugindir"
34 python_domodule export_layers
37 doexe export_layers.py