From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-visualization/v_sim/
Date: Mon, 7 Mar 2011 12:01:34 +0000 (UTC) [thread overview]
Message-ID: <11be4fb8199e8cb6229576d2697228e9583b040b.jlec@gentoo> (raw)
commit: 11be4fb8199e8cb6229576d2697228e9583b040b
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 7 11:04:48 2011 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Mar 7 11:04:48 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=11be4fb8
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: $
+ 07 Mar 2011; Justin Lecher <jlec@gentoo.org> v_sim-3.5.1.ebuild:
+ Correct Slots for gtk 3 introduction to tree
+
19 Sep 2010; Justin Lecher <jlec@gentoo.org> 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-visualization/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: $
+EAPI="4"
+
inherit eutils
DESCRIPTION="Displays atomic structures such as crystals, gain boudaries, molecules"
HOMEPAGE="http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/index.en.html"
SRC_URI="http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/download/${P}.tar.bz2"
+
LICENSE="CeCILL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~alpha"
@@ -16,28 +19,17 @@ KEYWORDS="~amd64 ~x86 ~alpha"
# debug: Adds console debug messages. This is really verbose.
IUSE="doc debug"
-# V_sim should work with gtk 2.4, but has been tested with gtk 2.6.
-RDEPEND=">=x11-libs/gtk+-2.6.8
- >=dev-libs/glib-2.4.5
- >=x11-libs/pango-1.8.1-r1
- >=media-libs/libpng-1.2
- virtual/opengl
- virtual/opengl
-"
+RDEPEND="
+ x11-libs/gtk+:2
+ dev-libs/glib:2
+ x11-libs/pango
+ media-libs/libpng
+ virtual/opengl"
DEPEND="${RDEPEND}
sys-apps/sed
- doc? ( >=dev-util/gtk-doc-1.4-r1 )
-"
-
-pkg_setup() {
- # Required
- check_license
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
+ doc? ( >=dev-util/gtk-doc-1.4-r1 )"
+src_prepare() {
# The author follows Debian conventions, hence the example files and docs
# 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 on updating directories in visu_basic.c"
}
-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="${S}" make || die "emake failed"
+}
+
+src_compile() {
+ HOME="${S}" emake
}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install
}
pkg_postinst() {
next reply other threads:[~2011-03-07 12:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-07 12:01 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-04-09 21:46 [gentoo-commits] proj/sci:master commit in: sci-visualization/v_sim/ Dongxu Li
2011-06-08 5:27 Dongxu Li
2011-06-08 12:22 Dongxu Li
2011-06-24 17:09 Justin Lecher
2013-02-22 15:46 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=11be4fb8199e8cb6229576d2697228e9583b040b.jlec@gentoo \
--to=jlec@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox