|
|
|
@ -1,9 +1,11 @@
|
|
|
|
|
# Copyright 1999-2018 Gentoo Authors
|
|
|
|
|
# Copyright 1999-2020 Gentoo Authors
|
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
|
|
EAPI=6
|
|
|
|
|
|
|
|
|
|
inherit gnome2-utils scons-utils toolchain-funcs
|
|
|
|
|
PYTHON_COMPAT=( python2_7 )
|
|
|
|
|
|
|
|
|
|
inherit python-any-r1 gnome2-utils scons-utils toolchain-funcs
|
|
|
|
|
|
|
|
|
|
DESCRIPTION="An elegant, secure, adaptable and intuitive XMPP Client"
|
|
|
|
|
HOMEPAGE="https://www.swift.im/"
|
|
|
|
@ -77,9 +79,9 @@ src_prepare() {
|
|
|
|
|
|
|
|
|
|
# Hack for finding Qt system libs
|
|
|
|
|
mkdir "${T}"/qt || die
|
|
|
|
|
ln -s "${EPREFIX%/}"/usr/$(get_libdir)/qt5/bin "${T}"/qt/bin || die
|
|
|
|
|
ln -s "${EPREFIX%/}"/usr/$(get_libdir)/qt5 "${T}"/qt/lib || die
|
|
|
|
|
ln -s "${EPREFIX%/}"/usr/include/qt5 "${T}"/qt/include || die
|
|
|
|
|
ln -s "${EPREFIX}"/usr/$(get_libdir)/qt5/bin "${T}"/qt/bin || die
|
|
|
|
|
ln -s "${EPREFIX}"/usr/$(get_libdir)/qt5 "${T}"/qt/lib || die
|
|
|
|
|
ln -s "${EPREFIX}"/usr/include/qt5 "${T}"/qt/include || die
|
|
|
|
|
|
|
|
|
|
# Remove parts of Swift, which a user don't want to compile
|
|
|
|
|
if ! use client; then rm -fr Swift Slimber || die; fi
|
|
|
|
|