mirror of
https://notabug.org/Sages-of-Gensokyo/gensokyo_kappa-overlay
synced 2025-01-18 13:41:14 +01:00
Added trackma MAL client (testing)
Signed-off-by: kuratsune <lightmynx@free.fr>
This commit is contained in:
parent
8e6d619858
commit
8191a11b8d
3
net-misc/trackma/Manifest
Normal file
3
net-misc/trackma/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
DIST trackma-0.7.4.tar.gz 143814 BLAKE2B 8fafa53b4af94a1078e2343b1b309efe8caa058809309ddbdae618b2b3d85fbf001cb73c2556fd50b8946c9d61ddb32d74c3bb5be9bb2c2501b29265a587e2d4 SHA512 88b7eacc6a60fec5b022787337274b95d0fb972dbdd8ffa1a000806612403d8f84a2317e5903ec1ffcdbac91132a960670855991c0885f526fdbc4a1033c3364
|
||||
EBUILD trackma-0.7.4.ebuild 1982 BLAKE2B 613d1ebeb5373c34ad15981ce91f3e7361da68083d18a3cf973c3aa97f60790c5ce350a7549707a1d3420fb14817d16c0da07fd5fe7ce0d9c700d113f846b213 SHA512 b4927b0864f1e94d3fafe92d731e9f835cea28cb1e84778a3571e51cd70338624b3b650fd5b6a6c1f0f8fc2e77068caefd41ec02cad6184dbb8949f482dc9217
|
||||
EBUILD trackma-9999.ebuild 1934 BLAKE2B 539d6871a6f6f0a2c2b7f38b32b8aac572baebef030eee4f92d054abfb78f1b73653ab73eee65c21d015ef4c997a55b1707b1a203a10f0aa143a6839257fd599 SHA512 7bc242e65fc0fe8c109c3fd449fe57a91bc14d51fbc1780f48bc8034c8d3902dcf388af2598c14b585e506835b60f841871f016f23f31ce3e7fe3caab1c64544
|
61
net-misc/trackma/trackma-0.7.4.ebuild
Normal file
61
net-misc/trackma/trackma-0.7.4.ebuild
Normal file
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{3_4,3_5} )
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Open multi-site list manager for media tracking sites"
|
||||
HOMEPAGE="https://github.com/z411/trackma"
|
||||
SRC_URI="https://github.com/z411/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+ncurses cli gtk inotify qt5"
|
||||
REQUIRED_USE="|| ( cli gtk ncurses qt5 )"
|
||||
|
||||
DEPEND="ncurses? ( dev-python/urwid[${PYTHON_USEDEP}] )
|
||||
gtk? (
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP},cairo]
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
)
|
||||
qt5? (
|
||||
dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
)"
|
||||
RDEPEND="sys-process/lsof
|
||||
inotify? ( || ( dev-python/inotifyx dev-python/pyinotify ) )
|
||||
${DEPEND}"
|
||||
|
||||
python_configure_all() {
|
||||
sed -i -e '/trackma-qt4/d' "${S}/setup.py" || die
|
||||
rm "${S}/trackma/ui/qt4ui.py" || die
|
||||
if ! use qt5; then
|
||||
sed -i -e '/trackma-qt/d' "${S}/setup.py" || die
|
||||
rm "${S}/trackma/ui/qtui.py" || die
|
||||
fi
|
||||
if ! use gtk; then
|
||||
sed -i -e '/trackma-gtk/d' "${S}/setup.py" || die
|
||||
rm "${S}/trackma/ui/gtkui.py" || die
|
||||
fi
|
||||
if ! use ncurses; then
|
||||
sed -i -e '/trackma-curses/d' "${S}/setup.py" || die
|
||||
rm "${S}/trackma/ui/curses.py" || die
|
||||
fi
|
||||
if ! use cli; then
|
||||
sed -i -e '/trackma.ui.cli:main/d' "${S}/setup.py" || die
|
||||
rm "${S}/trackma/ui/cli.py" || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
newicon "${S}/trackma/data/icon.png" trackma.png
|
||||
use cli && make_desktop_entry "${PN}" "${PN^} (cli)" "${PN}" "Network" "Terminal=true"
|
||||
use ncurses && make_desktop_entry "${PN}-curses" "${PN^} (ncurses)" "${PN}" "Network" "Terminal=true"
|
||||
use gtk && make_desktop_entry "${PN}-gtk" "${PN^} (gtk3)" "${PN}" "Network" "StartupWMClass=trackma-gtk3"
|
||||
use qt5 && make_desktop_entry "${PN}-qt" "${PN^} (qt5)" "${PN}" "Network" "StartupWMClass=trackma-qt5"
|
||||
}
|
60
net-misc/trackma/trackma-9999.ebuild
Normal file
60
net-misc/trackma/trackma-9999.ebuild
Normal file
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{3_4,3_5} )
|
||||
|
||||
inherit distutils-r1 eutils git-r3
|
||||
|
||||
DESCRIPTION="Open multi-site list manager for media tracking sites"
|
||||
HOMEPAGE="https://github.com/z411/trackma"
|
||||
EGIT_REPO_URI="https://github.com/z411/${PN}"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="+ncurses cli gtk inotify qt5"
|
||||
REQUIRED_USE="|| ( cli gtk ncurses qt5 )"
|
||||
|
||||
DEPEND="ncurses? ( dev-python/urwid[${PYTHON_USEDEP}] )
|
||||
gtk? (
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
)
|
||||
qt5? (
|
||||
dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
)"
|
||||
RDEPEND="sys-process/lsof
|
||||
inotify? ( || ( dev-python/inotifyx dev-python/pyinotify ) )
|
||||
${DEPEND}"
|
||||
|
||||
python_configure_all() {
|
||||
sed -i -e '/trackma-qt4/d' "${S}/setup.py" || die
|
||||
rm "${S}/trackma/ui/qt4ui.py" || die
|
||||
if ! use qt5; then
|
||||
sed -i -e '/trackma-qt/d' "${S}/setup.py" || die
|
||||
rm "${S}/trackma/ui/qtui.py" || die
|
||||
fi
|
||||
if ! use gtk; then
|
||||
sed -i -e '/trackma-gtk/d' "${S}/setup.py" || die
|
||||
rm "${S}/trackma/ui/gtkui.py" || die
|
||||
fi
|
||||
if ! use ncurses; then
|
||||
sed -i -e '/trackma-curses/d' "${S}/setup.py" || die
|
||||
rm "${S}/trackma/ui/curses.py" || die
|
||||
fi
|
||||
if ! use cli; then
|
||||
sed -i -e '/trackma.ui.cli:main/d' "${S}/setup.py" || die
|
||||
rm "${S}/trackma/ui/cli.py" || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
newicon "${S}/trackma/data/icon.png" trackma.png
|
||||
use cli && make_desktop_entry "${PN}" "${PN^} (cli)" "${PN}" "Network" "Terminal=true"
|
||||
use ncurses && make_desktop_entry "${PN}-curses" "${PN^} (ncurses)" "${PN}" "Network" "Terminal=true"
|
||||
use gtk && make_desktop_entry "${PN}-gtk" "${PN^} (gtk3)" "${PN}" "Network" "StartupWMClass=trackma-gtk3"
|
||||
use qt5 && make_desktop_entry "${PN}-qt" "${PN^} (qt5)" "${PN}" "Network" "StartupWMClass=trackma-qt5"
|
||||
}
|
Loading…
Reference in New Issue
Block a user