1 |
hwoarang 10/08/22 20:01:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gperiodic-2.0.10-r1.ebuild |
5 |
Log: |
6 |
Respect CC, LDFLAGS. Move sed commands to src_prepare. Bug #333849 |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.13 sci-chemistry/gperiodic/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gperiodic/ChangeLog?rev=1.13&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gperiodic/ChangeLog?rev=1.13&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gperiodic/ChangeLog?r1=1.12&r2=1.13 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/gperiodic/ChangeLog,v |
19 |
retrieving revision 1.12 |
20 |
retrieving revision 1.13 |
21 |
diff -u -r1.12 -r1.13 |
22 |
--- ChangeLog 7 Oct 2009 20:40:43 -0000 1.12 |
23 |
+++ ChangeLog 22 Aug 2010 20:01:10 -0000 1.13 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for sci-chemistry/gperiodic |
26 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gperiodic/ChangeLog,v 1.12 2009/10/07 20:40:43 maekke Exp $ |
28 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gperiodic/ChangeLog,v 1.13 2010/08/22 20:01:10 hwoarang Exp $ |
30 |
+ |
31 |
+*gperiodic-2.0.10-r1 (22 Aug 2010) |
32 |
+ |
33 |
+ 22 Aug 2010; Markos Chandras <hwoarang@g.o> |
34 |
+ +gperiodic-2.0.10-r1.ebuild: |
35 |
+ Respect CC, LDFLAGS. Move sed commands to src_prepare. Bug #333849 |
36 |
|
37 |
07 Oct 2009; Markus Meier <maekke@g.o> gperiodic-2.0.10.ebuild: |
38 |
amd64/x86 stable, bug #285466 |
39 |
|
40 |
|
41 |
|
42 |
1.1 sci-chemistry/gperiodic/gperiodic-2.0.10-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gperiodic/gperiodic-2.0.10-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gperiodic/gperiodic-2.0.10-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: gperiodic-2.0.10-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gperiodic/gperiodic-2.0.10-r1.ebuild,v 1.1 2010/08/22 20:01:11 hwoarang Exp $ |
52 |
|
53 |
EAPI="2" |
54 |
|
55 |
inherit toolchain-funcs eutils |
56 |
|
57 |
DESCRIPTION="Periodic table application for Linux" |
58 |
SRC_URI="http://www.frantz.fi/software/${P}.tar.gz" |
59 |
HOMEPAGE="http://www.frantz.fi/software/gperiodic.php" |
60 |
|
61 |
KEYWORDS="~amd64 ~x86" |
62 |
SLOT="0" |
63 |
LICENSE="GPL-2" |
64 |
IUSE="nls" |
65 |
|
66 |
RDEPEND=">=sys-libs/ncurses-5.2 |
67 |
=x11-libs/gtk+-2* |
68 |
x11-libs/cairo[X] |
69 |
nls? ( sys-devel/gettext )" |
70 |
|
71 |
DEPEND="${RDEPEND} |
72 |
dev-util/pkgconfig" |
73 |
|
74 |
src_prepare() { |
75 |
sed -i -e "s|-DGTK_DISABLE_DEPRECATED|${CFLAGS}|" \ |
76 |
-e "/make clean/d" -e "/^CC/s:^.*$:CC=$(tc-getCC):" \ |
77 |
-e "s:\$(CFLAGS):& \${LDFLAGS}:" \ |
78 |
Makefile || die |
79 |
|
80 |
if ! use nls; then |
81 |
sed -i -e "/make -C po/d" Makefile || die |
82 |
fi |
83 |
sed -i -e "s|/usr/bin|${D}/usr/bin|" \ |
84 |
-e "s|/usr/share|${D}/usr/share|" Makefile || die |
85 |
sed -i -e "s|/usr/share|${D}/usr/share|" po/Makefile || die |
86 |
} |
87 |
|
88 |
src_install() { |
89 |
# Create directories - Makefile is quite broken. |
90 |
dodir /usr/bin |
91 |
dodir /usr/share/pixmaps |
92 |
dodir /usr/share/applications |
93 |
|
94 |
emake install || die "make install failed." |
95 |
|
96 |
# Fix permissions |
97 |
chmod 644 "${D}/usr/share/pixmaps/*" |
98 |
chmod 644 "${D}/usr/share/applications/*" |
99 |
|
100 |
# Fix the chemistry category in the .desktop file, bug 97202. |
101 |
sed -i -e "s|Chemestry|Chemistry|" "${D}/usr/share/applications/gperiodic.desktop" |
102 |
|
103 |
# The man page seems to have been removed too. |
104 |
# doman man/gperiodic.1 |
105 |
dodoc AUTHORS ChangeLog README NEWS || die |
106 |
newdoc po/README README.translation || die |
107 |
} |