summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-misc/grive
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-misc/grive')
-rw-r--r--net-misc/grive/Manifest3
-rw-r--r--net-misc/grive/files/grive-0.2.0-check-bfd.h.patch36
-rw-r--r--net-misc/grive/grive-0.2.0-r1.ebuild54
-rw-r--r--net-misc/grive/grive-0.3.0_pre20130503.ebuild72
-rw-r--r--net-misc/grive/grive-0.3.0_pre20141119.ebuild38
-rw-r--r--net-misc/grive/metadata.xml11
6 files changed, 214 insertions, 0 deletions
diff --git a/net-misc/grive/Manifest b/net-misc/grive/Manifest
new file mode 100644
index 000000000000..ceeb9137ad14
--- /dev/null
+++ b/net-misc/grive/Manifest
@@ -0,0 +1,3 @@
+DIST grive-0.2.0.tar.gz 145760 SHA256 bb0de191cbe98e8efda6ce8fd5bcef3ae4903984aaaa9592909ddb4a24175f45 SHA512 5bae5d1de4655775347ca3148a0ae8b3294c56dff659cbd32f8c53d6cfa40f645d6f710a2e26e2189e51632bccaba494f45bec55a7721d6f7a40b467b1f3c7fd WHIRLPOOL 167093c15348bfdd6bd9b9db31919708ccd1f79b349ea43bd478227c500d8773d64cbf845e3c2f9747c3097945c4fea68462b3babfd81c0211cc52f03767c92e
+DIST grive-0.3.0_pre20130503.tar.gz 162471 SHA256 0b038cc627f898831872fdf3c20ac563f78a72094f594adda7ff737a1c1f207e SHA512 bd96a02366af47c5fde8e044066616c72a33607818d5e9cf4bea5fe70c0d63f83a2b726ce9a763cb907c78b2a563d7b2296b25e55743288dacef98adea3de729 WHIRLPOOL 38577f235fd9abc3f8f5da56c459c3569ac09cd1e3b16cfbea463a60103c25c0a4a4a163599974d35d8d146a5ec2c9c06e02c1cb518040a5462dd3200c7ebba9
+DIST grive-0.3.0_pre20141119.tar.gz 72990 SHA256 33b27eb534db51c525947810a21327195c24cb7c4ba3b448a33b2a7f98d4c014 SHA512 0ac69985fa597039ef5aaf91c7f1b4de8a1472406365cc1624c9410cdb02a186a4bf81a7d5e8d0272abfb68219de779815b38d030dfc550cd29caf313341cb4b WHIRLPOOL 9b184cdef9b0a74e53bb7235679ba358c7241df824a411c0473ac7a69e7cd1287d7edc6b65b636a59c81665af4b58def499a513921bc2056d210b9d14b811358
diff --git a/net-misc/grive/files/grive-0.2.0-check-bfd.h.patch b/net-misc/grive/files/grive-0.2.0-check-bfd.h.patch
new file mode 100644
index 000000000000..4acf29a62ba3
--- /dev/null
+++ b/net-misc/grive/files/grive-0.2.0-check-bfd.h.patch
@@ -0,0 +1,36 @@
+https://github.com/Grive/grive/pull/144
+
+From e2950364da813a5b27eab90c51cbea69fb3fd1f9 Mon Sep 17 00:00:00 2001
+From: Christoph Junghans <junghans@votca.org>
+Date: Fri, 2 Nov 2012 21:56:41 -0600
+Subject: [PATCH] Check if bfd.h can be included (fixes #72)
+
+---
+ cmake/Modules/FindBFD.cmake | 10 ++++++++--
+ 1 file changed, 8 insertions(+), 2 deletions(-)
+
+diff --git a/cmake/Modules/FindBFD.cmake b/cmake/Modules/FindBFD.cmake
+index 785e29b..5fe43c1 100644
+--- a/cmake/Modules/FindBFD.cmake
++++ b/cmake/Modules/FindBFD.cmake
+@@ -1,9 +1,15 @@
+ find_library( DL_LIBRARY NAMES dl PATH /usr/lib /usr/lib64 )
+ find_library( BFD_LIBRARY NAMES bfd PATH /usr/lib /usr/lib64 )
+
+-if ( DL_LIBRARY AND BFD_LIBRARY )
++include(CheckCSourceCompiles)
++check_c_source_compiles(
++ "#include <bfd.h>
++ int main(void) {
++ return 0;
++ }" BFD_WORKS)
++if ( DL_LIBRARY AND BFD_LIBRARY AND BFD_WORKS)
+ set( BFD_FOUND TRUE )
+-endif (DL_LIBRARY AND BFD_LIBRARY)
++endif (DL_LIBRARY AND BFD_LIBRARY AND BFD_WORKS)
+
+ if ( BFD_FOUND )
+
+--
+1.7.12
+
diff --git a/net-misc/grive/grive-0.2.0-r1.ebuild b/net-misc/grive/grive-0.2.0-r1.ebuild
new file mode 100644
index 000000000000..4d55755b0208
--- /dev/null
+++ b/net-misc/grive/grive-0.2.0-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-utils eutils multilib
+
+if [[ ${PV} = *9999 ]]; then
+ inherit git-2
+ EGIT_REPO_URI="git://github.com/Grive/${PN}.git"
+else
+ inherit eutils vcs-snapshot
+ SRC_URI="mirror://github/Grive/${PN}/tarball/v${PV} -> ${P}.tar.gz"
+fi
+
+DESCRIPTION="an open source Linux client for Google Drive"
+HOMEPAGE="http://www.lbreda.com/grive/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-libs/boost:=
+ dev-libs/expat
+ dev-libs/json-c:=
+ dev-libs/libgcrypt:0=
+ net-misc/curl
+ sys-devel/binutils
+ sys-libs/glibc
+ sys-libs/zlib
+ "
+
+DEPEND="${RDEPEND}"
+
+DOCS=( "README" )
+
+src_prepare() {
+ epatch "${FILESDIR}"/"${P}"-check-bfd.h.patch
+
+ #include dir change in json-c-0.10 #462632 and #452234
+ if has_version ">=dev-libs/json-c-0.10" ; then
+ sed -i -e '/\(include\|INCLUDE\)/s@json/@json-c/@' \
+ libgrive/src/protocol/Json.cc \
+ cmake/Modules/FindJSONC.cmake || die
+ fi
+ #json-c library changed in 0.11, bug #467432
+ if has_version ">=dev-libs/json-c-0.11" ; then
+ sed -i -e '/LIBRARY/s@json)@json-c)@' \
+ cmake/Modules/FindJSONC.cmake || die
+ fi
+}
diff --git a/net-misc/grive/grive-0.3.0_pre20130503.ebuild b/net-misc/grive/grive-0.3.0_pre20130503.ebuild
new file mode 100644
index 000000000000..00548e2f13cc
--- /dev/null
+++ b/net-misc/grive/grive-0.3.0_pre20130503.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-utils eutils multilib
+
+if [[ ${PV} = *9999 ]]; then
+ inherit git-2
+ EGIT_REPO_URI="git://github.com/Grive/${PN}.git"
+else
+ inherit eutils vcs-snapshot
+ COMMIT="27817e835fe115ebbda5410ec904aa49a2ad01f1"
+ SRC_URI="https://github.com/${PN}/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+fi
+
+DESCRIPTION="an open source Linux client for Google Drive"
+HOMEPAGE="http://www.lbreda.com/grive/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-libs/boost:=
+ dev-libs/expat
+ dev-libs/json-c:=
+ dev-libs/libgcrypt:0=
+ dev-libs/yajl
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ net-misc/curl
+ sys-devel/binutils
+ sys-libs/glibc
+ sys-libs/zlib
+ "
+
+DEPEND="${RDEPEND}"
+
+DOCS=( "README" )
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}"-0.2.0-check-bfd.h.patch
+
+ #include dir change in json-c-0.10 #462632 and #452234
+ if has_version ">=dev-libs/json-c-0.10" ; then
+ sed -i -e '/\(include\|INCLUDE\)/s@json/@json-c/@' \
+ libgrive/src/protocol/Json.cc \
+ cmake/Modules/FindJSONC.cmake || die
+ fi
+ #json-c library changed in 0.11, bug #467432
+ if has_version ">=dev-libs/json-c-0.11" ; then
+ sed -i -e '/LIBRARY/s@json)@json-c)@' \
+ cmake/Modules/FindJSONC.cmake || die
+ fi
+
+ sed -i '/grive.1/s/^/#/' bgrive/CMakeLists.txt || die
+}
+
+src_install(){
+ cmake-utils_src_install
+
+ local icon size
+ for icon in icon/*/*.png; do
+ size=${icon##*/}
+ size=${size%.png}
+ newicon -s "${size}" "${icon}" ${PN}.png
+ done
+ make_desktop_entry bgrive
+}
diff --git a/net-misc/grive/grive-0.3.0_pre20141119.ebuild b/net-misc/grive/grive-0.3.0_pre20141119.ebuild
new file mode 100644
index 000000000000..221f78fce166
--- /dev/null
+++ b/net-misc/grive/grive-0.3.0_pre20141119.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-utils
+
+if [[ ${PV} = *9999 ]]; then
+ inherit git-2
+ EGIT_REPO_URI="git://github.com/linwiz/${PN}.git"
+else
+ inherit vcs-snapshot
+ COMMIT="afd106ff47758d74daac4db35002e5e0d8d4d389"
+ SRC_URI="https://github.com/linwiz/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+fi
+
+DESCRIPTION="an open source Linux client for Google Drive"
+HOMEPAGE="http://www.lbreda.com/grive/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-libs/boost:=
+ dev-libs/expat
+ >=dev-libs/json-c-0.11-r1:=
+ dev-libs/libgcrypt:0=
+ net-misc/curl
+ sys-libs/glibc
+ dev-libs/yajl
+ "
+
+DEPEND="${RDEPEND}"
+
+DOCS=( "README" )
diff --git a/net-misc/grive/metadata.xml b/net-misc/grive/metadata.xml
new file mode 100644
index 000000000000..c534f67229c3
--- /dev/null
+++ b/net-misc/grive/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>ottxor@gentoo.org</email>
+ <name>Christoph Junghans</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Grive/grive</remote-id>
+ </upstream>
+</pkgmetadata>