diff options
author | Vitaly Zdanevich <zdanevich.vitaly@ya.ru> | 2024-05-21 06:39:47 +0400 |
---|---|---|
committer | Vitaly Zdanevich <zdanevich.vitaly@ya.ru> | 2024-05-21 06:39:47 +0400 |
commit | 4cf9b1d55f513baeac29d700832c0aa319bee2cc (patch) | |
tree | d244287e4f332429e3686c0cf9bb63ae61d431eb /media-plugins | |
parent | dev-lua/multipart-post: new package (diff) | |
download | guru-4cf9b1d55f513baeac29d700832c0aa319bee2cc.tar.gz guru-4cf9b1d55f513baeac29d700832c0aa319bee2cc.tar.bz2 guru-4cf9b1d55f513baeac29d700832c0aa319bee2cc.zip |
media-plugins/dtmediawiki: new package
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/dtmediawiki/dtmediawiki-9999.ebuild | 31 | ||||
-rw-r--r-- | media-plugins/dtmediawiki/files/enable.sh | 1 | ||||
-rw-r--r-- | media-plugins/dtmediawiki/metadata.xml | 11 |
3 files changed, 43 insertions, 0 deletions
diff --git a/media-plugins/dtmediawiki/dtmediawiki-9999.ebuild b/media-plugins/dtmediawiki/dtmediawiki-9999.ebuild new file mode 100644 index 000000000..184e2b708 --- /dev/null +++ b/media-plugins/dtmediawiki/dtmediawiki-9999.ebuild @@ -0,0 +1,31 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit git-r3 + +DESCRIPTION="Wikimedia Commons export plugin for Darktable" +HOMEPAGE="https://github.com/trougnouf/dtMediaWiki" +EGIT_REPO_URI="https://github.com/trougnouf/dtMediaWiki" + +LICENSE="GPL-3" +SLOT="0" + +RDEPEND=" + media-gfx/darktable[lua] + dev-lua/luasec[lua_targets_lua5-4] + dev-lua/luajson[lua_targets_lua5-4] + dev-lua/multipart-post[lua_targets_lua5-4] +" + +src_install() { + insinto /usr/share/darktable/lua/contrib/dtMediaWiki + doins -r * +} + +pkg_postinst() { + einfo "To enable: `cat "$FILESDIR"/enable.sh`" + einfo "and go to Darktable preferences (gear ico on the top) -> at the bottom left click 'Lua options'" + einfo "to enter username and password" +} diff --git a/media-plugins/dtmediawiki/files/enable.sh b/media-plugins/dtmediawiki/files/enable.sh new file mode 100644 index 000000000..c37d6f999 --- /dev/null +++ b/media-plugins/dtmediawiki/files/enable.sh @@ -0,0 +1 @@ +echo 'require "contrib/dtMediaWiki/dtMediaWiki"' >> ~/.config/darktable/luarc diff --git a/media-plugins/dtmediawiki/metadata.xml b/media-plugins/dtmediawiki/metadata.xml new file mode 100644 index 000000000..03c3c5219 --- /dev/null +++ b/media-plugins/dtmediawiki/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zdanevich.vitaly@ya.ru</email> + <name>Vitaly Zdanevich</name> + </maintainer> + <upstream> + <remote-id type="github">trougnouf/dtMediaWiki</remote-id> + </upstream> +</pkgmetadata> |