[net-im/swift] sync with tree, also add py2 dep as this branch will not be patched

This commit is contained in:
Robert Förster 2020-02-14 03:45:19 +01:00
parent 293188d520
commit 43d8ba3cae

View File

@ -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