-DIST qoauth-1.0.1-src.tar.bz2 42298 BLAKE2B f524a0ab873578e0699ba62b8ca26a9eaa432e981bc4123f145da5436867dac39947724ad4590fb2a8c4b1e9f57d75bf31c691f01217ee9bcb17ec10554c28c1 SHA512 86869c82e6efd490888f3bb16cba5bb014821e35507d3d396a84f5112a2d0bd7cb1251ba5dff82a8913eeae77a0feeebfdf4a7d1e9870023fb3c106d603c3dd8
DIST qoauth-2.0.1_pre20160315.tar.xz 45604 BLAKE2B 290d768e8661c6e8f9ae8094ec140da22f00c53cbfd9ed6ebab1f159ae82c2a0a111a9306eeab0c08ea5b0a349e07d9b7f402f14812a5688ba9860832991494c SHA512 ec44c597c7b9729645ab98e2c71c805d01eab4c0684b7ea0da6b015a052b0ad6e3aa9352ef53e36a67ff99b9f75fb9b89156ca8b23c639a70cc49aab656366c3
+++ /dev/null
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit qt4-r2
-
-DESCRIPTION="A Qt-based library for OAuth support"
-HOMEPAGE="https://github.com/ayoy/qoauth/wiki"
-SRC_URI="http://files.ayoy.net/qoauth/release/${PV}/src/${P}-src.tar.bz2"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 ppc ~ppc64 x86"
-IUSE="debug doc static-libs test"
-
-COMMON_DEPEND="app-crypt/qca:2[debug?,qt4(+)]"
-DEPEND="${COMMON_DEPEND}
- doc? ( app-doc/doxygen )
- test? ( dev-qt/qttest:4 )
-"
-RDEPEND="${COMMON_DEPEND}
- app-crypt/qca:2[ssl]
-"
-
-S=${WORKDIR}/${P}-src
-
-DOCS="README CHANGELOG"
-PATCHES=(
- # disable functional tests that require network connection
- # and rely on 3rd party external server (bug #341267)
- "${FILESDIR}/${P}-disable-ft.patch"
-)
-
-src_prepare() {
- qt4-r2_src_prepare
-
- if ! use test; then
- sed -i -e '/SUBDIRS/s/tests//' ${PN}.pro || die "sed failed"
- fi
-
- sed -i -e '/^ *docs \\$/d' \
- -e '/^ *build_all \\$/d' \
- -e 's/^\#\(!macx\)/\1/' \
- src/src.pro || die "sed failed"
-
- sed -i -e "s/\(.*\)lib$/\1$(get_libdir)/" src/pcfile.sh || die "sed failed"
-}
-
-src_compile() {
- default
- if use static-libs; then
- emake -C src static
- fi
-}
-
-src_install() {
- qt4-r2_src_install
-
- if use static-libs; then
- dolib.a "${S}"/lib/lib${PN}.a
- fi
-
- if use doc; then
- doxygen "${S}"/Doxyfile || die "failed to generate documentation"
- dohtml "${S}"/doc/html/*
- fi
-}