|
| 1 | +# Copyright 1999-2026 Gentoo Authors |
| 2 | +# Distributed under the terms of the GNU General Public License v2 |
| 3 | + |
| 4 | +EAPI=8 |
| 5 | + |
| 6 | +# ebuild generated by hackport 0.9.1.0.9999 |
| 7 | + |
| 8 | +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" |
| 9 | +inherit haskell-cabal |
| 10 | + |
| 11 | +DESCRIPTION="A drone-based team combat game for up to 32 players" |
| 12 | +HOMEPAGE="https://gitlab.com/awjchen/pixelpusher" |
| 13 | + |
| 14 | +GIT_REPO="https://gitlab.com/awjchen/pixelpusher" |
| 15 | +GIT_COMMIT="6a515fee1dc12ad9936e33a25d1ae1d98bdcd4e0" # tag: v0.83.0 |
| 16 | +GIT_P="${PN}-${GIT_COMMIT}" |
| 17 | + |
| 18 | +SRC_URI="${GIT_REPO}/-/archive/${GIT_COMMIT}/${GIT_P}.tar.bz2" |
| 19 | + |
| 20 | +S="${WORKDIR}/${GIT_P}" |
| 21 | +CABAL_FILE="${S}/${PN}.cabal" |
| 22 | + |
| 23 | +LICENSE="BSD" |
| 24 | +SLOT="0/${PV}" |
| 25 | +KEYWORDS="~amd64" |
| 26 | + |
| 27 | +RDEPEND="dev-haskell/async:=[profile?] |
| 28 | + dev-haskell/cereal:=[profile?] |
| 29 | + dev-haskell/cereal-text:=[profile?] |
| 30 | + dev-haskell/cereal-vector:=[profile?] |
| 31 | + dev-haskell/dlist:=[profile?] |
| 32 | + dev-haskell/fast-logger:=[profile?] |
| 33 | + dev-haskell/file-embed:=[profile?] |
| 34 | + dev-haskell/fixed:=[profile?] |
| 35 | + dev-haskell/freetype2:=[profile?] |
| 36 | + dev-haskell/generic-lens:=[profile?] |
| 37 | + dev-haskell/gl:=[profile?] |
| 38 | + dev-haskell/glfw-b:=[profile?] |
| 39 | + dev-haskell/hashable:=[profile?] |
| 40 | + dev-haskell/http-types:=[profile?] |
| 41 | + dev-haskell/microlens:=[profile?] |
| 42 | + dev-haskell/microlens-platform:=[profile?] |
| 43 | + dev-haskell/mmorph:=[profile?] |
| 44 | + dev-haskell/mwc-random:=[profile?] |
| 45 | + dev-haskell/network:=[profile?] |
| 46 | + dev-haskell/nonempty-vector:=[profile?] |
| 47 | + dev-haskell/openal-ffi:=[profile?] |
| 48 | + dev-haskell/optparse-applicative:=[profile?] |
| 49 | + dev-haskell/opusfile:=[profile?] |
| 50 | + dev-haskell/prettyprinter:=[profile?] |
| 51 | + dev-haskell/profunctors:=[profile?] |
| 52 | + dev-haskell/prometheus:=[profile?] |
| 53 | + dev-haskell/psqueues:=[profile?] |
| 54 | + dev-haskell/random:=[profile?] |
| 55 | + dev-haskell/search-algorithms:=[profile?] |
| 56 | + dev-haskell/semver:=[profile?] |
| 57 | + dev-haskell/statevar:=[profile?] |
| 58 | + dev-haskell/strict:=[profile?] |
| 59 | + dev-haskell/text:=[profile?] |
| 60 | + dev-haskell/toml-parser:=[profile?] |
| 61 | + dev-haskell/typed-process:=[profile?] |
| 62 | + dev-haskell/unagi-chan:=[profile?] |
| 63 | + dev-haskell/unordered-containers:=[profile?] |
| 64 | + dev-haskell/vector:=[profile?] |
| 65 | + dev-haskell/vector-algorithms:=[profile?] |
| 66 | + dev-haskell/vector-sized:=[profile?] |
| 67 | + dev-haskell/wai:=[profile?] |
| 68 | + dev-haskell/warp:=[profile?] |
| 69 | + >=dev-lang/ghc-9.0.2:= |
| 70 | +" |
| 71 | +DEPEND="${RDEPEND} |
| 72 | + >=dev-haskell/cabal-3.4.1.0 |
| 73 | + test? ( dev-haskell/hspec |
| 74 | + dev-haskell/quickcheck ) |
| 75 | +" |
| 76 | +BDEPEND="dev-haskell/hpack[executable(+)]" |
| 77 | + |
| 78 | +src_prepare() { |
| 79 | + hpack || die |
| 80 | + |
| 81 | + haskell-cabal_src_prepare |
| 82 | +} |
0 commit comments