From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-haskell/wxc/
Date: Sat, 26 Mar 2016 22:04:59 +0000 (UTC) [thread overview]
Message-ID: <1459029755.736a568f188ea020e5c2920ad755c2733e3e39b5.slyfox@gentoo> (raw)
commit: 736a568f188ea020e5c2920ad755c2733e3e39b5
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 26 22:02:35 2016 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Mar 26 22:02:35 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=736a568f
dev-haskell/wxc: bump up to 0.92.2.0
Package-Manager: portage-2.2.28
dev-haskell/wxc/Manifest | 1 +
dev-haskell/wxc/wxc-0.92.2.0.ebuild | 58 +++++++++++++++++++++++++++++++++++++
2 files changed, 59 insertions(+)
diff --git a/dev-haskell/wxc/Manifest b/dev-haskell/wxc/Manifest
index d064e40..c103234 100644
--- a/dev-haskell/wxc/Manifest
+++ b/dev-haskell/wxc/Manifest
@@ -1,2 +1,3 @@
DIST wxc-0.90.0.4.tar.gz 181799 SHA256 e69e4870c33dc32ee388c5f1be5b0ad1f2b231aa16a51da205cfa295430402ae SHA512 4dd3846465a3c43c507a8b76e3929736b1e0ed0941201803f2209cb2ce347cddda9fd725796c6a7d306209324a9201c91d36ee9808c694c9110ab393d80f5c97 WHIRLPOOL ddebc3f800f15249185e7d0d6b207fd7576e70037792cbb164568c3a960a7cee96518eb6099ffbd2c06319b04c10e4f684b5c376388d39d648afd614806ab6e5
DIST wxc-0.90.1.1.tar.gz 183992 SHA256 ec71deebafdb69e50742acf1a4307ab2706f3282d24022a8a603eb3d35bc6e33 SHA512 917af9eaa8e07b0ce827da9c350811d514ebd0627f410b28836340adec21c119283a62d1533475eb3ba2e960dad2e26067ad6e8e5820b2e69ede86e5f4404548 WHIRLPOOL 58ff612f74d0dada055030eb907559c056ab8fb40b2d31647f33bd900c17c75c0abdeba36d59aeb3127e28020d4d21af4c9d60eb3d3c29f36677ffccbbed97b8
+DIST wxc-0.92.2.0.tar.gz 203065 SHA256 e0da20807bafb22d51a0922211da11eb428b2a6661cb53bc98f6e17be9775191 SHA512 e6fba1be94978603965b8902fad9326772b5483d5df621d5245f1fae97d85bcb1aff4565f1e8396de23c854050151c5e009e34a1ea29c3037057599ac0412bcd WHIRLPOOL bbc05a53a02ee9a5dea7c3eb9745bab82c5290fb0a81e46eb359da27869538b5397a65149cf1ef8c551235584b77c055356422edb9f75bf3fbd4022efa90b042
diff --git a/dev-haskell/wxc/wxc-0.92.2.0.ebuild b/dev-haskell/wxc/wxc-0.92.2.0.ebuild
new file mode 100644
index 0000000..09e345e
--- /dev/null
+++ b/dev-haskell/wxc/wxc-0.92.2.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.7.9999
+
+WX_GTK_VER="3.0"
+
+CABAL_FEATURES="lib profile"
+inherit haskell-cabal multilib versionator wxwidgets
+
+DESCRIPTION="wxHaskell C++ wrapper"
+HOMEPAGE="https://wiki.haskell.org/WxHaskell"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="wxWinLL-3.1"
+SLOT="${WX_GTK_VER}/${PV}"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">dev-haskell/split-0:=[profile?]
+ >=dev-haskell/wxdirect-0.90.1.1:${WX_GTK_VER}=[profile?]
+ x11-libs/wxGTK:${WX_GTK_VER}=[X,gstreamer,opengl]
+ >=dev-lang/ghc-7.6.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.16.0
+"
+
+src_prepare() {
+ sed -e "s@\"wx-config\"@\"${WX_CONFIG}\"@g" \
+ -i "${S}/Setup.hs" || die "Could not specify wx-config in Setup.hs"
+}
+
+src_configure() {
+ local cgcc=()
+ for i in ${CXXFLAGS}
+ do
+ cgcc+=( --gcc-option="${i}" )
+ done
+ # Trying to specify the LDFLAGS in --ld-option does not work, as ld does
+ # not understand ld options prefixed with -Wl,
+ # The linker that is used to link the libwxc.so shared library is hard coded
+ # in Setup.hs. So the --with-ld would not change the linker used when
+ # linking libwxc.so. --with-ld="gcc" does not help, as then cabal passes
+ # ld options like -x to gcc which then returns a non-zero exit status, then
+ # cabal ignores all the --ld-option parameters.
+ # So I place all the LDFLAGS in --gcc-option parameters. They are ignored
+ # when building .o files.
+ local cld=()
+ for i in ${LDFLAGS}
+ do
+ cld+=( --gcc-option="${i}" )
+ done
+ cabal_src_configure ${cgcc[*]} ${cld[*]} --verbose=3
+}
next reply other threads:[~2016-03-26 22:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-26 22:04 Sergei Trofimovich [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-05-24 19:15 [gentoo-commits] repo/gentoo:master commit in: dev-haskell/wxc/ Pacho Ramos
2020-09-12 22:53 Sergei Trofimovich
2021-04-17 10:25 Sergei Trofimovich
2021-04-24 12:37 Sergei Trofimovich
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=1459029755.736a568f188ea020e5c2920ad755c2733e3e39b5.slyfox@gentoo \
--to=slyfox@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