diff options
| author | John Kehayias <john.kehayias@protonmail.com> | 2022-09-16 15:00:45 -0400 |
|---|---|---|
| committer | John Kehayias <john.kehayias@protonmail.com> | 2023-04-22 21:25:25 -0400 |
| commit | 95ca791b446a641a3e9f8cfc1f6cf0e33ca290ab (patch) | |
| tree | 27868cf0a125d64a96bf3787b46cde366a9ddae1 | |
| parent | 8914e78e5476b3c80bccc11fb819c656e24a528e (diff) | |
nongnu: Add libdrm-next.
* nongnu/packages/mesa.scm: New module.
(libdrm-next): New variable. Taken from libdrm on the core-updates branch of
Guix.
| -rw-r--r-- | nongnu/packages/mesa.scm | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/nongnu/packages/mesa.scm b/nongnu/packages/mesa.scm new file mode 100644 index 0000000..d012a21 --- /dev/null +++ b/nongnu/packages/mesa.scm | |||
| @@ -0,0 +1,56 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | ||
| 2 | ;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com> | ||
| 3 | ;;; | ||
| 4 | ;;; This file is not part of GNU Guix. | ||
| 5 | ;;; | ||
| 6 | ;;; This program is free software: you can redistribute it and/or modify | ||
| 7 | ;;; it under the terms of the GNU General Public License as published by | ||
| 8 | ;;; the Free Software Foundation, either version 3 of the License, or | ||
| 9 | ;;; (at your option) any later version. | ||
| 10 | ;;; | ||
| 11 | ;;; This program is distributed in the hope that it will be useful, | ||
| 12 | ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | ;;; GNU General Public License for more details. | ||
| 15 | ;;; | ||
| 16 | ;;; You should have received a copy of the GNU General Public License | ||
| 17 | ;;; along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
| 18 | |||
| 19 | (define-module (nongnu packages mesa) | ||
| 20 | #:use-module (gnu packages bison) | ||
| 21 | #:use-module (gnu packages elf) | ||
| 22 | #:use-module (gnu packages flex) | ||
| 23 | #:use-module (gnu packages freedesktop) | ||
| 24 | #:use-module (gnu packages xml) | ||
| 25 | #:use-module (gnu packages gl) | ||
| 26 | #:use-module (gnu packages gettext) | ||
| 27 | #:use-module (gnu packages llvm) | ||
| 28 | #:use-module (gnu packages pkg-config) | ||
| 29 | #:use-module (gnu packages python) | ||
| 30 | #:use-module (gnu packages python-xyz) | ||
| 31 | #:use-module (gnu packages video) | ||
| 32 | #:use-module (gnu packages xdisorg) | ||
| 33 | #:use-module (gnu packages xorg) | ||
| 34 | #:use-module (gnu packages vulkan) | ||
| 35 | #:use-module (guix build-system meson) | ||
| 36 | #:use-module (guix download) | ||
| 37 | #:use-module (guix packages) | ||
| 38 | #:use-module (guix utils) | ||
| 39 | #:use-module ((guix licenses) #:prefix license:) | ||
| 40 | #:use-module (ice-9 match) | ||
| 41 | #:use-module (srfi srfi-1)) | ||
| 42 | |||
| 43 | ;; Taken from (gnu packages xdisorg) on the current core-updates branch. | ||
| 44 | ;; Remove once merged to Guix's master branch. | ||
| 45 | (define libdrm-next | ||
| 46 | (package | ||
| 47 | (inherit libdrm) | ||
| 48 | (version "2.4.112") | ||
| 49 | (source (origin | ||
| 50 | (method url-fetch) | ||
| 51 | (uri (string-append | ||
| 52 | "https://dri.freedesktop.org/libdrm/libdrm-" | ||
| 53 | version ".tar.xz")) | ||
| 54 | (sha256 | ||
| 55 | (base32 | ||
| 56 | "1zr0hi7k5s7my4q9hyj6ryzg89zyjx24zbqfv3c5rcq9pl87gc00")))))) | ||
