| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.8.0 | 8 | ~amd64 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# ebuild generated by hackport 0.6.7.9999
#hackport: flags: -hgettext
CABAL_FEATURES="test-suite"
inherit haskell-cabal
DESCRIPTION="Draw sequence diagrams of D-Bus traffic"
HOMEPAGE="https://gitlab.freedesktop.org/bustle/bustle#readme"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="LGPL-2.1 GPL-2 GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="interactivetests +threaded"
PATCHES=(
"${FILESDIR}"/${P}-ghc-9.8.patch
)
RDEPEND="dev-haskell/cairo:=
dev-haskell/gio:=
dev-haskell/glib:=
dev-haskell/gtk3:=
>=dev-haskell/mtl-2.2.1:=
dev-haskell/pango:=
dev-haskell/text:=
>=dev-lang/ghc-8.4.3:=
dev-libs/glib:2
net-libs/libpcap
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-2.2.0.1
virtual/pkgconfig
test? ( dev-haskell/hunit
dev-haskell/quickcheck
dev-haskell/test-framework
dev-haskell/test-framework-hunit )
"
src_configure() {
haskell-cabal_src_configure \
--flag=-hgettext \
$(cabal_flag interactivetests interactivetests) \
$(cabal_flag threaded threaded)
}
src_compile() {
# compile haskell part
haskell-cabal_src_compile || die "could not build haskell parts"
# compile C part
emake \
"CC=$(tc-getCC)" \
"CFLAGS=${CFLAGS}" \
"CPPFLAGS=${CPPFLAGS}" \
"LDFLAGS=${LDFLAGS}"
}
src_install() {
# install haskell part
haskell-cabal_src_install || die "could not install haskell parts"
dobin "${S}"/dist/build/bustle-pcap
doman bustle-pcap.1
dodoc README.md NEWS.md
}
dev-haskell/cairo:= dev-haskell/gio:= dev-haskell/glib:= dev-haskell/gtk3:= >=dev-haskell/mtl-2.2.1:= dev-haskell/pango:= dev-haskell/text:= >=dev-lang/ghc-8.4.3:= dev-libs/glib:2 net-libs/libpcap >=dev-haskell/cabal-2.2.0.1 virtual/pkgconfig test? ( dev-haskell/hunit dev-haskell/quickcheck dev-haskell/test-framework dev-haskell/test-framework-hunit )
dev-haskell/cairo:= dev-haskell/gio:= dev-haskell/glib:= dev-haskell/gtk3:= >=dev-haskell/mtl-2.2.1:= dev-haskell/pango:= dev-haskell/text:= >=dev-lang/ghc-8.4.3:= dev-libs/glib:2 net-libs/libpcap
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | bustle-0.8.0.tar.gz | 101175 bytes | https://hackage.haskell.org/package/bustle-0.8.0/bustle-0.8.0.tar.gz |