1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="Library for Qt that implements the OAuth 1.0 authentication specification"
10 HOMEPAGE="https://github.com/kypeli/kQOAuth"
11 SRC_URI="https://github.com/kypeli/kQOAuth/archive/${PV}.tar.gz -> ${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
26 S="${WORKDIR}/kQOAuth-${PV}"
31 # prevent tests from beeing built at src_compile
32 sed -i -e '/SUBDIRS/s/ tests//' ${PN}.pro || die "sed on ${PN}.pro failed"
34 sed -e 's:{INSTALL_PREFIX}/lib:[QT_INSTALL_LIBS]:g' -i src/src.pro || die "sed on src.pro failed"
37 -e "s/TARGET = kqoauth/TARGET = kqoauth-qt5/g" \
46 emake INSTALL_ROOT="${D}" install