New plchat version
parent
b1e0a4b0ee
commit
4303ccf4de
|
@ -1,2 +1,4 @@
|
||||||
DIST plchat-1.0.2.tar.gz 55689 BLAKE2B d115eac725af782db64f7a96bb0fee90c1a3eb038c4010b1f4938196c3d5d78305cb5c697a7f2c46033130073978f51dfad8d34fe4b74a67e7e12ee195ad201e SHA512 5c69d34cb70d9d96b3123b6b3d13c46cad887988a7b8f2af8ae625c733a4dedd7c08bf0be38b72dba82d946b79a18e7e95d08bf9c77f323ea84591b2fc48e957
|
DIST plchat-1.0.2.tar.gz 55689 BLAKE2B d115eac725af782db64f7a96bb0fee90c1a3eb038c4010b1f4938196c3d5d78305cb5c697a7f2c46033130073978f51dfad8d34fe4b74a67e7e12ee195ad201e SHA512 5c69d34cb70d9d96b3123b6b3d13c46cad887988a7b8f2af8ae625c733a4dedd7c08bf0be38b72dba82d946b79a18e7e95d08bf9c77f323ea84591b2fc48e957
|
||||||
|
DIST plchat-1.0.3.tar.gz 499734 BLAKE2B ef7a66c6dd3308e5ff05e3583b368d4d98796021645a8242a62ea45717b4e88a370c3b8cd2d04fd469b8027aba739267eb1e550e5b4eed51f470e6e3fb3e5431 SHA512 5fc013b0a4a5ab3f1441026d65c3e01f4f80a9f94ebc6281519374b58c8e1c582233221d0bf0fb4101db961ab674040a06a2226b9191ce1b1147c483962ed76a
|
||||||
EBUILD plchat-1.0.2.ebuild 3520 BLAKE2B 0edbc91c07d423390695ca319052d7db1845f78a50361070514dd56adde01a13edaf74b03906cdc1f2a0d529d5b1496b0bda9e56dd3be104d99c336a3fe77d2a SHA512 7465a5122921d0dd58deea892917b2505f4b938cc644c3df9fc0144c38c7065598c6f7ee48fe42a78531cf4d1b665e7729cb10db32eb885e9bd359745c6f5c0d
|
EBUILD plchat-1.0.2.ebuild 3520 BLAKE2B 0edbc91c07d423390695ca319052d7db1845f78a50361070514dd56adde01a13edaf74b03906cdc1f2a0d529d5b1496b0bda9e56dd3be104d99c336a3fe77d2a SHA512 7465a5122921d0dd58deea892917b2505f4b938cc644c3df9fc0144c38c7065598c6f7ee48fe42a78531cf4d1b665e7729cb10db32eb885e9bd359745c6f5c0d
|
||||||
|
EBUILD plchat-1.0.3.ebuild 3559 BLAKE2B 9a41e188f1835be1b408eb05b6b5762fd35e06b50b94348fd82ae6a4219c72a79305e8e882f144a7e6dd7e18228d6a7061a809e9b922bef4e59077f4f22525db SHA512 c6a5c67539edefe5413921329bea224a721a3b7311e71cdd387afae3fc5dab3922776b01e3ec75da76fd3dde48932a41b6c7cc0fba8ca8a9a588afa53311fa78
|
||||||
|
|
|
@ -0,0 +1,101 @@
|
||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DESCRIPTION="A Pleroma Chat client in PyQt5."
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{7..9} )
|
||||||
|
inherit python-single-r1
|
||||||
|
|
||||||
|
HOMEPAGE="https://git.waldn.net/git/knotteye/plchat"
|
||||||
|
|
||||||
|
SRC_URI="https://git.waldn.net/git/knotteye/plchat/archive/1.0.3.tar.gz -> plchat-1.0.3.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~x86 ~arm ~arm64"
|
||||||
|
|
||||||
|
IUSE="+system-libs"
|
||||||
|
|
||||||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||||
|
|
||||||
|
# dev-python/python-magic $(python_gen_useflags 'python3*')
|
||||||
|
# dev-python/python-dateutil $(python_gen_useflags 'python3*')
|
||||||
|
# dev-python/websockets $(python_gen_useflags 'python3*')
|
||||||
|
# dev-python/keyring $(python_gen_useflags 'python3*')
|
||||||
|
# dev-python/notify-py $(python_gen_useflags 'python3*')
|
||||||
|
# dev-python/appdirs $(python_gen_useflags 'python3*')
|
||||||
|
# dev-python/requests $(python_gen_useflags 'python3*')
|
||||||
|
# dev-python/urllib3 $(python_gen_useflags 'python3*')
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
$(python_gen_impl_dep)
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
$(python_gen_cond_dep 'dev-python/PyQt5[widgets,multimedia,${PYTHON_USEDEP}]')
|
||||||
|
$(python_gen_cond_dep 'dev-python/PyQt5-sip[${PYTHON_USEDEP}]')
|
||||||
|
media-libs/gst-plugins-base
|
||||||
|
media-libs/gst-plugins-good
|
||||||
|
media-libs/gst-plugins-bad
|
||||||
|
media-libs/gst-plugins-ugly
|
||||||
|
media-plugins/gst-plugins-neon
|
||||||
|
media-plugins/gst-plugins-soup
|
||||||
|
media-plugins/gst-plugins-libav
|
||||||
|
|
||||||
|
system-libs? (
|
||||||
|
$(python_gen_cond_dep 'dev-python/python-magic[${PYTHON_USEDEP}]')
|
||||||
|
$(python_gen_cond_dep 'dev-python/python-dateutil[${PYTHON_USEDEP}]')
|
||||||
|
$(python_gen_cond_dep 'dev-python/websockets[${PYTHON_USEDEP}]')
|
||||||
|
$(python_gen_cond_dep 'dev-python/keyring[${PYTHON_USEDEP}]')
|
||||||
|
$(python_gen_cond_dep 'dev-python/notify-py[${PYTHON_USEDEP}]')
|
||||||
|
$(python_gen_cond_dep 'dev-python/appdirs[${PYTHON_USEDEP}]')
|
||||||
|
$(python_gen_cond_dep 'dev-python/requests[${PYTHON_USEDEP}]')
|
||||||
|
$(python_gen_cond_dep 'dev-python/urllib3[${PYTHON_USEDEP}]')
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
>=sys-devel/gcc-5.1.0
|
||||||
|
$(python_gen_cond_dep 'dev-python/nuitka[${PYTHON_USEDEP}]')
|
||||||
|
|
||||||
|
!system-libs? (
|
||||||
|
$(python_gen_cond_dep 'dev-python/python-magic[${PYTHON_USEDEP}]')
|
||||||
|
$(python_gen_cond_dep 'dev-python/python-dateutil[${PYTHON_USEDEP}]')
|
||||||
|
$(python_gen_cond_dep 'dev-python/websockets[${PYTHON_USEDEP}]')
|
||||||
|
$(python_gen_cond_dep 'dev-python/keyring[${PYTHON_USEDEP}]')
|
||||||
|
$(python_gen_cond_dep 'dev-python/notify-py[${PYTHON_USEDEP}]')
|
||||||
|
$(python_gen_cond_dep 'dev-python/appdirs[${PYTHON_USEDEP}]')
|
||||||
|
$(python_gen_cond_dep 'dev-python/requests[${PYTHON_USEDEP}]')
|
||||||
|
$(python_gen_cond_dep 'dev-python/urllib3[${PYTHON_USEDEP}]')
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
unpack 'plchat-1.0.3.tar.gz'
|
||||||
|
mv 'plchat' 'plchat-1.0.3'
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
if use system-libs; then
|
||||||
|
"${PYTHON}" -m nuitka --file-reference-choice=runtime --nofollow-imports --follow-import-to=misc --follow-import-to=monkeypatch --follow-import-to=pleroma --follow-import-to=timeconvert --follow-import-to=videowidget --follow-import-to=audiowidget --python-flag=-O -o plchat plchat.py
|
||||||
|
else
|
||||||
|
"${PYTHON}" -m nuitka --file-reference-choice=runtime --follow-imports --include-module=certifi --include-module=keyring.backends.kwallet --include-module=keyring.backends.chainer --enable-plugin=qt-plugins --include-qt-plugins=all --python-flag=-O -o plchat plchat.py
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /$(get_libdir)/plchat/bin
|
||||||
|
into /$(get_libdir)/plchat
|
||||||
|
doins fedi.ico
|
||||||
|
doins fedi.svg
|
||||||
|
doins send.svg
|
||||||
|
doins unread.svg
|
||||||
|
doins notif.wav
|
||||||
|
doins fedi_color.svg
|
||||||
|
dobin plchat
|
||||||
|
dosym /$(get_libdir)/plchat/bin/plchat /usr/bin/plchat
|
||||||
|
}
|
Loading…
Reference in New Issue