mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 04:53:07 -04:00
media-plugins/dtmediawiki: new package
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
This commit is contained in:
31
media-plugins/dtmediawiki/dtmediawiki-9999.ebuild
Normal file
31
media-plugins/dtmediawiki/dtmediawiki-9999.ebuild
Normal file
@@ -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"
|
||||||
|
}
|
||||||
1
media-plugins/dtmediawiki/files/enable.sh
Normal file
1
media-plugins/dtmediawiki/files/enable.sh
Normal file
@@ -0,0 +1 @@
|
|||||||
|
echo 'require "contrib/dtMediaWiki/dtMediaWiki"' >> ~/.config/darktable/luarc
|
||||||
11
media-plugins/dtmediawiki/metadata.xml
Normal file
11
media-plugins/dtmediawiki/metadata.xml
Normal file
@@ -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>
|
||||||
Reference in New Issue
Block a user