basic functionality on Wayland and X11

This commit is contained in:
mtgmonkey
2025-12-11 18:15:32 +01:00
parent ab69702910
commit 8a16c6695e
16 changed files with 14299 additions and 190 deletions

57
hs-rgfw.cabal Normal file
View File

@@ -0,0 +1,57 @@
cabal-version: 3.0
name: hs-rgfw
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.1.0.0
-- A short (one-line) description of the package.
-- synopsis:
-- A longer description of the package.
-- description:
homepage: https://git.mtgmonkey.net/Andromeda/hs-rgfw
license: BSD-3-Clause
license-file: LICENSE
author: andromeda
maintainer: @andromeda:tchncs.de
-- A copyright notice.
-- copyright:
category: Development
build-type: Custom
extra-doc-files: CHANGELOG.md
-- Extra source files to be distributed with the package, such as examples, or a tutorial module.
-- extra-source-files:
common warnings
ghc-options:
-Wall
-Widentities
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wpartial-fields
-Wredundant-constraints
custom-setup
setup-depends:
base,
Cabal,
process
library
import: warnings
exposed-modules: Lib
-- Modules included in this library but not exported.
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
build-depends:
base >=4.18
pkgconfig-depends:
gl,
wayland-client,
wayland-egl,
wayland-cursor,
xkbcommon,
x11,
xcursor,
xrandr,
xi
hs-source-dirs:
lib
default-language: Haskell2010