aboutsummaryrefslogtreecommitdiff
path: root/hsm-stream/hsm-stream.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'hsm-stream/hsm-stream.cabal')
-rw-r--r--hsm-stream/hsm-stream.cabal49
1 files changed, 49 insertions, 0 deletions
diff --git a/hsm-stream/hsm-stream.cabal b/hsm-stream/hsm-stream.cabal
new file mode 100644
index 0000000..96bca1d
--- /dev/null
+++ b/hsm-stream/hsm-stream.cabal
@@ -0,0 +1,49 @@
+cabal-version: 3.8
+author: Paul Oliver <contact@pauloliver.dev>
+name: hsm-stream
+version: 0.1.0.0
+
+library
+ build-depends:
+ , base
+ , effectful-core
+ , effectful-plugin
+ , hsm-log
+
+ default-language: GHC2024
+ exposed-modules: Hsm.Stream
+ extra-libraries: gstreamer-1.0
+ ghc-options:
+ -O2 -Wall -Werror -Wno-star-is-type -Wunused-packages
+ -fplugin=Effectful.Plugin
+
+ include-dirs:
+ /usr/include/gstreamer-1.0 /usr/include/glib-2.0
+ /usr/lib/glib-2.0/include
+
+ other-modules: Hsm.Stream.FFI
+
+executable test-stream
+ build-depends:
+ , base
+ , effectful-core
+ , effectful-plugin
+ , hsm-log
+
+ default-language: GHC2024
+ extra-libraries: gstreamer-1.0
+ ghc-options:
+ -O2 -threaded -Wall -Werror -Wno-star-is-type -Wunused-packages
+ -fplugin=Effectful.Plugin
+
+ if !arch(x86_64)
+ ghc-options: -optl=-mno-fix-cortex-a53-835769
+
+ include-dirs:
+ /usr/include/gstreamer-1.0 /usr/include/glib-2.0
+ /usr/lib/glib-2.0/include
+
+ main-is: Test/Stream.hs
+ other-modules:
+ Hsm.Stream
+ Hsm.Stream.FFI