summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhasufell <julian.ospald@googlemail.com>2012-01-04 22:22:02 +0000
committerhasufell <julian.ospald@googlemail.com>2012-01-04 22:22:02 +0000
commitf1f541bc95223a637d41ea6757f6869bf1f10cd5 (patch)
treec2c698fc6b970f4a75dbbd8b18ee7db43ee3e68d /www-misc
parentFix package.mask entry for app-portage/portage-jobsmon to actually be a mask,... (diff)
downloadsunrise-f1f541bc95223a637d41ea6757f6869bf1f10cd5.tar.gz
sunrise-f1f541bc95223a637d41ea6757f6869bf1f10cd5.tar.bz2
sunrise-f1f541bc95223a637d41ea6757f6869bf1f10cd5.zip
www-misc/abloadtool: New Ebuild for bug 397703
svn path=/sunrise/; revision=12628
Diffstat (limited to 'www-misc')
-rw-r--r--www-misc/abloadtool/ChangeLog10
-rw-r--r--www-misc/abloadtool/Manifest6
-rw-r--r--www-misc/abloadtool/abloadtool-3.0.ebuild60
-rw-r--r--www-misc/abloadtool/files/abloadaction.desktop15
-rw-r--r--www-misc/abloadtool/metadata.xml5
5 files changed, 96 insertions, 0 deletions
diff --git a/www-misc/abloadtool/ChangeLog b/www-misc/abloadtool/ChangeLog
new file mode 100644
index 000000000..86313469e
--- /dev/null
+++ b/www-misc/abloadtool/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for www-misc/abloadtool
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*abloadtool-3.0 (04 Jan 2012)
+
+ 04 Jan 2012; hasufell <julian.ospald@googlemail.com> +abloadtool-3.0.ebuild,
+ +files/abloadaction.desktop, +metadata.xml:
+ New Ebuild for bug 397703
+
diff --git a/www-misc/abloadtool/Manifest b/www-misc/abloadtool/Manifest
new file mode 100644
index 000000000..3e0469edd
--- /dev/null
+++ b/www-misc/abloadtool/Manifest
@@ -0,0 +1,6 @@
+AUX abloadaction.desktop 340 RMD160 4000c5efa67639369aa62e7de258f0324a5bfeeb SHA1 bb45842863886bbddff8c26a2829437b5ade4ef3 SHA256 9394b6b77dd37cb0a112673214096a12869b0613a1a69f462817a4e57eb0b90a
+DIST abloadtool-3.0.i386.deb 608782 RMD160 4e5a1c557e89e1a0fccecf60baec715907eb6841 SHA1 72a606b6df967b147ae18e5b198bf282e9a1985d SHA256 380c07f612987ac3bfc2e81eb38d180ab5411e60d0e929688aff693d9eb2a177
+DIST abloadtool-3.0.x86_64.deb 397378 RMD160 f8aee17e0d0e0daf07992cc85ebe5e55b7ff5404 SHA1 ac87ffbdaf706ebd560ab1d3d7fa512be999f00b SHA256 f8d37b4481d8050949ecf147854d5df69cb70a01e57c9e0c50fa03adcc1a14cf
+EBUILD abloadtool-3.0.ebuild 1284 RMD160 428aa5d85a7bfec8e202f25a581a68c3210160f7 SHA1 d7d6a91e7bd1f42b7c381cfe8809591dee2e4141 SHA256 4171f2110d786ae6d192475e3cc90918e9f1f4c750cfcf860bb9e15e6ea44917
+MISC ChangeLog 305 RMD160 93ef81de98743b37b65c7b1c2ebdd50c8cc7d297 SHA1 313fc5d9f59d5ddf3ae135b62811aa76db32d4db SHA256 4d431e46285294c39ac9a6943f43ae10a19137e96ff8303238fb9d93a420122a
+MISC metadata.xml 208 RMD160 c18611400760e42bdd001905be0a63c2e963bcea SHA1 595816105cac477cb85792a182e15888029118a1 SHA256 c4841c87f0c2b9b5e679a27dc72180be8d508fb3f5df0fbab2ec2c805c0a6d82
diff --git a/www-misc/abloadtool/abloadtool-3.0.ebuild b/www-misc/abloadtool/abloadtool-3.0.ebuild
new file mode 100644
index 000000000..c624522d3
--- /dev/null
+++ b/www-misc/abloadtool/abloadtool-3.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit eutils multilib fdo-mime
+
+DESCRIPTION="Upload tool for the imagehoster abload"
+HOMEPAGE="http://www.abload.de/tool.php"
+SRC_URI="amd64? ( http://download.${PN}.de/ubuntu-64/${P}.x86_64.deb )
+ x86? ( http://download.${PN}.de/ubuntu-32/${P}.i386.deb )"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="kde"
+
+DEPEND=""
+RDEPEND="x11-libs/qt-core:4
+ x11-libs/qt-gui:4"
+
+S=${WORKDIR}/usr
+
+src_unpack() {
+ default
+ unpack ./data.tar.gz
+}
+
+src_install() {
+ into /opt/${PN}
+ dobin bin/${PN}
+ dosym /opt/${PN}/bin/${PN} /opt/bin/${PN}
+ dolib lib/libabload.so.0.1.0
+ dosym libabload.so.0.1.0 /opt/${PN}/$(get_libdir)/libabload.so
+ dosym libabload.so.0.1.0 /opt/${PN}/$(get_libdir)/libabload.so.0
+ dosym libabload.so.0.1.0 /opt/${PN}/$(get_libdir)/libabload.so.0.1
+ into /usr
+ domenu share/applications/${PN}.desktop
+ doicon share/pixmaps/${PN}.png
+
+ if use kde ; then
+ insinto /usr/share/kde4/services/ServiceMenus
+ doins "${FILESDIR}"/abloadaction.desktop
+ fi
+
+ cat > 91${PN} <<-END
+ LDPATH=/opt/${PN}/$(get_libdir)
+ END
+
+ doenvd 91${PN}
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}
diff --git a/www-misc/abloadtool/files/abloadaction.desktop b/www-misc/abloadtool/files/abloadaction.desktop
new file mode 100644
index 000000000..3e0b183ba
--- /dev/null
+++ b/www-misc/abloadtool/files/abloadaction.desktop
@@ -0,0 +1,15 @@
+[Desktop Entry]
+Type=Service
+ServiceTypes=KonqPopupMenu/Plugin,image/*
+MimeType=image/*
+Actions=uploadBackground;upload
+
+[Desktop Action uploadBackground]
+Name=upload in background
+Icon=abloadtool
+Exec=abloadtool --background --files %u
+
+[Desktop Action upload]
+Name=open in abload
+Icon=abloadtool
+Exec=abloadtool --files %u
diff --git a/www-misc/abloadtool/metadata.xml b/www-misc/abloadtool/metadata.xml
new file mode 100644
index 000000000..31dc017fa
--- /dev/null
+++ b/www-misc/abloadtool/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+</pkgmetadata>