* [gentoo-commits] proj/betagarden:master commit in: app-backup/spideroak-bin/
@ 2011-07-12 8:58 Naohiro Aota
0 siblings, 0 replies; 2+ messages in thread
From: Naohiro Aota @ 2011-07-12 8:58 UTC (permalink / raw
To: gentoo-commits
commit: c09801ae1fb3a1b652b18e80cc10550b63e8795a
Author: Naohiro Aota <naota <AT> elisp <DOT> net>
AuthorDate: Tue Jul 12 08:49:29 2011 +0000
Commit: Naohiro Aota <naota <AT> gentoo <DOT> org>
CommitDate: Tue Jul 12 08:49:29 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=c09801ae
New ebuild app-backup/spideroak-bin, writeen by Dennis Schridde <devurandom <AT> gmx.net>
(Portage version: 2.2.0_alpha43/git/Linux x86_64, signed Manifest commit with key B487B8C0)
---
app-backup/spideroak-bin/ChangeLog | 11 +++
app-backup/spideroak-bin/metadata.xml | 19 ++++
.../spideroak-bin/spideroak-bin-4.0.9830.ebuild | 95 ++++++++++++++++++++
3 files changed, 125 insertions(+), 0 deletions(-)
diff --git a/app-backup/spideroak-bin/ChangeLog b/app-backup/spideroak-bin/ChangeLog
new file mode 100644
index 0000000..ccfc888
--- /dev/null
+++ b/app-backup/spideroak-bin/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-backup/spideroak-bin
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*spideroak-bin-4.0.9830 (12 Jul 2011)
+
+ 12 Jul 2011; Naohiro Aota <naota@gentoo.org> +spideroak-bin-4.0.9830.ebuild,
+ +metadata.xml:
+ New ebuild app-backup/spideroak-bin, writeen by Dennis Schridde
+ <devurandom@gmx.net>
+
diff --git a/app-backup/spideroak-bin/metadata.xml b/app-backup/spideroak-bin/metadata.xml
new file mode 100644
index 0000000..2b42acd
--- /dev/null
+++ b/app-backup/spideroak-bin/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>naota@gentoo.org</email>
+ <name>Naohiro Aota</name>
+ <description>Proxy maintainer. CC him on bugs</description>
+</maintainer>
+<maintainer>
+ <email>devurandom@gmx.net</email>
+ <name>Dennis Schridde</name>
+ <description>Maintainer. Assign bugs to him</description>
+</maintainer>
+<use>
+ <flag name='headless'>Build without graphic frontend</flag>
+ <flag name='qt-bundled'>Use bundled Qt4 libraies</flag>
+</use>
+</pkgmetadata>
diff --git a/app-backup/spideroak-bin/spideroak-bin-4.0.9830.ebuild b/app-backup/spideroak-bin/spideroak-bin-4.0.9830.ebuild
new file mode 100644
index 0000000..6a5cd8d
--- /dev/null
+++ b/app-backup/spideroak-bin/spideroak-bin-4.0.9830.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit eutils versionator
+
+REV=$(get_version_component_range 3)
+SRC_URI_BASE="https://spideroak.com/directdownload?platform=ubuntulucid"
+
+DESCRIPTION="An easy, secure and consolidated free online backup, storage, access and sharing sytem."
+HOMEPAGE="https://spideroak.com"
+SRC_URI="x86? ( ${SRC_URI_BASE}&arch=i386&revision=${REV} -> ${P}_x86.deb )
+ amd64? ( ${SRC_URI_BASE}&arch=x86_64&revision=${REV} -> ${P}_amd64.deb )"
+RESTRICT="mirror strip"
+
+LICENSE="spideroak"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dbus headless qt-bundled"
+
+RDEPEND=">=dev-libs/glib-2.12.0
+ dbus? ( sys-apps/dbus )
+ >=sys-devel/gcc-4
+ >=sys-libs/glibc-2.7
+ !headless? (
+ >=media-libs/fontconfig-2.4.0
+ >=media-libs/freetype-2.3.5
+ >=x11-libs/libICE-1.0.0
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXrender
+ !qt-bundled? ( x11-libs/qt-gui:4[accessibility,dbus] )
+ )"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ unpack ./data.tar.gz
+ rm -f control.tar.gz data.tar.gz debian-binary
+}
+
+src_prepare() {
+ # change /usr/ to /opt/SpiderOak/ in start script
+ sed -i 's:/usr/lib:/opt:g' usr/bin/SpiderOak || die "sed failed"
+ # change /usr/ to /opt/ in .desktop file
+ sed -i 's:/usr/bin/SpiderOak:/opt/bin/SpiderOak:g' usr/share/applications/spideroak.desktop || die "sed failed"
+
+ # disable GUI if headless useflag is enabled
+ if use headless; then
+ sed -i 's:"$@":--headless "$@":' usr/bin/SpiderOak || die "sed failed"
+ fi
+
+ # remove shipped libstdc++.so.6 as it does not provide LIBCXX_3.4.11
+ # and it seems to work alright with the one from >=gcc-4
+ rm usr/lib/SpiderOak/libstdc++.so.6 || die "rm libstdc++.so.6 failed"
+
+ if ! use qt-bundled || use headless; then
+ # rm precompiled and bundled qt libs
+ rm usr/lib/SpiderOak/libQt*.so.4 || die "rm libQt*.so.4 failed"
+ fi
+}
+
+src_install() {
+ insinto /opt/SpiderOak
+ doins -r usr/lib/SpiderOak/*
+
+ exeinto /opt/SpiderOak
+ doexe usr/lib/SpiderOak/SpiderOak
+
+ exeinto /opt/bin
+ doexe usr/bin/SpiderOak
+
+ if use dbus; then
+ insinto /etc/dbus-1
+ doins -r etc/dbus-1/*
+ fi
+
+ if ! use headless; then
+ domenu usr/share/applications/spideroak.desktop
+ doicon usr/share/pixmaps/spideroak.png
+ fi
+}
+
+pkg_postinst() {
+ if use headless ; then
+ einfo "For instructions on running SpiderOak without a GUI, please read the FAQ:"
+ einfo " https://spideroak.com/faq/questions/62/how_do_i_install_spideroak_on_a_headless_linux_server/"
+ einfo " https://spideroak.com/faq/questions/67/how_can_i_use_spideroak_from_the_commandline/"
+ fi
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] proj/betagarden:master commit in: app-backup/spideroak-bin/
@ 2011-08-14 2:49 Naohiro Aota
0 siblings, 0 replies; 2+ messages in thread
From: Naohiro Aota @ 2011-08-14 2:49 UTC (permalink / raw
To: gentoo-commits
commit: 206d78deb0362e41f9133ecf90784821e76b3cae
Author: Naohiro Aota <naota <AT> elisp <DOT> net>
AuthorDate: Sun Aug 14 02:49:23 2011 +0000
Commit: Naohiro Aota <naota <AT> gentoo <DOT> org>
CommitDate: Sun Aug 14 02:49:23 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=206d78de
Move app-backup/spirderoak-bin to the main tree
---
app-backup/spideroak-bin/ChangeLog | 11 ---
app-backup/spideroak-bin/metadata.xml | 19 ----
.../spideroak-bin/spideroak-bin-4.0.9830.ebuild | 95 --------------------
3 files changed, 0 insertions(+), 125 deletions(-)
diff --git a/app-backup/spideroak-bin/ChangeLog b/app-backup/spideroak-bin/ChangeLog
deleted file mode 100644
index ccfc888..0000000
--- a/app-backup/spideroak-bin/ChangeLog
+++ /dev/null
@@ -1,11 +0,0 @@
-# ChangeLog for app-backup/spideroak-bin
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
-*spideroak-bin-4.0.9830 (12 Jul 2011)
-
- 12 Jul 2011; Naohiro Aota <naota@gentoo.org> +spideroak-bin-4.0.9830.ebuild,
- +metadata.xml:
- New ebuild app-backup/spideroak-bin, writeen by Dennis Schridde
- <devurandom@gmx.net>
-
diff --git a/app-backup/spideroak-bin/metadata.xml b/app-backup/spideroak-bin/metadata.xml
deleted file mode 100644
index 2b42acd..0000000
--- a/app-backup/spideroak-bin/metadata.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>no-herd</herd>
-<maintainer>
- <email>naota@gentoo.org</email>
- <name>Naohiro Aota</name>
- <description>Proxy maintainer. CC him on bugs</description>
-</maintainer>
-<maintainer>
- <email>devurandom@gmx.net</email>
- <name>Dennis Schridde</name>
- <description>Maintainer. Assign bugs to him</description>
-</maintainer>
-<use>
- <flag name='headless'>Build without graphic frontend</flag>
- <flag name='qt-bundled'>Use bundled Qt4 libraies</flag>
-</use>
-</pkgmetadata>
diff --git a/app-backup/spideroak-bin/spideroak-bin-4.0.9830.ebuild b/app-backup/spideroak-bin/spideroak-bin-4.0.9830.ebuild
deleted file mode 100644
index 6a5cd8d..0000000
--- a/app-backup/spideroak-bin/spideroak-bin-4.0.9830.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-inherit eutils versionator
-
-REV=$(get_version_component_range 3)
-SRC_URI_BASE="https://spideroak.com/directdownload?platform=ubuntulucid"
-
-DESCRIPTION="An easy, secure and consolidated free online backup, storage, access and sharing sytem."
-HOMEPAGE="https://spideroak.com"
-SRC_URI="x86? ( ${SRC_URI_BASE}&arch=i386&revision=${REV} -> ${P}_x86.deb )
- amd64? ( ${SRC_URI_BASE}&arch=x86_64&revision=${REV} -> ${P}_amd64.deb )"
-RESTRICT="mirror strip"
-
-LICENSE="spideroak"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="dbus headless qt-bundled"
-
-RDEPEND=">=dev-libs/glib-2.12.0
- dbus? ( sys-apps/dbus )
- >=sys-devel/gcc-4
- >=sys-libs/glibc-2.7
- !headless? (
- >=media-libs/fontconfig-2.4.0
- >=media-libs/freetype-2.3.5
- >=x11-libs/libICE-1.0.0
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXrender
- !qt-bundled? ( x11-libs/qt-gui:4[accessibility,dbus] )
- )"
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}
-
-src_unpack() {
- unpack ${A}
- unpack ./data.tar.gz
- rm -f control.tar.gz data.tar.gz debian-binary
-}
-
-src_prepare() {
- # change /usr/ to /opt/SpiderOak/ in start script
- sed -i 's:/usr/lib:/opt:g' usr/bin/SpiderOak || die "sed failed"
- # change /usr/ to /opt/ in .desktop file
- sed -i 's:/usr/bin/SpiderOak:/opt/bin/SpiderOak:g' usr/share/applications/spideroak.desktop || die "sed failed"
-
- # disable GUI if headless useflag is enabled
- if use headless; then
- sed -i 's:"$@":--headless "$@":' usr/bin/SpiderOak || die "sed failed"
- fi
-
- # remove shipped libstdc++.so.6 as it does not provide LIBCXX_3.4.11
- # and it seems to work alright with the one from >=gcc-4
- rm usr/lib/SpiderOak/libstdc++.so.6 || die "rm libstdc++.so.6 failed"
-
- if ! use qt-bundled || use headless; then
- # rm precompiled and bundled qt libs
- rm usr/lib/SpiderOak/libQt*.so.4 || die "rm libQt*.so.4 failed"
- fi
-}
-
-src_install() {
- insinto /opt/SpiderOak
- doins -r usr/lib/SpiderOak/*
-
- exeinto /opt/SpiderOak
- doexe usr/lib/SpiderOak/SpiderOak
-
- exeinto /opt/bin
- doexe usr/bin/SpiderOak
-
- if use dbus; then
- insinto /etc/dbus-1
- doins -r etc/dbus-1/*
- fi
-
- if ! use headless; then
- domenu usr/share/applications/spideroak.desktop
- doicon usr/share/pixmaps/spideroak.png
- fi
-}
-
-pkg_postinst() {
- if use headless ; then
- einfo "For instructions on running SpiderOak without a GUI, please read the FAQ:"
- einfo " https://spideroak.com/faq/questions/62/how_do_i_install_spideroak_on_a_headless_linux_server/"
- einfo " https://spideroak.com/faq/questions/67/how_can_i_use_spideroak_from_the_commandline/"
- fi
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-14 2:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-12 8:58 [gentoo-commits] proj/betagarden:master commit in: app-backup/spideroak-bin/ Naohiro Aota
-- strict thread matches above, loose matches on Subject: below --
2011-08-14 2:49 Naohiro Aota
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox