From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-haskell/wavy/Manifest | 4 +++ .../wavy/files/wavy-0.1.0.0-binary-0.8.patch | 14 ++++++++ dev-haskell/wavy/metadata.xml | 16 +++++++++ dev-haskell/wavy/wavy-0.1.0.0.ebuild | 40 ++++++++++++++++++++++ 4 files changed, 74 insertions(+) create mode 100644 dev-haskell/wavy/Manifest create mode 100644 dev-haskell/wavy/files/wavy-0.1.0.0-binary-0.8.patch create mode 100644 dev-haskell/wavy/metadata.xml create mode 100644 dev-haskell/wavy/wavy-0.1.0.0.ebuild (limited to 'dev-haskell/wavy') diff --git a/dev-haskell/wavy/Manifest b/dev-haskell/wavy/Manifest new file mode 100644 index 000000000000..79fc60be3412 --- /dev/null +++ b/dev-haskell/wavy/Manifest @@ -0,0 +1,4 @@ +AUX wavy-0.1.0.0-binary-0.8.patch 454 BLAKE2B 8865e15588ef0a9fa603da3aefa793ad7b26c0f39aa93ca3fe3ffdd04a6d3e64fea28c647acd775df0a1a6c88042496cc92387f9f5de0250a885a61cc5ce7914 SHA512 01e86475fcb6b022bf5560b4338e2d7a574bbafbcaf8b71be32d54809ebffc76dd2a88a101f5fcc8333bd494fe02dc953895cec2b071668fe42f557918b3be79 +DIST wavy-0.1.0.0.tar.gz 25100 BLAKE2B 5c4926c22b0a874b84a02fdff9218aa78f78a97dd736ae1243e99bfe368c8d136dc463346c3905e794b70deaeba5dab7223a54fa43304d67234cb16f0bd489e2 SHA512 25103aeae5104f6525b75cae4aea1b70e3998a56e4c262462a8dd7b8edfee2749fbd099e81a2c2bde0bfb0211e2194d0e4df705bd8882e526516c85be0fdd94d +EBUILD wavy-0.1.0.0.ebuild 1020 BLAKE2B 5de2be83b1c8d482cbc51174c8b0421dc44c132c8cdcbd3538c8780e284efd816dce4f094dabc695b0c5d948c51c2ab58a853a33991d0a27290c63b8c23ff783 SHA512 60bf7b0cb911c405f60fc1e1d53853f100d425860ee9b961f130ddce4cb43ab8fb52d39b688b6c2035bd4ce6d4acb510d8319c0a6fa692933e561e4c36018d54 +MISC metadata.xml 624 BLAKE2B c3a9f576830d189dc88e76910ea9857b6d77fb9bfb12ee8187512b81c41a4a42097efd24daf05b63da4c91029eb7044a4013772b6b5045c3638fa1852d9ababd SHA512 8442163e564335e43e3010df0183a5b6e15fcda2650ce97cc59c410bc978171b49a65b926229c7d02c8f7ffad4232b160a326fddca89e20822d4930e84c6ff8b diff --git a/dev-haskell/wavy/files/wavy-0.1.0.0-binary-0.8.patch b/dev-haskell/wavy/files/wavy-0.1.0.0-binary-0.8.patch new file mode 100644 index 000000000000..88db75b995c2 --- /dev/null +++ b/dev-haskell/wavy/files/wavy-0.1.0.0-binary-0.8.patch @@ -0,0 +1,14 @@ +diff --git a/Sound/Wav/Binary.hs b/Sound/Wav/Binary.hs +index d2c539c..11883a3 100644 +--- a/Sound/Wav/Binary.hs ++++ b/Sound/Wav/Binary.hs +@@ -1 +1,2 @@ ++{-# LANGUAGE CPP #-} + -- | This module provides helper binary functions to get integer values from binary streams and put +@@ -8,2 +9,3 @@ import Data.Int + ++#if ! MIN_VERSION_binary(0,8,0) + getInt8 :: Get Int8 +@@ -31 +33,2 @@ putInt64le :: Int64 -> Put + putInt64le = putWord64le . fromIntegral ++#endif diff --git a/dev-haskell/wavy/metadata.xml b/dev-haskell/wavy/metadata.xml new file mode 100644 index 000000000000..162d299f5c8f --- /dev/null +++ b/dev-haskell/wavy/metadata.xml @@ -0,0 +1,16 @@ + + + + + haskell@gentoo.org + Gentoo Haskell + + + Wavy was designed to be a fast and efficient method of extracting and writing PCM + data to and from WAV files. It is here to help you make fast use of Audio + data in your Haskell programs and thus encourage many more audio projects in Haskell. + + + robertmassaioli/wavy + + diff --git a/dev-haskell/wavy/wavy-0.1.0.0.ebuild b/dev-haskell/wavy/wavy-0.1.0.0.ebuild new file mode 100644 index 000000000000..f9e4129db057 --- /dev/null +++ b/dev-haskell/wavy/wavy-0.1.0.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# ebuild generated by hackport 0.5.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Process WAVE files in Haskell" +HOMEPAGE="https://bitbucket.org/robertmassaioli/wavy" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-haskell/pretty-show:=[profile?] + >=dev-haskell/riff-0.3:=[profile?] =dev-haskell/split-0.2:=[profile?] =dev-haskell/vector-0.10:=[profile?] + >=dev-lang/ghc-7.8.2:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.18.1.3 +" + +PATCHES=("${FILESDIR}"/${P}-binary-0.8.patch) + +src_prepare() { + default + + cabal_chdeps \ + 'vector ==0.10.*' 'vector >= 0.10' \ + 'filepath ==1.3.*' 'filepath >= 1.3' \ + 'binary ==0.7.*' 'binary >= 0.7' \ + 'containers ==0.4.*' 'containers >= 0.4' +} -- cgit v1.2.3