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