From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PwZ9r-0004r7-So for garchives@archives.gentoo.org; Mon, 07 Mar 2011 12:03:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C4EBE0776; Mon, 7 Mar 2011 12:01:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id CE446E0776 for ; Mon, 7 Mar 2011 12:01:35 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 47BB91B4052 for ; Mon, 7 Mar 2011 12:01:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 3AE6980073 for ; Mon, 7 Mar 2011 12:01:34 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <11be4fb8199e8cb6229576d2697228e9583b040b.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-visualization/v_sim/ X-VCS-Repository: proj/sci X-VCS-Files: sci-visualization/v_sim/ChangeLog sci-visualization/v_sim/v_sim-3.5.1.ebuild X-VCS-Directories: sci-visualization/v_sim/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 11be4fb8199e8cb6229576d2697228e9583b040b Date: Mon, 7 Mar 2011 12:01:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 856bfd70ba0f6c3fb76447e5b96ae5cd commit: 11be4fb8199e8cb6229576d2697228e9583b040b Author: Justin Lecher gentoo org> AuthorDate: Mon Mar 7 11:04:48 2011 +0000 Commit: Justin Lecher gentoo org> CommitDate: Mon Mar 7 11:04:48 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3D11be4fb8 Correct Slots for gtk 3 introduction to tree (Portage version: 2.2.0_alpha26/git/Linux x86_64, signed Manifest commit = with key 70EB7916) --- sci-visualization/v_sim/ChangeLog | 5 +++- sci-visualization/v_sim/v_sim-3.5.1.ebuild | 41 ++++++++++++----------= ----- 2 files changed, 22 insertions(+), 24 deletions(-) diff --git a/sci-visualization/v_sim/ChangeLog b/sci-visualization/v_sim/= ChangeLog index b54f322..ef07543 100644 --- a/sci-visualization/v_sim/ChangeLog +++ b/sci-visualization/v_sim/ChangeLog @@ -1,7 +1,10 @@ # ChangeLog for sci-visualization/v_sim -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ =20 + 07 Mar 2011; Justin Lecher v_sim-3.5.1.ebuild: + Correct Slots for gtk 3 introduction to tree + 19 Sep 2010; Justin Lecher v_sim-3.5.1.ebuild: virtual/glut -> media-libs/freeglut & virtual/glu -> virtual/opengl Correction diff --git a/sci-visualization/v_sim/v_sim-3.5.1.ebuild b/sci-visualizati= on/v_sim/v_sim-3.5.1.ebuild index 6c18756..1ce6e6e 100644 --- a/sci-visualization/v_sim/v_sim-3.5.1.ebuild +++ b/sci-visualization/v_sim/v_sim-3.5.1.ebuild @@ -1,12 +1,15 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ =20 +EAPI=3D"4" + inherit eutils =20 DESCRIPTION=3D"Displays atomic structures such as crystals, gain boudari= es, molecules" HOMEPAGE=3D"http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/index.en.html" SRC_URI=3D"http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/download/${P}.tar.bz= 2" + LICENSE=3D"CeCILL-1.1" SLOT=3D"0" KEYWORDS=3D"~amd64 ~x86 ~alpha" @@ -16,28 +19,17 @@ KEYWORDS=3D"~amd64 ~x86 ~alpha" # debug: Adds console debug messages. This is really verbose. IUSE=3D"doc debug" =20 -# V_sim should work with gtk 2.4, but has been tested with gtk 2.6. -RDEPEND=3D">=3Dx11-libs/gtk+-2.6.8 - >=3Ddev-libs/glib-2.4.5 - >=3Dx11-libs/pango-1.8.1-r1 - >=3Dmedia-libs/libpng-1.2 - virtual/opengl - virtual/opengl -" +RDEPEND=3D" + x11-libs/gtk+:2 + dev-libs/glib:2 + x11-libs/pango + media-libs/libpng + virtual/opengl" DEPEND=3D"${RDEPEND} sys-apps/sed - doc? ( >=3Ddev-util/gtk-doc-1.4-r1 ) -" - -pkg_setup() { - # Required - check_license -} - -src_unpack() { - unpack ${A} - cd "${S}" + doc? ( >=3Ddev-util/gtk-doc-1.4-r1 )" =20 +src_prepare() { # The author follows Debian conventions, hence the example files and do= cs # end up in /usr/share/doc/${PN} instead of /usr/share/doc/${PF}. We # correct this here. @@ -49,7 +41,7 @@ src_unpack() { sed -i -e "s:/usr/local/:/usr/:g" src/visu_basic.c || die "sed failed o= n updating directories in visu_basic.c" } =20 -src_compile() { +src_configure() { if use doc ; then gtkdocize fi @@ -57,11 +49,14 @@ src_compile() { econf \ $(use_enable doc gtk-doc) \ $(use_enable debug debug-messages) - HOME=3D"${S}" make || die "emake failed" +} + +src_compile() { + HOME=3D"${S}" emake } =20 src_install() { - make DESTDIR=3D"${D}" install || die "make install failed" + emake DESTDIR=3D"${D}" install } =20 pkg_postinst() {