-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
add kmsxx recipe #30713
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
carlodri
wants to merge
41
commits into
conda-forge:main
Choose a base branch
from
carlodri:kmsxx
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
add kmsxx recipe #30713
Changes from 25 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
bea2d9d
add kmsxx recipe
carlodri d6bc541
add stdlib c
carlodri 1803ca2
fix deps
carlodri 8bd4643
add libdrm dep
carlodri a0e78b5
try to add kernel-headers_linux-64
carlodri 0eb41fc
try help meson to find linux headers
carlodri e31065b
check if this file can be seen
carlodri 9d50169
try this
carlodri 2255afa
try sysroot dep
carlodri 4d5f7f7
try listening to the linter
carlodri 52d1964
bump up the stdlib version
carlodri 172011d
not sure I know what I'm doing...
carlodri 8b79ec1
try pin_subpackage
carlodri da5001f
investigate
carlodri 31d112a
Merge branch 'kmsxx' of github-personal:carlodri/staged-recipes into …
carlodri 8df2668
try fixing libdir output (not lib64 but lib)
carlodri 41e980b
fix and textend tests
carlodri e530a1e
fix omap option
carlodri 50dd0e1
don't build omap for now
carlodri 01b6309
add x11
carlodri 9f15436
add missing dep
carlodri f0a7804
add kbproto
carlodri dc1f372
remove possibly useless kmscube
carlodri 887bda3
remove kmscube test
carlodri 5fe4804
fix actual generated executables
carlodri c047637
fix some issues with recipe
carlodri 4267de7
try to split recipe in libkmsxx and pykms
carlodri 064b496
please the linter
carlodri 5835b31
try this
carlodri b55ebf1
fix requirements
carlodri 2adc490
try to fix recipe
carlodri 305a399
add line at EOF
carlodri ed58fb9
introduce calver and direct url download
carlodri 24b37a5
put commit hash in a variable
carlodri eb075c2
fix command tests
carlodri 7fb76a7
fix tests since --help returns code 255, not 0
carlodri 66b5abe
Merge branch 'main' into kmsxx
carlodri 8ec6511
try this fix
carlodri c0c130c
Merge branch 'kmsxx' of github-personal:carlodri/staged-recipes into …
carlodri 83bfea9
Merge branch 'main' into kmsxx
carlodri 0e84bd7
update calver format to future-proof the recipe
carlodri File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
c_stdlib_version: # [linux] | ||
- 2.28 # [linux] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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') }} | ||
carlodri marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
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 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.