Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

canonical/graphics-core24

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

graphics-core24 helpers

This repository contains some helper items for working with the graphics-core24 snap interface:

  1. bin/graphics-core24-wrapper You should prime this script in your snap and use it in your command-chain: for all apps requiring GPU support:

    apps:
      app:
        plugs:
          - opengl
          - wayland
        command-chain:
          - bin/graphics-core24-wrapper
        command: usr/bin/eglinfo

    NB: the script assumes that graphics-core24.target: is set to $SNAP/graphics.

  2. bin/graphics-core24-cleanup This is a script to help avoid priming any libraries provided by the graphics-core24 providers. You should run it in override-prime: of the part whose source is this repository, after: any parts that stage any libraries, passing the names of the providers you want to make sure you're compatible with:

    parts:
      my-app:
        stage-packages:
      # ...
    
      graphics-core24:
        after: [my-app]
        source: https://github.com/MirServer/graphics-core24.git
        plugin: dump
        override-prime: |
          craftctl default
          ${CRAFT_PART_SRC}/bin/graphics-core24-cleanup mesa-core24 nvidia-core24
        prime:
          - bin/graphics-core24-wrapper

For more information about the graphics-core24 interface, see: The graphics-core24 snap interface documentation.

About

A starting point and a set of helpers for `graphics-core24` consumers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%