X-Git-Url: https://git.draconx.ca/gitweb/gentoo-draconx.git/blobdiff_plain/fb04559bd5a8b69fc08321e3463d5a56af36a70d..7bc8b37caf4c1ef42dcf703b8701139edbae017d:/media-plugins/gimp-plugin-export-layers/gimp-plugin-export-layers-3.3.1-r1.ebuild diff --git a/media-plugins/gimp-plugin-export-layers/gimp-plugin-export-layers-3.3.1-r1.ebuild b/media-plugins/gimp-plugin-export-layers/gimp-plugin-export-layers-3.3.1-r1.ebuild new file mode 100644 index 0000000..cc0b94d --- /dev/null +++ b/media-plugins/gimp-plugin-export-layers/gimp-plugin-export-layers-3.3.1-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright © 2020 Nick Bowler +# +# License GPLv3+: GNU General Public License version 3 or any later version. +# This is free software: you are free to change and redistribute it. +# There is NO WARRANTY, to the extent permitted by law. + +EAPI=7 + +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 multilib + +DESCRIPTION="GIMP plug-in that exports layers as separate images" +HOMEPAGE="https://khalim19.github.io/gimp-plugin-export-layers/" +SRC_URI="https://github.com/khalim19/$PN/archive/$PV.tar.gz -> $P.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +REQUIRED_USE=$PYTHON_REQUIRED_USE + +DEPEND=$PYTHON_DEPS +RDEPEND="$DEPEND + || ( + media-plugins/gimp-python[$PYTHON_SINGLE_USEDEP] + media-gfx/gimp[python(-),$PYTHON_SINGLE_USEDEP] )" + +src_install () { + local plugindir=/usr/$(get_libdir)/gimp/2.0/plug-ins + default + + python_moduleinto "$plugindir" + python_domodule export_layers + + exeinto "$plugindir" + doexe export_layers.py +}