diff options
Diffstat (limited to 'net-libs/qtweetlib')
-rw-r--r-- | net-libs/qtweetlib/Manifest | 1 | ||||
-rw-r--r-- | net-libs/qtweetlib/metadata.xml | 8 | ||||
-rw-r--r-- | net-libs/qtweetlib/qtweetlib-0.5.ebuild | 41 | ||||
-rw-r--r-- | net-libs/qtweetlib/qtweetlib-9999.ebuild | 41 |
4 files changed, 91 insertions, 0 deletions
diff --git a/net-libs/qtweetlib/Manifest b/net-libs/qtweetlib/Manifest new file mode 100644 index 00000000000..52344268ff2 --- /dev/null +++ b/net-libs/qtweetlib/Manifest @@ -0,0 +1 @@ +DIST qtweetlib-0.5.tar.gz 96649 SHA256 c06d3e35529aa6a5daf27a2a22d6fa99f22488abc4cf2bf5b959adf118691039 SHA512 d4fe5150b3a41164e0563eb53e83ef1bd19a5d0b40bcf4d4041a2cb718b5fdd2f8a021e0b345b69be49a13066107b89f904a9c48cfa26a877aa3f6bdf2d9c9ad WHIRLPOOL 5ae723f5963b33383361836c2b75ff45f182930c97fc8b1c041bf9e0aea3f91331d622f9d8d8a13977114b78262f227f78ed29770af364d002d41fa6a61767ec diff --git a/net-libs/qtweetlib/metadata.xml b/net-libs/qtweetlib/metadata.xml new file mode 100644 index 00000000000..e297298a1cd --- /dev/null +++ b/net-libs/qtweetlib/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>kde</herd> + <upstream> + <remote-id type="github">minimoog/QTweetLib</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-libs/qtweetlib/qtweetlib-0.5.ebuild b/net-libs/qtweetlib/qtweetlib-0.5.ebuild new file mode 100644 index 00000000000..768136ecc3c --- /dev/null +++ b/net-libs/qtweetlib/qtweetlib-0.5.ebuild @@ -0,0 +1,41 @@ +# 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 +} diff --git a/net-libs/qtweetlib/qtweetlib-9999.ebuild b/net-libs/qtweetlib/qtweetlib-9999.ebuild new file mode 100644 index 00000000000..768136ecc3c --- /dev/null +++ b/net-libs/qtweetlib/qtweetlib-9999.ebuild @@ -0,0 +1,41 @@ +# 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 +} |