Skip to content
Open
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
bea2d9d
add kmsxx recipe
carlodri Aug 4, 2025
d6bc541
add stdlib c
carlodri Aug 4, 2025
1803ca2
fix deps
carlodri Aug 5, 2025
8bd4643
add libdrm dep
carlodri Aug 5, 2025
a0e78b5
try to add kernel-headers_linux-64
carlodri Aug 6, 2025
0eb41fc
try help meson to find linux headers
carlodri Aug 6, 2025
e31065b
check if this file can be seen
carlodri Aug 6, 2025
9d50169
try this
carlodri Aug 6, 2025
2255afa
try sysroot dep
carlodri Aug 6, 2025
4d5f7f7
try listening to the linter
carlodri Aug 6, 2025
52d1964
bump up the stdlib version
carlodri Aug 6, 2025
172011d
not sure I know what I'm doing...
carlodri Aug 6, 2025
8b79ec1
try pin_subpackage
carlodri Aug 6, 2025
da5001f
investigate
carlodri Aug 7, 2025
31d112a
Merge branch 'kmsxx' of github-personal:carlodri/staged-recipes into …
carlodri Aug 7, 2025
8df2668
try fixing libdir output (not lib64 but lib)
carlodri Aug 7, 2025
41e980b
fix and textend tests
carlodri Aug 7, 2025
e530a1e
fix omap option
carlodri Aug 7, 2025
50dd0e1
don't build omap for now
carlodri Aug 7, 2025
01b6309
add x11
carlodri Aug 7, 2025
9f15436
add missing dep
carlodri Aug 7, 2025
f0a7804
add kbproto
carlodri Aug 7, 2025
dc1f372
remove possibly useless kmscube
carlodri Aug 7, 2025
887bda3
remove kmscube test
carlodri Aug 7, 2025
5fe4804
fix actual generated executables
carlodri Aug 7, 2025
c047637
fix some issues with recipe
carlodri Aug 8, 2025
4267de7
try to split recipe in libkmsxx and pykms
carlodri Aug 9, 2025
064b496
please the linter
carlodri Aug 9, 2025
5835b31
try this
carlodri Aug 9, 2025
b55ebf1
fix requirements
carlodri Aug 10, 2025
2adc490
try to fix recipe
carlodri Aug 17, 2025
305a399
add line at EOF
carlodri Aug 17, 2025
ed58fb9
introduce calver and direct url download
carlodri Aug 19, 2025
24b37a5
put commit hash in a variable
carlodri Aug 19, 2025
eb075c2
fix command tests
carlodri Sep 3, 2025
7fb76a7
fix tests since --help returns code 255, not 0
carlodri Sep 3, 2025
66b5abe
Merge branch 'main' into kmsxx
carlodri Sep 3, 2025
8ec6511
try this fix
carlodri Sep 3, 2025
c0c130c
Merge branch 'kmsxx' of github-personal:carlodri/staged-recipes into …
carlodri Sep 3, 2025
83bfea9
Merge branch 'main' into kmsxx
carlodri Sep 3, 2025
0e84bd7
update calver format to future-proof the recipe
carlodri Sep 4, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions recipes/kmsxx/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash
set -ex

meson setup build \
--prefix=$PREFIX \
--libdir=lib \
-Dpykms=enabled \
-Dlibutils=true \
-Dutils=true \
-Dkmscube=false \
-Domap=auto \
--buildtype=release

ninja -C build
ninja -C build install
2 changes: 2 additions & 0 deletions recipes/kmsxx/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
c_stdlib_version: # [linux]
- 2.28 # [linux]
52 changes: 52 additions & 0 deletions recipes/kmsxx/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{% set name = "kmsxx" %}
{% set version = "0.0.0" %}

package:
name: {{ name }}
version: {{ version }}

source:
git_url: https://github.com/tomba/kmsxx.git
git_rev: master

build:
number: 0
skip: true # [win or osx]
run_exports:
- {{ pin_subpackage('kmsxx', max_pin='x') }}

requirements:
build:
- {{ compiler('cxx') }}
- {{ stdlib("c") }}
- meson
- ninja
- pkg-config
host:
- python
- pybind11
- fmt
- libdrm
run:
- python

test:
imports:
- pykms
commands:
- test -f $PREFIX/lib/libkms++.so.0
- test -f $PREFIX/lib/libkms++util.so.0
- test -x $PREFIX/bin/kmsblank
- test -x $PREFIX/bin/kmstest
- test -x $PREFIX/bin/kmsprint
- test -x $PREFIX/bin/fbtest

about:
home: https://github.com/tomba/kmsxx
license: MIT
license_file: LICENSE
summary: "DRM/KMS library for Linux with Python bindings"

extra:
recipe-maintainers:
- carlodri