You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-libs/qtweetlib/qtweetlib-9999.ebuild

42 lines
768 B

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
MY_PN=QTweetLib
if [[ ${PV} != *9999* ]]; then
SRC_URI="https://github.com/minimoog/${MY_PN}/tarball/${PV} -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
else
GIT_ECLASS="git-2"
EGIT_REPO_URI="git://github.com/minimoog/QTweetLib.git"
KEYWORDS=""
fi
inherit qt4-r2 cmake-utils ${GIT_ECLASS}
DESCRIPTION="Qt based Twitter library"
HOMEPAGE="https://github.com/minimoog/QTweetLib"
LICENSE="GPL-2"
SLOT="0"
IUSE="debug"
DEPEND="
>=dev-libs/qjson-0.7.1
>=dev-qt/qtcore-4.6.0:4[ssl]
>=dev-qt/qtgui-4.6.0:4
"
RDEPEND="${DEPEND}"
src_unpack() {
if [[ ${PV} != *9999* ]]; then
unpack ${A}
mv *-${MY_PN}-* "${S}"
else
git-2_src_unpack
fi
}