1 # Copyright © 2020 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.
9 PYTHON_COMPAT=( python2_7 )
11 inherit python-single-r1 multilib
13 DESCRIPTION="GIMP plug-in that exports layers as separate images"
14 HOMEPAGE="https://khalim19.github.io/gimp-plugin-export-layers/"
15 SRC_URI="https://github.com/khalim19/$PN/archive/$PV.tar.gz -> $P.tar.gz"
19 KEYWORDS="~amd64 ~x86"
20 REQUIRED_USE=$PYTHON_REQUIRED_USE
25 media-plugins/gimp-python[$PYTHON_SINGLE_USEDEP]
26 media-gfx/gimp[python(-),$PYTHON_SINGLE_USEDEP] )"
29 local plugindir=/usr/$(get_libdir)/gimp/2.0/plug-ins
32 python_moduleinto "$plugindir"
33 python_domodule export_layers
36 doexe export_layers.py