diff options
author | Ralph Sennhauser <sera@gentoo.org> | 2012-05-04 15:29:25 +0000 |
---|---|---|
committer | Ralph Sennhauser <sera@gentoo.org> | 2012-05-04 15:29:25 +0000 |
commit | 1a03c026ad059e0eaa96140514474b7dbfc4e740 (patch) | |
tree | 25c34d337fd17773efc5caf7014cad4a098df8f2 /net-print/gmso2 | |
parent | Migrating dev-util/pkgconfig -> virtual/pkgconfig (diff) | |
download | gentoo-2-1a03c026ad059e0eaa96140514474b7dbfc4e740.tar.gz gentoo-2-1a03c026ad059e0eaa96140514474b7dbfc4e740.tar.bz2 gentoo-2-1a03c026ad059e0eaa96140514474b7dbfc4e740.zip |
Add missing slot restriction for java-gnome. #414607
(Portage version: 2.1.10.57/cvs/Linux x86_64)
Diffstat (limited to 'net-print/gmso2')
-rw-r--r-- | net-print/gmso2/ChangeLog | 9 | ||||
-rw-r--r-- | net-print/gmso2/gmso2-0.1-r1.ebuild | 42 |
2 files changed, 49 insertions, 2 deletions
diff --git a/net-print/gmso2/ChangeLog b/net-print/gmso2/ChangeLog index a8d14ff6a558..3dca61a3fb6d 100644 --- a/net-print/gmso2/ChangeLog +++ b/net-print/gmso2/ChangeLog @@ -1,6 +1,11 @@ # 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.4 2010/08/01 23:27:21 phajdan.jr Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/gmso2/ChangeLog,v 1.5 2012/05/04 15:29:25 sera Exp $ + +*gmso2-0.1-r1 (04 May 2012) + + 04 May 2012; Ralph Sennhauser <sera@gentoo.org> +gmso2-0.1-r1.ebuild: + Add missing slot restriction for java-gnome. #414607 01 Aug 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> gmso2-0.1.ebuild: x86 stable wrt bug #330715 diff --git a/net-print/gmso2/gmso2-0.1-r1.ebuild b/net-print/gmso2/gmso2-0.1-r1.ebuild new file mode 100644 index 000000000000..105ebf956b3f --- /dev/null +++ b/net-print/gmso2/gmso2-0.1-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/gmso2/gmso2-0.1-r1.ebuild,v 1.1 2012/05/04 15:29:25 sera Exp $ + +EAPI="4" + +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 ~x86" +IUSE="" + +COMMON_DEP=" + dev-java/libmso:0 + dev-java/jinklevel:0 + >=dev-java/java-gnome-4.0.15:4.0" +RDEPEND="${COMMON_DEP} + >=virtual/jre-1.5 + x11-libs/gksu" +DEPEND="${COMMON_DEP} + >=virtual/jdk-1.5" + +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;;" +} |