summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerkan Kaba <serkan@gentoo.org>2010-03-27 06:52:32 +0000
committerSerkan Kaba <serkan@gentoo.org>2010-03-27 06:52:32 +0000
commiteffd2873ee13e3f4be8cd97837c562b571c7eb83 (patch)
treed17f09c5d02ef335339a53f79f9b651f9596581b /net-print/gmso2
parentInitial ebuild. (diff)
downloadgentoo-2-effd2873ee13e3f4be8cd97837c562b571c7eb83.tar.gz
gentoo-2-effd2873ee13e3f4be8cd97837c562b571c7eb83.tar.bz2
gentoo-2-effd2873ee13e3f4be8cd97837c562b571c7eb83.zip
Initial ebuild.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-print/gmso2')
-rw-r--r--net-print/gmso2/ChangeLog10
-rw-r--r--net-print/gmso2/gmso2-0.1.ebuild43
-rw-r--r--net-print/gmso2/metadata.xml13
3 files changed, 66 insertions, 0 deletions
diff --git a/net-print/gmso2/ChangeLog b/net-print/gmso2/ChangeLog
new file mode 100644
index 000000000000..75922cb64eff
--- /dev/null
+++ b/net-print/gmso2/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-print/gmso2
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/gmso2/ChangeLog,v 1.1 2010/03/27 06:52:32 serkan Exp $
+
+*gmso2-0.1 (27 Mar 2010)
+
+ 27 Mar 2010; Serkan Kaba <serkan@gentoo.org> +gmso2-0.1.ebuild,
+ +metadata.xml:
+ Initial ebuild.
+
diff --git a/net-print/gmso2/gmso2-0.1.ebuild b/net-print/gmso2/gmso2-0.1.ebuild
new file mode 100644
index 000000000000..fa2d88095b10
--- /dev/null
+++ b/net-print/gmso2/gmso2-0.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/gmso2/gmso2-0.1.ebuild,v 1.1 2010/03/27 06:52:32 serkan Exp $
+
+EAPI="2"
+
+JAVA_PKG_IUSE="source"
+WANT_ANT_TASKS="ant-nodeps"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="GMSO 2 queries ink levels of libinklevel supported printers"
+HOMEPAGE="http://mso.googlecode.com/"
+SRC_URI="http://mso.googlecode.com/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.5
+ dev-java/libmso:0
+ dev-java/jinklevel:0
+ >=dev-java/java-gnome-4.0.15
+ x11-libs/gksu"
+
+DEPEND=">=virtual/jdk-1.5
+ dev-java/libmso:0
+ dev-java/jinklevel:0
+ >=dev-java/java-gnome-4.0.15"
+
+EANT_BUILD_TARGET="build"
+EANT_GENTOO_CLASSPATH="jinklevel,libmso,java-gnome-4.0"
+JAVA_ANT_REWRITE_CLASSPATH="true"
+
+src_install() {
+ use source && java-pkg_dosrc src
+ java-pkg_dojar build/${PN}.jar
+ domo build/mo/*.mo || die "domo failed"
+ doicon image/* || die "doicon failed"
+ java-pkg_dolauncher ${PN} --main com.googlecode.mso.gmso2.Gmso2
+ make_desktop_entry "gksu -u root ${PN}" "GMSO 2" gmso2_icon "Printing;;"
+}
diff --git a/net-print/gmso2/metadata.xml b/net-print/gmso2/metadata.xml
new file mode 100644
index 000000000000..3ea3d5cc34ba
--- /dev/null
+++ b/net-print/gmso2/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+<maintainer>
+ <email>java@gentoo.org</email>
+</maintainer>
+<maintainer>
+ <email>serkan@gentoo.org</email>
+ <name>Serkan Kaba</name>
+ <description>Maintainer</description>
+</maintainer>
+</pkgmetadata>