Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
<email>desktop-misc@gentoo.org</email>
<name>Gentoo Desktop Miscellaneous Project</name>
</maintainer>
+<use>
+<flag name='shared'>Install the libQtFM shared library and headers</flag>
+</use>
</pkgmetadata>
# 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/"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+IUSE="shared"
RDEPEND="
dev-qt/qtconcurrent:5
"
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() {