Merge updates from master

This commit is contained in:
Repository mirror & CI
2020-04-02 11:06:41 +00:00
22 changed files with 412 additions and 71 deletions

View File

@@ -0,0 +1 @@
DIST fake-useragent-0.1.11.tar.gz 20989 BLAKE2B affa8cb9c6102076ed19429310ed870d2ebb6f3948ddd12508c80e27648bdcd502c3e5b04e836b0be4ac5e1cd6e400054d5a3d1d9d721298cfa1d9ad4161d6fd SHA512 f73e1348af2694469a22a4cc91e9a5d57cce33b969d016903fc7fb4f91375ea5b24a5835cff38181f53dd92794d5606f52822e06d43801c0442f2b389378b2d2

View File

@@ -0,0 +1,64 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="Up to date simple useragent faker with real world database"
HOMEPAGE="
https://github.com/hellysmile/fake-useragent
https://pypi.org/project/fake-useragent
"
SRC_URI="https://github.com/hellysmile/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/appdirs[${PYTHON_USEDEP}]
dev-python/decorator[${PYTHON_USEDEP}]
dev-python/funcsigs[${PYTHON_USEDEP}]
dev-python/ipdb[${PYTHON_USEDEP}]
dev-python/ipython[${PYTHON_USEDEP}]
dev-python/ipython_genutils[${PYTHON_USEDEP}]
dev-python/isort[${PYTHON_USEDEP}]
dev-python/mccabe[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/pathlib2[${PYTHON_USEDEP}]
dev-python/pexpect[${PYTHON_USEDEP}]
dev-python/pickleshare[${PYTHON_USEDEP}]
dev-python/pluggy[${PYTHON_USEDEP}]
dev-python/prompt_toolkit[${PYTHON_USEDEP}]
dev-python/ptyprocess[${PYTHON_USEDEP}]
dev-python/py[${PYTHON_USEDEP}]
dev-python/pycodestyle[${PYTHON_USEDEP}]
dev-python/pyflakes[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
dev-python/pyparsing[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/scandir[${PYTHON_USEDEP}]
dev-python/simplegeneric[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/traitlets[${PYTHON_USEDEP}]
dev-python/wcwidth[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
python_prepare_all() {
# do not depend on pytest-cov
sed -i -e '/addopts/d' pytest.ini || die
# skip online tests
rm tests/test_fake.py || die
rm tests/test_utils.py || die
distutils-r1_python_prepare_all
}
distutils_enable_tests pytest
distutils_enable_sphinx docs --no-autodoc

View File

@@ -0,0 +1,17 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<longdescription lang="en">
Features
grabs up to date useragent from useragentstring.com
randomize with real world statistic via w3schools.com
</longdescription>
<upstream>
<remote-id type="pypi">fake-useragent</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST googletransx-2.4.2.tar.gz 13967 BLAKE2B 4ba5d043f428e48c4a1e7fd5932b346149fa7a5f14f5e97f79aa52de8be22658697aaf112eea931793ae006aa0e23a4771e538067a0f6d2e75fdeff71df221e3 SHA512 d68d3ae0bf250464438831e97c5ab87484100302ccb92da929218fe42d00c572770c4083919916b537f40b2ea5b33197fb2c69197cc541da28977027be86ceb5

View File

@@ -0,0 +1,23 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{6,7} )
#DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
DESCRIPTION="Free Google Translate API for Python. Translates totally free of charge."
HOMEPAGE="https://pypi.org/project/googletransx"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"

View File

@@ -0,0 +1,42 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<longdescription lang="en">
Googletrans is a free and unlimited python library that implemented Google Translate API. This uses the Google Translate Ajax API to make calls to such methods as detect and translate.
Compatible with Python 2.7+ and 3.4+. (Note: Python 2 support will be dropped in the next major release.)
For details refer to the API Documentation.
Features
Fast and reliable - it uses the same servers that translate.google.com uses
Auto language detection
Bulk translations
Customizable service URL
Connection pooling (the advantage of using requests.Session)
HTTP/2 support
TODO
more features are coming soon.
Proxy support
Internal session management (for better bulk translations)
HTTP/2 support
This is a great deal for everyone! (up to 2x times faster in my test) If you want to get googletrans faster you should install hyper package. Googletrans will automatically detect if hyper is installed and if so, it will be used for http networking.
How does this library work
You may wonder why this library works properly, whereas other approaches such like goslate wont work since Google has updated its translation service recently with a ticket mechanism to prevent a lot of crawler programs.
I eventually figure out a way to generate a ticket by reverse engineering on the obfuscated and minified code used by Google to generate such token, and implemented on the top of Python. However, this could be blocked at any time.
</longdescription>
<upstream>
<remote-id type="pypi">googletransx</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -20,6 +20,9 @@ LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
#https://github.com/ionelmc/python-hunter/issues/82
RESTRICT="test"
RDEPEND="
dev-python/colorama[${PYTHON_USEDEP}]
"

View File

@@ -22,6 +22,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
#majority of test works but I can't exclude the failing one easily
RESTRICT="test"
RDEPEND=""
@@ -33,12 +34,18 @@ DEPEND="
dev-python/process-tests[${PYTHON_USEDEP}]
dev-python/pytest-travis-fold[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
www-servers/uwsgi[python,python_gevent,${PYTHON_USEDEP}]
)
"
# www-servers/uwsgi[python,python_gevent,${PYTHON_USEDEP}]
S="${WORKDIR}/${MYPN}-${PV}"
#src_prepare() {
# #wsgi test require network
# rm tests/wsgi.py || die
# default
#}
distutils_enable_tests pytest
distutils_enable_sphinx docs \
dev-python/sphinx-py3doc-enhanced-theme \

View File

@@ -1 +1 @@
DIST mkdocs-git-revision-date-localized-plugin-0.4.6.tar.gz 73632 BLAKE2B 4a8df23409be8e2059fb025a77e20bdf36cdf2696f0b4d86fff3b5157d6836612e8d92ad570ceb5235c70f81219c9405f6efabd33e4d4791377f1ff555729f36 SHA512 c8c5ed30185d4c97d5dd2acfbd2c7b42ccaa679098ff3cc28dfad50c21b53e1c9a72a71928c136e2137416600065ce60afd9a24f7b5f2d08180d52d9b1704cf7
DIST mkdocs-git-revision-date-localized-plugin-0.5.0.tar.gz 80644 BLAKE2B 578a8be85d5aabc354497d2ddc236f36246c286a16ddb025ad03a0551908b3a07803cab878b9fa379953b62323d97a30ff74b00e2cf6dc5d8509bb82cbc00bba SHA512 51db7d0efaaf21582bd69131ca31c72ae36e6d4204b3358f33995128fab902d9d837ae9fbf81d34713eee4303656276b0dac76f625298774b0e4a433d33eacd2

View File

@@ -20,13 +20,13 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="test" # fails, mkdocs failed
RESTRICT="test" # fails, I think it tries to run git
RDEPEND="
>=dev-python/Babel-2.7.0[${PYTHON_USEDEP}]
dev-python/GitPython[${PYTHON_USEDEP}]
dev-python/jinja[${PYTHON_USEDEP}]
dev-python/mkdocs[${PYTHON_USEDEP}]
>=dev-python/mkdocs-0.17[${PYTHON_USEDEP}]
"
DEPEND="
dev-python/click[${PYTHON_USEDEP}]

View File

@@ -1 +1,2 @@
DIST pygaljs-1.0.0.tar.gz 3322 BLAKE2B 247c911b98cfdefd987745f606ad691be4c3d99a66ce6c03789aa298777d6623f56e47f8211b702b4d2b3fdf39dbdcfdac547b9623186f793898b0b3906b5aa9 SHA512 bcb3e9b741901d491926024bbb89c224db4fbeddf1868119691442754c7089e7a8464f9d91e8c2f25c01718e827518efd4614056cdbe4fedd63341feee1d9ecc
DIST pygaljs-1.0.1.tar.gz 84094 BLAKE2B a8812145bcef5809b8a65c33b04925449e00578ebb6d09e965d93e7f5f2df0f1896691e054da729f4ff991dda04f826a0e5451a915c763414908ad8c35c97957 SHA512 9677c0adee1232f1f987e4f2326b5b4ca0d880fcba0d1232905a9234ad540ff0402d7101e53fd7b30f2a17b28b4ac39abf3a965d19b4e108c9bea91708dba5bc

View File

@@ -0,0 +1,26 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
DESCRIPTION="Python package providing assets from https://github.com/Kozea/pygal.js"
HOMEPAGE="
https://github.com/ionelmc/python-pygaljs
https://pypi.org/project/pygaljs
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND=""
DEPEND="
test? ( <dev-python/pytest-4[${PYTHON_USEDEP}] )
"
distutils_enable_tests pytest

View File

@@ -1 +1,2 @@
DIST pytest-sugar-0.9.2.20200213.tar.gz 13806 BLAKE2B 7f982bb3bdafb711981ab2f1395fde080d4d3565b4274095770a19aba5a28d687138b9b1118b0c3c7aba1e91fd53864a46c9b9faef103577fbdbf99a901519e8 SHA512 83270c9e529d408bbf65cd515316f931053d3c68134987f8e74efcee515a12a239e242e1c63ce84ea254300ee048e7cf50590e82869cda10b28212de6f38be21
DIST pytest-sugar-0.9.2.tar.gz 12677 BLAKE2B 9ef5119479ce1333bf86844e8f959d5e50f1f656fff7a871acb9aa5bd7478bafa34819c4db8ad8a8f105807cf444544846bf02049fbd6802636e5a3f123a11ab SHA512 9a1f30e35cb503f1afec6a1e18ad2d013b005627891021171ccc6f94d3aebe45a724db0615ba75e2befc074e7b77dd0627b5ffb8876906d434bd95cf5984b5ad

View File

@@ -0,0 +1,35 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{6,7,8} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
COMMIT="66f6d9f9311a176ffafdfe00cb8c487d45b6a735"
DESCRIPTION="Plugin for pytest that changes the default look and feel of pytest"
HOMEPAGE="
https://pivotfinland.com/pytest-sugar
https://github.com/Teemu/pytest-sugar
https://pypi.org/project/pytest-sugar
"
SRC_URI="https://github.com/Teemu/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
>=dev-python/packaging-14.1[${PYTHON_USEDEP}]
<dev-python/pytest-5.4[${PYTHON_USEDEP}]
>=dev-python/pytest-xdist-1.14[${PYTHON_USEDEP}]
>=dev-python/termcolor-1.1.0[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${PN}-${COMMIT}"
distutils_enable_tests pytest

View File

@@ -25,6 +25,7 @@ RESTRICT="test"
RDEPEND="
>=dev-python/packaging-14.1[${PYTHON_USEDEP}]
<dev-python/pytest-5.4[${PYTHON_USEDEP}]
>=dev-python/pytest-xdist-1.14[${PYTHON_USEDEP}]
>=dev-python/termcolor-1.1.0[${PYTHON_USEDEP}]
"

View File

@@ -18,10 +18,6 @@ LICENSE=" || ( Apache-2.0 MIT )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# ImportError: cannot import name 'MarkInfo'
# might be an issue in pytest-marks
RESTRICT="test"
RDEPEND="
>=dev-python/async_generator-1.6[${PYTHON_USEDEP}]
dev-python/outcome[${PYTHON_USEDEP}]
@@ -30,7 +26,8 @@ RDEPEND="
"
DEPEND="test? (
dev-python/pytest-marks[${PYTHON_USEDEP}]
dev-python/pytest-trio[${PYTHON_USEDEP}]
<dev-python/pytest-4.1[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest

View File

@@ -1 +1 @@
DIST vidify-2.1.0.tar.gz 2332514 BLAKE2B c3199cd20de6e306406482a15addaf1875630c61271ea04b4a0c283d14030102eced6428e2dc8945ab482af6c81f94c51742983e9a9b6581b3aac60bd1c942f6 SHA512 e1a7d60caacd30d68fc8b1ebf3ea30a0527218257fe762989dd8ca5213beb247c300a7ffafe68554c88a1f3bb2a054a555fe15a66a727c57911f1f545e8d0297
DIST vidify-2.2.0.tar.gz 2903665 BLAKE2B 0740ad35728eb80537170f75180e03dd88bdbaba2ab84e7d4c0453bc8e104550a510f5a25f42d9a84a9e5659f7bd142d1eae537c58b629cc509a110d14e353b8 SHA512 456ad36487c7a66b004de2e8837e718a9b18a235a5bc95bc6322ee43e4fbdf610f4a38dfdbea139e05ae3dc9551eb9116ace7a4dddf01356bea9858599aaa6cd

View File

@@ -9,5 +9,7 @@
<use>
<flag name="vlc">Use python-vlc as backend for vidify</flag>
<flag name="mpv">Use python-mpv as backend for vidify</flag>
<flag name="zeroconf">Use an external network player</flag>
<flag name="dbus">Support local MPRIS players</flag>
</use>
</pkgmetadata>

View File

@@ -1,58 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_7 )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit eutils xdg distutils-r1
DESCRIPTION="Watch music videos in real time for the songs playing on your device"
HOMEPAGE="https://github.com/vidify/vidify"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+vlc mpv"
REQUIRED_USE="|| ( vlc mpv )"
RDEPEND="
dev-python/appdirs[${PYTHON_USEDEP}]
dev-python/lyricwikia[${PYTHON_USEDEP}]
dev-python/pydbus[${PYTHON_USEDEP}]
dev-python/QtPy[gui,webengine,${PYTHON_USEDEP}]
dev-python/tekore[${PYTHON_USEDEP}]
net-misc/youtube-dl[${PYTHON_USEDEP}]
mpv? ( dev-python/python-mpv[${PYTHON_USEDEP}] )
vlc? ( dev-python/python-vlc[${PYTHON_USEDEP}] )"
distutils_enable_tests unittest
python_prepare_all() {
# skip online test
rm tests/apis/test_spotify_web.py || die
# this needs dbus running
rm tests/apis/test_mpris.py || die
# fails to parse config for some reason
rm tests/test_api_and_player_data.py || die
distutils-r1_python_prepare_all
}
pkg_postinst() {
xdg_pkg_postinst
use mpv && elog "media-video/vlc is the default vidify player, to use mpv run 'vidify --player mpv' or set 'player = mpv' in the config file"
use vlc && elog "If video playback is not working please check 'vidify --debug' for missing-codec-errors and recompile media-video/vlc with the missing codecs"
use mpv && elog "If video playback is not working please check 'vidify --player mpv --debug' for missing-codec-errors and recompile media-video/mpv with the missing codecs"
optfeature "'vidify --dark-mode'" dev-python/qdarkstyle
optfeature "'vidify --audiosync'" media-video/vidify-audiosync
}

View File

@@ -0,0 +1,83 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_7 )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit eutils xdg distutils-r1 virtualx
DESCRIPTION="Watch music videos in real time for the songs playing on your device"
HOMEPAGE="https://github.com/vidify/vidify"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="dbus vlc mpv zeroconf"
REQUIRED_USE="|| ( vlc mpv zeroconf )"
RDEPEND="
dev-python/appdirs[${PYTHON_USEDEP}]
dev-python/lyricwikia[${PYTHON_USEDEP}]
dev-python/QtPy[gui,webengine,${PYTHON_USEDEP}]
net-misc/youtube-dl[${PYTHON_USEDEP}]
|| (
dev-python/tekore[${PYTHON_USEDEP}]
dev-python/pydbus[${PYTHON_USEDEP}]
)
dbus? ( dev-python/pydbus[${PYTHON_USEDEP}] )
mpv? ( dev-python/python-mpv[${PYTHON_USEDEP}] )
vlc? ( dev-python/python-vlc[${PYTHON_USEDEP}] )
zeroconf? ( dev-python/zeroconf[${PYTHON_USEDEP}] )
"
distutils_enable_tests unittest
python_prepare_all() {
# skip online test
rm tests/api/test_spotify_web.py || die
rm tests/player/test_external.py || die
# this needs dbus and a player running
rm tests/api/test_mpris.py || die
# fails to parse config for some reason
# likely because of the removal of the above tests
rm tests/test_api_and_player_data.py || die
# do not hard depend on this
sed -i \
-e '/qdarkstyle/d' \
-e '/python-vlc/d' \
-e '/python-mpv/d' \
-e '/pydbus/d' \
-e '/tekore/d' \
-e '/zeroconf/d' \
-e '/If PySide2 is installed and PyQt5/,/PyQtWebEngine/d' \
setup.py || die
distutils-r1_python_prepare_all
}
python_test() {
virtx "${EPYTHON}" -m unittest discover -v
}
pkg_postinst() {
xdg_pkg_postinst
elog "If video playback is not working please check 'vidify --debug' for missing-codec-errors and recompile media-video/vlc or media-video/mpv with the missing codecs"
optfeature "using a MPRIS(D-Bus) audio player (e.g spotify)" dev-python/pydbus
optfeature "using the spotify web API as audio player" dev-python/tekore
optfeature "using an external network player" dev-python/zeroconf
optfeature "using media-video/mpv for video playback" dev-python/python-mpv
optfeature "using media-video/vlc for video playback" dev-python/python-vlc
optfeature "'vidify --dark-mode'" dev-python/qdarkstyle
optfeature "'vidify --audiosync'" media-video/vidify-audiosync
}

View File

@@ -32,7 +32,33 @@ RDEPEND="
DEPEND="${RDEPEND}
dev-qt/linguist-tools:5"
src_configure() {
local mycmakeargs=( -DBUILD_SHARED_LIBS=OFF )
cmake_src_configure
src_install() {
cmake_src_install
dolib.so "${BUILD_DIR}"/src/activation/base/libAusweisAppActivation.so
dolib.so "${BUILD_DIR}"/src/activation/customscheme/libAusweisAppActivationCustomScheme.so
dolib.so "${BUILD_DIR}"/src/activation/intent/libAusweisAppActivationIntent.so
dolib.so "${BUILD_DIR}"/src/activation/internal/libAusweisAppActivationInternal.so
dolib.so "${BUILD_DIR}"/src/activation/webservice/libAusweisAppActivationWebservice.so
dolib.so "${BUILD_DIR}"/src/card/base/libAusweisAppCard.so
dolib.so "${BUILD_DIR}"/src/card/drivers/libAusweisAppCardDrivers.so
dolib.so "${BUILD_DIR}"/src/card/pcsc/libAusweisAppCardPcsc.so
dolib.so "${BUILD_DIR}"/src/configuration/libAusweisAppConfiguration.so
dolib.so "${BUILD_DIR}"/src/core/libAusweisAppCore.so
dolib.so "${BUILD_DIR}"/src/export/libAusweisAppExport.so
dolib.so "${BUILD_DIR}"/src/file_provider/libAusweisAppFileProvider.so
dolib.so "${BUILD_DIR}"/src/global/libAusweisAppGlobal.so
dolib.so "${BUILD_DIR}"/src/init/libAusweisAppInit.so
dolib.so "${BUILD_DIR}"/src/network/libAusweisAppNetwork.so
dolib.so "${BUILD_DIR}"/src/remote_device/libAusweisAppRemoteDevice.so
dolib.so "${BUILD_DIR}"/src/secure_storage/libAusweisAppSecureStorage.so
dolib.so "${BUILD_DIR}"/src/services/libAusweisAppServices.so
dolib.so "${BUILD_DIR}"/src/settings/libAusweisAppSettings.so
dolib.so "${BUILD_DIR}"/src/ui/aidl/libAusweisAppUiAidl.so
dolib.so "${BUILD_DIR}"/src/ui/base/libAusweisAppUi.so
dolib.so "${BUILD_DIR}"/src/ui/common/libAusweisAppUiCommon.so
dolib.so "${BUILD_DIR}"/src/ui/json/libAusweisAppUiJson.so
dolib.so "${BUILD_DIR}"/src/ui/qml/libAusweisAppUiQml.so
dolib.so "${BUILD_DIR}"/src/ui/websocket/libAusweisAppUiWebsocket.so
dolib.so "${BUILD_DIR}"/src/ui/widget/libAusweisAppUiWidget.so
dolib.so "${BUILD_DIR}"/src/whitelist_client/libAusweisAppWhitelistClient.so
}

View File

@@ -0,0 +1,69 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake git-r3
DESCRIPTION="Official authentication app for German ID cards and residence permits"
HOMEPAGE="https://www.ausweisapp.bund.de/"
EGIT_REPO_URI="https://github.com/Governikus/AusweisApp2.git"
LICENSE="EUPL-1.2"
SLOT="0"
KEYWORDS=""
IUSE=""
BDEPEND="virtual/pkgconfig"
RDEPEND="
dev-qt/qtcore:5
dev-qt/qtconcurrent:5
dev-qt/qtnetwork:5
dev-qt/qtgui:5
dev-qt/qtsvg:5
dev-qt/qtwebsockets:5[qml]
dev-qt/qtquickcontrols2:5
dev-qt/qtwidgets:5
dev-libs/openssl:0=
sys-apps/pcsc-lite
net-libs/http-parser"
DEPEND="${RDEPEND}
dev-qt/linguist-tools:5"
src_prepare() {
cmake_src_prepare
eautoreconf
}
src_install() {
cmake_src_install
dolib.so "${BUILD_DIR}"/src/activation/base/libAusweisAppActivation.so
dolib.so "${BUILD_DIR}"/src/activation/customscheme/libAusweisAppActivationCustomScheme.so
dolib.so "${BUILD_DIR}"/src/activation/intent/libAusweisAppActivationIntent.so
dolib.so "${BUILD_DIR}"/src/activation/internal/libAusweisAppActivationInternal.so
dolib.so "${BUILD_DIR}"/src/activation/webservice/libAusweisAppActivationWebservice.so
dolib.so "${BUILD_DIR}"/src/card/base/libAusweisAppCard.so
dolib.so "${BUILD_DIR}"/src/card/drivers/libAusweisAppCardDrivers.so
dolib.so "${BUILD_DIR}"/src/card/pcsc/libAusweisAppCardPcsc.so
dolib.so "${BUILD_DIR}"/src/configuration/libAusweisAppConfiguration.so
dolib.so "${BUILD_DIR}"/src/core/libAusweisAppCore.so
dolib.so "${BUILD_DIR}"/src/export/libAusweisAppExport.so
dolib.so "${BUILD_DIR}"/src/file_provider/libAusweisAppFileProvider.so
dolib.so "${BUILD_DIR}"/src/global/libAusweisAppGlobal.so
dolib.so "${BUILD_DIR}"/src/init/libAusweisAppInit.so
dolib.so "${BUILD_DIR}"/src/network/libAusweisAppNetwork.so
dolib.so "${BUILD_DIR}"/src/remote_device/libAusweisAppRemoteDevice.so
dolib.so "${BUILD_DIR}"/src/secure_storage/libAusweisAppSecureStorage.so
dolib.so "${BUILD_DIR}"/src/services/libAusweisAppServices.so
dolib.so "${BUILD_DIR}"/src/settings/libAusweisAppSettings.so
dolib.so "${BUILD_DIR}"/src/ui/aidl/libAusweisAppUiAidl.so
dolib.so "${BUILD_DIR}"/src/ui/base/libAusweisAppUi.so
dolib.so "${BUILD_DIR}"/src/ui/common/libAusweisAppUiCommon.so
dolib.so "${BUILD_DIR}"/src/ui/json/libAusweisAppUiJson.so
dolib.so "${BUILD_DIR}"/src/ui/qml/libAusweisAppUiQml.so
dolib.so "${BUILD_DIR}"/src/ui/websocket/libAusweisAppUiWebsocket.so
dolib.so "${BUILD_DIR}"/src/ui/widget/libAusweisAppUiWidget.so
dolib.so "${BUILD_DIR}"/src/whitelist_client/libAusweisAppWhitelistClient.so
}