Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0f5094503a |
-19
@@ -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
|
|
||||||
|
|
||||||
@@ -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"))
|
|
||||||
@@ -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:
|
Windows x86_64 racket-audio-x86_64-win32
|
||||||
|
Linux x86_64 racket-audio-x86_64-linux
|
||||||
*.so / *.so.*
|
Linux ARM64 racket-audio-aarch64-linux
|
||||||
|
macOS Apple Silicon racket-audio-aarch64-macosx
|
||||||
List every shipped native file in `copy-foreign-libs` in `info.rkt`.
|
|
||||||
|
|
||||||
Racket Package Index source:
|
|
||||||
|
|
||||||
<git-url>#x86_64-linux
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
(define version "0.1.0")
|
(define version "0.1.0")
|
||||||
|
|
||||||
(define pkg-desc
|
(define pkg-desc
|
||||||
"native libraries for \"racket-audio\" on \"x86_64-linux\"")
|
"native libraries for \"racket-audio\"")
|
||||||
|
|
||||||
(define pkg-authors
|
(define pkg-authors
|
||||||
'(hans))
|
'(hans))
|
||||||
@@ -13,14 +13,19 @@
|
|||||||
(define license
|
(define license
|
||||||
'(Apache-2.0 OR MIT))
|
'(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
|
(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"))
|
||||||
|
|||||||
Reference in New Issue
Block a user