From: Jeroen Roovers Date: Fri, 7 Jun 2019 08:26:25 +0000 (+0200) Subject: x11-misc/qtfm: Add USE=shared X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5f03d1c37d6cd2ac6dfa0e2b5ea33e0e90e0de3b;p=gentoo.git x11-misc/qtfm: Add USE=shared Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Jeroen Roovers --- diff --git a/x11-misc/qtfm/metadata.xml b/x11-misc/qtfm/metadata.xml index 3e91ecae7c1c..9c25f5fe1917 100644 --- a/x11-misc/qtfm/metadata.xml +++ b/x11-misc/qtfm/metadata.xml @@ -9,4 +9,7 @@ desktop-misc@gentoo.org Gentoo Desktop Miscellaneous Project + +Install the libQtFM shared library and headers + diff --git a/x11-misc/qtfm/qtfm-6.2.0.ebuild b/x11-misc/qtfm/qtfm-6.2.0.ebuild index e80647d017f5..866fd51c7eca 100644 --- a/x11-misc/qtfm/qtfm-6.2.0.ebuild +++ b/x11-misc/qtfm/qtfm-6.2.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit xdg-utils qmake-utils +inherit multilib xdg-utils qmake-utils DESCRIPTION="A small, lightweight file manager for desktops based on pure Qt" HOMEPAGE="https://qtfm.eu/" @@ -11,6 +11,7 @@ SRC_URI="https://github.com/rodlie/qtfm/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~x86" +IUSE="shared" RDEPEND=" dev-qt/qtconcurrent:5 @@ -28,7 +29,12 @@ DEPEND=" " src_configure() { - eqmake5 PREFIX=/usr XDGDIR=/etc/xdg + eqmake5 \ + $(usex shared 'CONFIG+=sharedlib' '') \ + $(usex shared 'CONFIG+=with_includes' '') \ + LIBDIR="/usr/$(get_libdir)" \ + PREFIX="/usr" \ + XDGDIR="/etc/xdg" } src_install() {