1 |
gienah 14/03/23 15:00:18 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: wxc-0.90.1.1.ebuild |
5 |
Log: |
6 |
Bump wxc to 0.90.1.1 |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 618E971F) |
9 |
|
10 |
Revision Changes Path |
11 |
1.3 dev-haskell/wxc/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/wxc/ChangeLog?rev=1.3&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/wxc/ChangeLog?rev=1.3&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/wxc/ChangeLog?r1=1.2&r2=1.3 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-haskell/wxc/ChangeLog,v |
20 |
retrieving revision 1.2 |
21 |
retrieving revision 1.3 |
22 |
diff -u -r1.2 -r1.3 |
23 |
--- ChangeLog 13 Jan 2013 10:59:19 -0000 1.2 |
24 |
+++ ChangeLog 23 Mar 2014 15:00:18 -0000 1.3 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-haskell/wxc |
27 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/wxc/ChangeLog,v 1.2 2013/01/13 10:59:19 gienah Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/wxc/ChangeLog,v 1.3 2014/03/23 15:00:18 gienah Exp $ |
31 |
+ |
32 |
+*wxc-0.90.1.1 (23 Mar 2014) |
33 |
+ |
34 |
+ 23 Mar 2014; Mark Wright <gienah@g.o> +wxc-0.90.1.1.ebuild: |
35 |
+ Bump wxc to 0.90.1.1 |
36 |
|
37 |
13 Jan 2013; Mark Wright <gienah@g.o> wxc-0.90.0.4.ebuild: |
38 |
Thanks to peanuts for reporting: unconditionally require x11-libs/wxGTK with |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-haskell/wxc/wxc-0.90.1.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/wxc/wxc-0.90.1.1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/wxc/wxc-0.90.1.1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: wxc-0.90.1.1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/wxc/wxc-0.90.1.1.ebuild,v 1.1 2014/03/23 15:00:18 gienah Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
# ebuild generated by hackport 0.3.6.9999 |
56 |
|
57 |
WX_GTK_VER="2.9" |
58 |
|
59 |
CABAL_FEATURES="lib profile" |
60 |
inherit haskell-cabal multilib versionator wxwidgets |
61 |
|
62 |
DESCRIPTION="wxHaskell C++ wrapper" |
63 |
HOMEPAGE="http://haskell.org/haskellwiki/WxHaskell" |
64 |
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" |
65 |
|
66 |
LICENSE="wxWinLL-3.1" |
67 |
SLOT="${WX_GTK_VER}/${PV}" |
68 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
69 |
IUSE="" |
70 |
|
71 |
RDEPEND=">=dev-haskell/wxdirect-0.90.1.0:${WX_GTK_VER}=[profile?] |
72 |
x11-libs/wxGTK:${WX_GTK_VER}=[X,gstreamer,opengl] |
73 |
>=dev-lang/ghc-6.10.4:= |
74 |
" |
75 |
DEPEND="${RDEPEND} |
76 |
>=dev-haskell/cabal-1.6.0.3 |
77 |
" |
78 |
|
79 |
src_prepare() { |
80 |
sed -e "s@\"wx-config\"@\"${WX_CONFIG}\"@g" \ |
81 |
-i "${S}/Setup.hs" || die "Could not specify wx-config in Setup.hs" |
82 |
} |
83 |
|
84 |
src_configure() { |
85 |
local cgcc=() |
86 |
for i in ${CXXFLAGS} |
87 |
do |
88 |
cgcc+=( --gcc-option="${i}" ) |
89 |
done |
90 |
# Trying to specify the LDFLAGS in --ld-option does not work, as ld does |
91 |
# not understand ld options prefixed with -Wl, |
92 |
# The linker that is used to link the libwxc.so shared library is hard coded |
93 |
# in Setup.hs. So the --with-ld would not change the linker used when |
94 |
# linking libwxc.so. --with-ld="gcc" does not help, as then cabal passes |
95 |
# ld options like -x to gcc which then returns a non-zero exit status, then |
96 |
# cabal ignores all the --ld-option parameters. |
97 |
# So I place all the LDFLAGS in --gcc-option parameters. They are ignored |
98 |
# when building .o files. |
99 |
local cld=() |
100 |
for i in ${LDFLAGS} |
101 |
do |
102 |
cld+=( --gcc-option="${i}" ) |
103 |
done |
104 |
cabal_src_configure ${cgcc[*]} ${cld[*]} --verbose=3 |
105 |
} |
106 |
|
107 |
src_install() { |
108 |
cabal_src_install |
109 |
dolib.so dist/build/lib${PN}.so.${PV} |
110 |
dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.$(get_version_component_range 1-2) |
111 |
dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.$(get_major_version) |
112 |
dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so |
113 |
} |