Created attachment 464224 [details]
The latest version of media-sound/frescobaldi (just released by its developer as -3.0.0) depends on python-poppler-qt5, of which he is also the maintainer. The former is also available as a git repository.
However, I encountered two issues with the python-poppler-qt5 that is provided via his git repository: running 'python3 setup.py build' as instructed fails to recognize the c++11 capabilities of the compiler, and secondly fails against sip-4.19 due to gentoo bug #606704.
The attached ebuild addresses the former issue by adding
export CXXFLAGS="$CXXFLAGS -std=c++11"
to src_prepare. The latter issue is addressed by the bug referenced above (and will apparently be incorporated into the next release of sip).
NB: I am not really a programmer, and have neither the skillset nor the time to work as an official maintainer of this package. I just had to kludge around with a template to get a version of poppler-qt5 working locally for frescobaldi. I hope it helps anybody else.
The bug has been closed via the following commit(s):
Author: Andreas Sturmlechner <firstname.lastname@example.org>
AuthorDate: 2017-12-21 00:24:49 +0000
Commit: Andreas Sturmlechner <email@example.com>
CommitDate: 2017-12-21 01:02:51 +0000
dev-python/python-poppler-qt5: New package
Thanks-to: N. Andrew Walsh <firstname.lastname@example.org>
Thanks-to: Jouni Kosonen <email@example.com>
Package-Manager: Portage-2.3.19, Repoman-2.3.6
dev-python/python-poppler-qt5/Manifest | 1 +
dev-python/python-poppler-qt5/metadata.xml | 11 ++++++++
.../python-poppler-qt5-0.24.2_p20170214.ebuild | 29 ++++++++++++++++++++++
3 files changed, 41 insertions(+)