summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-01-16 12:25:45 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-01-16 12:25:45 +0000
commit4ea32b22bc61832da98b41bc33e665c925ac5d13 (patch)
tree5e0038136cf6b8c6cda20c5757ba0bb5c006cc16 /net-misc
parentFix compilation and linking on Darwin (diff)
downloadhistorical-4ea32b22bc61832da98b41bc33e665c925ac5d13.tar.gz
historical-4ea32b22bc61832da98b41bc33e665c925ac5d13.tar.bz2
historical-4ea32b22bc61832da98b41bc33e665c925ac5d13.zip
Initial commit of dnetstats application
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/dnetstats/ChangeLog9
-rw-r--r--net-misc/dnetstats/Manifest4
-rw-r--r--net-misc/dnetstats/dnetstats-1.2.5.ebuild49
-rw-r--r--net-misc/dnetstats/metadata.xml15
4 files changed, 77 insertions, 0 deletions
diff --git a/net-misc/dnetstats/ChangeLog b/net-misc/dnetstats/ChangeLog
new file mode 100644
index 000000000000..082d179e9f6e
--- /dev/null
+++ b/net-misc/dnetstats/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for net-misc/dnetstats
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dnetstats/ChangeLog,v 1.1 2010/01/16 12:25:45 hwoarang Exp $
+
+*dnetstats-1.2.5 (16 Jan 2010)
+
+ 16 Jan 2010; <hwoarang@gentoo.org> +dnetstats-1.2.5.ebuild, +metadata.xml:
+ Initial commit of dnetstats application
+
diff --git a/net-misc/dnetstats/Manifest b/net-misc/dnetstats/Manifest
new file mode 100644
index 000000000000..efd3f09511ee
--- /dev/null
+++ b/net-misc/dnetstats/Manifest
@@ -0,0 +1,4 @@
+DIST 107467-DNetStats-v1.2.5-release.tar.bz2 203064 RMD160 ebb4b9656ecf201cd8a48f2aad6e4870a8ff98b5 SHA1 734560d0b23468f3336468369ecf7b08cbaccc4c SHA256 d8c4143a9c60f864c5fd6a7e0ce125bb80c62d5bdae4397213827cd5d4371a7f
+EBUILD dnetstats-1.2.5.ebuild 1271 RMD160 a0b558298617b83f131918145d7a2fe74edd801e SHA1 f4807f0d1f679ac10eb6a09adb500ef998171ccd SHA256 f2f45d0cad5c7d4c46727544993cd438e0b647236f34c2aaa94c4fcdc4533776
+MISC ChangeLog 363 RMD160 00fa8e5debf41e5cc1b4d6d7849fc278c0cc60c0 SHA1 b4bfe71ed20e5879c2d27d8c397ebc448b5b2f88 SHA256 c766f3ebda4d960f25b53c668b0dedc44b55e1c9916bbdaaa9bab506642cedc6
+MISC metadata.xml 361 RMD160 8932bccc6bc74afa5758a1c940a43fa67a973d00 SHA1 c4f666c12180de8b5e6f275cfc5f9c1c410e635a SHA256 c63e231e8fa8efd31e2897fc27fc7fb2593e424b8ec47fad0cda3cb545411d7d
diff --git a/net-misc/dnetstats/dnetstats-1.2.5.ebuild b/net-misc/dnetstats/dnetstats-1.2.5.ebuild
new file mode 100644
index 000000000000..de91ee2e0abc
--- /dev/null
+++ b/net-misc/dnetstats/dnetstats-1.2.5.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dnetstats/dnetstats-1.2.5.ebuild,v 1.1 2010/01/16 12:25:45 hwoarang Exp $
+
+EAPI="2"
+
+inherit qt4-r2
+
+MY_PN="DNetStats"
+MY_P="${MY_PN}-v${PV}-release"
+
+DESCRIPTION="Qt4 network monitor utility"
+HOMEPAGE="http://qt-apps.org/content/show.php/DNetStats?content=107467"
+SRC_URI="http://qt-apps.org/CONTENT/content-files/107467-${MY_P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="kde"
+
+DEPEND="x11-libs/qt-gui:4"
+RDEPEND="${DEPEND}
+ kde? ( kde-base/kdesu )"
+
+src_prepare() {
+ # remove old moc_* files
+ rm -rf moc_* || die "failed to remove old moc_* files"
+}
+
+src_install() {
+ newbin mythread ${PN} || die "newbin failed"
+ dodoc ReadMe || die "dodoc failed"
+ newicon resource/energy.png ${PN}.png || die "doicon failed"
+ make_desktop_entry ${PN} DNetStats ${PN}.png 'Qt;Network;Dialup'
+ # adjust the .desktop file
+ if use kde; then
+ sed -i "/^Exec/s:${PN}:kdesu -c ${PN}:" \
+ ${D}/usr/share/applications/"${PN}"-"${PN}".desktop \
+ || die "failed to add kdesu on desktop file"
+ fi
+}
+
+pkg_postinst() {
+ if ! use kde; then
+ elog
+ elog "Root priviledges are required in order to run ${PN}"
+ elog
+ fi
+}
diff --git a/net-misc/dnetstats/metadata.xml b/net-misc/dnetstats/metadata.xml
new file mode 100644
index 000000000000..7e70f1538383
--- /dev/null
+++ b/net-misc/dnetstats/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>qt</herd>
+<maintainer>
+<email>hwoarang@gentoo.org</email>
+<name>Markos Chandras</name>
+</maintainer>
+<use>
+<flag name="kde">Use kdesu to gain root access</flag>
+</use>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>
+