packages feed

hs-wayland-scanner-0.1.0: examples/hello-world/hello-world.cabal

cabal-version: 3.0
name:          HelloWorld
version:       0.1
author:        Andrea Rossato
maintainer:    andrea.rossato@unitn.it
homepage:      https://codeberg.org/andrea_rossato/hs-wayland-scanner
synopsis:      a simple wayland client
description:   a simple wayland client

category:           System
license:            BSD-3-Clause
extra-source-files: README.md
build-type:         Simple

library
    hs-source-dirs:   ./src
    exposed-modules:  Graphics.Wayland.Client.Core
                      Graphics.Wayland.Client.Protocol.Wayland
                      Graphics.Wayland.Protocol.Wayland
                      Graphics.Wayland.Client.Protocol.XdgShell
                      Graphics.Wayland.Protocol.XdgShell
    include-dirs:      ./cbits
    c-sources:         ./cbits/wayland-client-protocols.c
    build-depends:     base, unix
    pkgconfig-depends: wayland-client
    ghc-options:        -O -Wall
    ghc-prof-options:   -auto-all
    default-language:   Haskell2010
    default-extensions: ForeignFunctionInterface

executable hello-world
    main-is:        HelloWorld.hs
    hs-source-dirs: ., ./src
    other-modules:  Graphics.Wayland.Client.Core
                    Graphics.Wayland.Client.Protocol.Wayland
                    Graphics.Wayland.Protocol.Wayland
                    Graphics.Wayland.Client.Protocol.XdgShell
                    Graphics.Wayland.Protocol.XdgShell
                    Buffer
    include-dirs:   ./cbits
    c-sources:      ./cbits/wayland-client-protocols.c
    build-depends:  base, unix
    pkgconfig-depends: wayland-client
    ghc-options:        -O -Wall
    ghc-prof-options:   -auto-all
    default-language:   Haskell2010
    default-extensions: ForeignFunctionInterface