From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-haskell/wavy/Manifest | 5 +++ .../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, 75 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..92d17dcb5370 --- /dev/null +++ b/dev-haskell/wavy/Manifest @@ -0,0 +1,5 @@ +AUX wavy-0.1.0.0-binary-0.8.patch 454 SHA256 b7f26d09a0122bfe3031726bc39a23d7db4e6e26e8d22eed49b4241f26aca655 SHA512 01e86475fcb6b022bf5560b4338e2d7a574bbafbcaf8b71be32d54809ebffc76dd2a88a101f5fcc8333bd494fe02dc953895cec2b071668fe42f557918b3be79 WHIRLPOOL b209db7a681dca9dc74ebf2c49c7964ad36f80df3837cc2d57c9bb42cbbbfab18a43d64b343f412ec087ec56861e0190d2dece2cef92afbcb7d8f9b938884b1a +DIST wavy-0.1.0.0.tar.gz 25100 SHA256 3849bf156ba6b2cb7f8665b66a398a175b3579534c7bc1e0f5357e7a5ad57f67 SHA512 25103aeae5104f6525b75cae4aea1b70e3998a56e4c262462a8dd7b8edfee2749fbd099e81a2c2bde0bfb0211e2194d0e4df705bd8882e526516c85be0fdd94d WHIRLPOOL 7105e0da09c621d20fc124ae32242e9c8eb0100e25c7ad0d4e8d0b78d0b5ad0cc102c392a49b9a287bc380065b1aad165a32612f2ecf5a898a30593f4f826002 +EBUILD wavy-0.1.0.0.ebuild 1019 SHA256 84656b3ded5476bca036ef1ade45ff8ab65ad59a9970314b19a8f4276ea567a5 SHA512 2171b39699aff89e27394b3fe1718f3a7c1e86725e48140c9a2071b4ca2bc9f2acad2897f3cc698360ea2859d9586fe4177a722ad0e5f43b76c4ef6d552e2fa6 WHIRLPOOL 87c6235676f69b7f0109a48f656168cf974f4f3714d4494058db324ca8667a960ffac9b91785d799c7843cba4b21aa43ba7e1f9c84a41184fe8b9d1eafcbbe47 +MISC ChangeLog 389 SHA256 5e12a3cc29ed704f70212970586cf8ce1ea54d5a764beae9e909bbf33d57afc8 SHA512 0fd926d32bee9a97c4dc270cdf42f7b764fce52df765cd117eb55fbeda8872c3053e6cf9eb36ef9e8df2c1d5f5a6d9893bb1d31dffab3b7e3b050b039ebcabdf WHIRLPOOL 69288567388872bbb5fc049351d915074e2635fdacb48ef97039f45b4a57a8f1f0bc0ee19decb27d6f3d6fda6425386a5796d984e65a4b69db5a95d179c718fc +MISC metadata.xml 624 SHA256 96879d185e40c996e6860782fc0ffd1233a0411f4ac521393a810cfd78f1fd04 SHA512 8442163e564335e43e3010df0183a5b6e15fcda2650ce97cc59c410bc978171b49a65b926229c7d02c8f7ffad4232b160a326fddca89e20822d4930e84c6ff8b WHIRLPOOL 6b609cdfe81896704e716310109c7d068c9b72cb13c93596082362bdd9fb517b7061d77702f858cce726e4aa30989033b22cc54ffc6687d3e68a2e7055bfec98 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..002f595f6183 --- /dev/null +++ b/dev-haskell/wavy/wavy-0.1.0.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2016 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="http://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