1 Commits

Author SHA1 Message Date
hans 0f5094503a Add native-libs meta package 2026-08-11 09:35:11 +00:00
4 changed files with 23 additions and 79 deletions
-19
View File
@@ -1,19 +0,0 @@
# ---> Racket
# gitignore template for the Racket language
# website: http://www.racket-lang.org/
# DrRacket autosave files
*.rkt~
*.rkt.bak
\#*.rkt#
\#*.rkt#*#
# Compiled racket bytecode
compiled/
*.zo
# Dependency tracking files
*.dep
*.bak
-38
View File
@@ -1,38 +0,0 @@
#lang racket-makefile
(require package-zipper
git
)
(target all
(displayln "use (make clean) or (make package)")
)
(target clean
(for-each (λ (f) (displayln f) (rm-f f)) (list-files "." #px"([.]bak|~)$" #:recursive #t))
(for-each (λ (d) (displayln d) (rm-rf d)) (list-dirs "." #px"(compiled|doc)$" #:recursive #t))
(when (directory-exists? "scribblings")
(for-each (λ (f) (displayln f) (rm-f f)) (list-files "scribblings" #px"[.](css|js|html)$")))
)
(target package
(deps clean)
(zip-package))
(target housekeeping
(displayln "Committing changes for:")
(let ((changes (git 'status)))
(when (> (length changes) 0)
(dgit 'status)
(displayln "Adding...")
(dgit 'add '-A)
(displayln "Committing...")
(dgit 'commit (git-prompt))
(displayln "Pushing...")
(dgit 'push)))
)
(target main
(deps housekeeping)
(git 'switch "main"))
+8 -12
View File
@@ -1,15 +1,11 @@
# racket-audio-x86_64-linux
# racket-audio-native-libs
Native libraries for `racket-audio` on Linux x86_64.
Meta-package for the native libraries used by `racket-audio`.
Put the native files directly in the root of this branch, next to `info.rkt`.
This branch contains no native libraries. It selects the package matching the
current Racket platform:
Expected file type:
*.so / *.so.*
List every shipped native file in `copy-foreign-libs` in `info.rkt`.
Racket Package Index source:
<git-url>#x86_64-linux
Windows x86_64 racket-audio-x86_64-win32
Linux x86_64 racket-audio-x86_64-linux
Linux ARM64 racket-audio-aarch64-linux
macOS Apple Silicon racket-audio-aarch64-macosx
+15 -10
View File
@@ -5,7 +5,7 @@
(define version "0.1.0")
(define pkg-desc
"native libraries for \"racket-audio\" on \"x86_64-linux\"")
"native libraries for \"racket-audio\"")
(define pkg-authors
'(hans))
@@ -13,14 +13,19 @@
(define license
'(Apache-2.0 OR MIT))
(define install-platform
"x86_64-linux")
;; Add every native library shipped in this branch, including runtime
;; dependencies required by the primary audio libraries.
(define copy-foreign-libs
'())
(define deps
'("base"))
'("base"
["racket-audio-x86_64-win32"
#:platform "win32\\x86_64"]
["racket-audio-x86_64-linux"
#:platform "x86_64-linux"]
["racket-audio-aarch64-linux"
#:platform "aarch64-linux"]
["racket-audio-aarch64-macosx"
#:platform "aarch64-macosx"]))
(define update-implies
'("racket-audio-x86_64-win32"
"racket-audio-x86_64-linux"
"racket-audio-aarch64-linux"
"racket-audio-aarch64-macosx"))