From fd5b4d63870e1c5cca19377456cae671f8fd52b3 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Fri, 10 Apr 2020 10:25:39 +0300 Subject: app-text/qolibri: Update building process. --- app-text/qolibri/qolibri-2.1.3.ebuild | 18 ++++++++++++------ app-text/qolibri/qolibri-9999.ebuild | 18 ++++++++++++------ 2 files changed, 24 insertions(+), 12 deletions(-) diff --git a/app-text/qolibri/qolibri-2.1.3.ebuild b/app-text/qolibri/qolibri-2.1.3.ebuild index 7253cd1..519dc44 100644 --- a/app-text/qolibri/qolibri-2.1.3.ebuild +++ b/app-text/qolibri/qolibri-2.1.3.ebuild @@ -21,19 +21,25 @@ else KEYWORDS="~amd64 ~x86" fi -LICENSE="GPL-3" +LICENSE="GPL-2" SLOT="0" -IUSE="" +IUSE="debug" DEPEND="dev-libs/eb - dev-qt/linguist-tools:5[qml] + dev-qt/linguist-tools:5 dev-qt/qtcore:5 dev-qt/qtdeclarative:5 dev-qt/qtgui:5 - dev-qt/qtmultimedia:5[qml] + dev-qt/qtmultimedia:5 dev-qt/qtnetwork:5 - dev-qt/qtwebchannel:5[qml] + dev-qt/qtwebchannel:5 dev-qt/qtwebengine:5[widgets] + dev-qt/qtwidgets:5 sys-libs/zlib" RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" +BDEPEND="" + +src_configure() { + use !debug && append-cppflags -DQT_NO_DEBUG_OUTPUT + cmake-utils_src_configure +} diff --git a/app-text/qolibri/qolibri-9999.ebuild b/app-text/qolibri/qolibri-9999.ebuild index 7253cd1..519dc44 100644 --- a/app-text/qolibri/qolibri-9999.ebuild +++ b/app-text/qolibri/qolibri-9999.ebuild @@ -21,19 +21,25 @@ else KEYWORDS="~amd64 ~x86" fi -LICENSE="GPL-3" +LICENSE="GPL-2" SLOT="0" -IUSE="" +IUSE="debug" DEPEND="dev-libs/eb - dev-qt/linguist-tools:5[qml] + dev-qt/linguist-tools:5 dev-qt/qtcore:5 dev-qt/qtdeclarative:5 dev-qt/qtgui:5 - dev-qt/qtmultimedia:5[qml] + dev-qt/qtmultimedia:5 dev-qt/qtnetwork:5 - dev-qt/qtwebchannel:5[qml] + dev-qt/qtwebchannel:5 dev-qt/qtwebengine:5[widgets] + dev-qt/qtwidgets:5 sys-libs/zlib" RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" +BDEPEND="" + +src_configure() { + use !debug && append-cppflags -DQT_NO_DEBUG_OUTPUT + cmake-utils_src_configure +} -- cgit 1.4.1