summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-06-06 12:28:55 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-06-06 12:30:04 +0100
commit1565d0e79334ef5a231bf9f22631d3a72a4df874 (patch)
tree6ce6ecfa0f100742db7caae678b437964ff12e6d
parentdev-haskell/gtk: drop pld (diff)
downloadgentoo-1565d0e79334ef5a231bf9f22631d3a72a4df874.tar.gz
gentoo-1565d0e79334ef5a231bf9f22631d3a72a4df874.tar.bz2
gentoo-1565d0e79334ef5a231bf9f22631d3a72a4df874.zip
dev-haskell/glade: bump up to 0.13.1
Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rw-r--r--dev-haskell/glade/Manifest1
-rw-r--r--dev-haskell/glade/files/glade-0.13.1-glib-2.62.patch10
-rw-r--r--dev-haskell/glade/glade-0.13.1.ebuild38
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-haskell/glade/Manifest b/dev-haskell/glade/Manifest
index a2da7d7813a4..7fd0594752c4 100644
--- a/dev-haskell/glade/Manifest
+++ b/dev-haskell/glade/Manifest
@@ -1 +1,2 @@
DIST glade-0.12.5.0.tar.gz 152942 BLAKE2B ddcdaf5b74feff1992e754f11367cdccddb19c7e08c89d86af337c90c5cb0b450f04a0a45568b4f0837033d297a7b636fea09097462497b6abcef959a6fd1121 SHA512 5ea6ac03e919b881b53649c340d23eacc4c7e7055d9425b581c38bbc08192ad65e009b9bf03e9f224cee69ee2301354b2e42f4c7c845349b2b34fcdf8994c865
+DIST glade-0.13.1.tar.gz 145648 BLAKE2B 31d650bdbe848b2e14efadc90f074664775cfa040def9328c084871efbd708a1bd03d34047d83f9a76cfe4069f14f787c50bde419abb0539597be2ea4a806032 SHA512 3e4282c4a8170351a6c82bf346685da7dd192d9e0139d8ef3f104f085b10686d1b89a77f01f1edc500f5d9584c1c31a63d1f89dc48a1a9a3f100207ae425ddce
diff --git a/dev-haskell/glade/files/glade-0.13.1-glib-2.62.patch b/dev-haskell/glade/files/glade-0.13.1-glib-2.62.patch
new file mode 100644
index 000000000000..953c9df0ec13
--- /dev/null
+++ b/dev-haskell/glade/files/glade-0.13.1-glib-2.62.patch
@@ -0,0 +1,10 @@
+--- a/glade.cabal
++++ b/glade.cabal
+@@ -82,6 +82,7 @@ Library
+ default-language: Haskell98
+ default-extensions: ForeignFunctionInterface
+
++ cpp-options: -D__attribute__(A)=
+ if os(darwin)
+ cpp-options: -U__BLOCKS__ -D__attribute__(A)= -D_Nullable= -D_Nonnull=
+
diff --git a/dev-haskell/glade/glade-0.13.1.ebuild b/dev-haskell/glade/glade-0.13.1.ebuild
new file mode 100644
index 000000000000..f00e962571d0
--- /dev/null
+++ b/dev-haskell/glade/glade-0.13.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.4.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Binding to the glade library"
+HOMEPAGE="http://projects.haskell.org/gtk2hs/"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="2/${PV}"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/glib-0.13.4:0=[profile?] <dev-haskell/glib-0.14:0=[profile?]
+ >=dev-haskell/gtk-0.14.5:2=[profile?] <dev-haskell/gtk-0.15:2=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ gnome-base/libglade:2.0
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.24
+ >=dev-haskell/gtk2hs-buildtools-0.13.2.0:0= <dev-haskell/gtk2hs-buildtools-0.14:0=
+ virtual/pkgconfig
+"
+
+PATCHES=("${FILESDIR}"/${PN}-0.13.1-glib-2.62.patch)
+
+src_prepare() {
+ default
+
+ cabal_chdeps \
+ 'Cabal >= 1.24 && < 1.25' 'Cabal >= 1.24'
+}