diff options
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> |