summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-11-29 09:14:58 +0000
committerJustin Lecher <jlec@gentoo.org>2013-11-29 09:14:58 +0000
commit236f4cc72a29da1b7bcc4422cb0206aa20116f7e (patch)
treea95ee3092d225fbeea6eb8ec3f1353d1f3d09db4 /sci-chemistry
parentQA: set keywords according to bug #470090 (diff)
downloadgentoo-2-236f4cc72a29da1b7bcc4422cb0206aa20116f7e.tar.gz
gentoo-2-236f4cc72a29da1b7bcc4422cb0206aa20116f7e.tar.bz2
gentoo-2-236f4cc72a29da1b7bcc4422cb0206aa20116f7e.zip
sci-chemistry/relax: Fix icons
(Portage version: 2.2.7/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/relax/ChangeLog8
-rw-r--r--sci-chemistry/relax/relax-3.1.0-r1.ebuild (renamed from sci-chemistry/relax/relax-3.1.0.ebuild)21
2 files changed, 25 insertions, 4 deletions
diff --git a/sci-chemistry/relax/ChangeLog b/sci-chemistry/relax/ChangeLog
index 2fd134f6d94d..b8edf91fe9b6 100644
--- a/sci-chemistry/relax/ChangeLog
+++ b/sci-chemistry/relax/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-chemistry/relax
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/relax/ChangeLog,v 1.11 2013/11/29 08:38:42 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/relax/ChangeLog,v 1.12 2013/11/29 09:14:58 jlec Exp $
+
+*relax-3.1.0-r1 (29 Nov 2013)
+
+ 29 Nov 2013; Justin Lecher <jlec@gentoo.org> -relax-3.1.0.ebuild,
+ +relax-3.1.0-r1.ebuild:
+ Fix icons
*relax-3.1.0 (29 Nov 2013)
diff --git a/sci-chemistry/relax/relax-3.1.0.ebuild b/sci-chemistry/relax/relax-3.1.0-r1.ebuild
index f8dde3d0958c..355ce100f4b9 100644
--- a/sci-chemistry/relax/relax-3.1.0.ebuild
+++ b/sci-chemistry/relax/relax-3.1.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/relax/relax-3.1.0.ebuild,v 1.1 2013/11/29 08:38:42 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/relax/relax-3.1.0-r1.ebuild,v 1.1 2013/11/29 09:14:58 jlec Exp $
EAPI=5
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 )
WX_GTK_VER="2.9"
-inherit eutils python-single-r1 scons-utils toolchain-funcs wxwidgets virtualx
+inherit eutils multiprocessing python-single-r1 scons-utils toolchain-funcs wxwidgets virtualx
DESCRIPTION="Molecular dynamics by NMR data analysis"
HOMEPAGE="http://www.nmr-relax.com/"
@@ -34,18 +34,33 @@ RDEPEND="
sci-visualization/grace
sci-visualization/opendx
x11-libs/wxGTK:${WX_GTK_VER}[X]"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+ media-gfx/pngcrush"
pkg_setup() {
python-single-r1_pkg_setup
}
+fix_png() {
+ pngcrush -q -fix -force ${1} ${1}-fixed &>/dev/null || die
+ mv ${1}-fixed ${1} || die
+ echo -e ".\c"
+}
src_prepare() {
+ local png
rm -rf minfx bmrblib || die
epatch \
"${FILESDIR}"/${PN}-3.0.1-gentoo.patch \
"${FILESDIR}"/${P}-sample-script.patch
tc-export CC
+
+ ebegin "Fixing png files"
+ multijob_init
+ for png in $(find -type f -name "*.png"); do
+ multijob_child_init fix_png ${png}
+ done
+ multijob_finish
+ eend
}
src_compile() {