diff options
author | soredake <fdsfgs@krutt.org> | 2017-08-02 01:10:01 +0300 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-08-13 15:23:12 +0200 |
commit | 34392deaeeac83e04b59dd8a1570468c083868d4 (patch) | |
tree | d152154dfa82f3489c51c078e8a7a082c071d3a0 /net-news/rssguard | |
parent | net-news/rssguard: version bump to 3.4.1. (diff) | |
download | gentoo-34392deaeeac83e04b59dd8a1570468c083868d4.tar.gz gentoo-34392deaeeac83e04b59dd8a1570468c083868d4.tar.bz2 gentoo-34392deaeeac83e04b59dd8a1570468c083868d4.zip |
net-news/rssguard: add live version.
Diffstat (limited to 'net-news/rssguard')
-rw-r--r-- | net-news/rssguard/rssguard-9999.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/net-news/rssguard/rssguard-9999.ebuild b/net-news/rssguard/rssguard-9999.ebuild new file mode 100644 index 000000000000..4ca7b2a43990 --- /dev/null +++ b/net-news/rssguard/rssguard-9999.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit git-r3 qmake-utils + +DESCRIPTION="A tiny RSS and Atom feed reader" +HOMEPAGE="https://github.com/martinrotter/rssguard" +EGIT_REPO_URI="https://github.com/martinrotter/${PN}.git" +EGIT_SUBMODULES=() + +LICENSE="GPL-3" +SLOT="0" +IUSE="debug webengine" + +RDEPEND=" + >=dev-qt/qtcore-5.6:5 + >=dev-qt/qtgui-5.6:5 + >=dev-qt/qtnetwork-5.6:5 + >=dev-qt/qtsql-5.6:5 + >=dev-qt/qtwidgets-5.6:5 + >=dev-qt/qtxml-5.6:5 + webengine? ( >=dev-qt/qtwebengine-5.6:5[widgets] ) +" +DEPEND="${RDEPEND} + >=dev-qt/linguist-tools-5.6:5 +" + +src_prepare() { + default + + # remove bundled qtbase translations + rm -v localization/qtbase* || die + sed -i -e "s|localization/qtbase_[a-z][a-z].ts||g" ${PN}.pro || die +} + +src_configure() { + eqmake5 \ + CONFIG+=$(usex debug debug release) \ + USE_WEBENGINE=$(usex webengine true false) \ + LRELEASE_EXECUTABLE="$(qt5_get_bindir)/lrelease" \ + PREFIX="${EPREFIX}"/usr \ + INSTALL_ROOT=. +} + +src_install() { + emake install INSTALL_ROOT="${D}" +} |