5 Commits

Author SHA1 Message Date
hans d7a1e32412 gitignore added. 2026-08-11 20:47:06 +02:00
hans 879ffb1e80 2026-08-11 20:45:44 +02:00
hans 3cf7dce49e makefile 2026-08-11 20:42:50 +02:00
hans c3184169e9 makefile added 2026-08-11 20:41:35 +02:00
hans 947b79e153 Add x86_64-linux native package 2026-08-11 09:35:11 +00:00
30 changed files with 17 additions and 72 deletions
+9 -12
View File
@@ -1,15 +1,19 @@
#lang racket-makefile #lang racket-makefile
(require git (require package-zipper
package-zipper) git
)
(target all (target all
(displayln "use (make clean) or (make package)")) (displayln "use (make clean) or (make package)")
)
(target clean (target clean
(for-each (λ (f) (displayln f) (rm-f f)) (list-files "." #px"([.]bak|~)$" #:recursive #t)) (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)) (for-each (λ (d) (displayln d) (rm-rf d)) (list-dirs "." #px"(compiled|doc)$" #:recursive #t))
(for-each (λ (f) (displayln f) (rm-f f)) (list-files "scrbl" #px"[.](css|js|html)$")) (when (directory-exists? "scribblings")
(for-each (λ (f) (displayln f) (rm-f f)) (list-files "scribblings" #px"[.](css|js|html)$")))
) )
(target package (target package
@@ -28,14 +32,7 @@
(displayln "Pushing...") (displayln "Pushing...")
(dgit 'push))) (dgit 'push)))
) )
(target main (target main
(deps housekeeping) (deps housekeeping)
(displayln "Switching back to main branch") (git 'switch "main"))
(dgit 'switch "main")
(dgit 'branch-current)
)
+4 -4
View File
@@ -1,15 +1,15 @@
# racket-audio-x86_64-win32 # racket-audio-x86_64-linux
Native libraries for `racket-audio` on Windows x86_64. Native libraries for `racket-audio` on Linux x86_64.
Put the native files directly in the root of this branch, next to `info.rkt`. Put the native files directly in the root of this branch, next to `info.rkt`.
Expected file type: Expected file type:
*.dll *.so / *.so.*
List every shipped native file in `copy-foreign-libs` in `info.rkt`. List every shipped native file in `copy-foreign-libs` in `info.rkt`.
Racket Package Index source: Racket Package Index source:
<git-url>#x86_64-win32 <git-url>#x86_64-linux
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
-25
View File
@@ -1,25 +0,0 @@
#lang info
(define collection 'multi)
(define version "0.1.0")
(define pkg-desc
"native libraries for \"racket-audio\" on \"x86_64-win32\"")
(define pkg-authors
'(hans))
(define license
'(Apache-2.0 OR MIT))
(define install-platform
"win32\\x86_64")
;; Add every native library shipped in this branch, including runtime
;; dependencies required by the primary audio libraries.
(define copy-foreign-libs
'())
(define deps
'("base"))
+4 -31
View File
@@ -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-win32\"") "native libraries for \"racket-audio\" on \"x86_64-linux\"")
(define pkg-authors (define pkg-authors
'(hans)) '(hans))
@@ -14,40 +14,13 @@
'(Apache-2.0 OR MIT)) '(Apache-2.0 OR MIT))
(define install-platform (define install-platform
"win32\\x86_64") "x86_64-linux")
;; Add every native library shipped in this branch, including runtime ;; Add every native library shipped in this branch, including runtime
;; dependencies required by the primary audio libraries. ;; dependencies required by the primary audio libraries.
(define copy-foreign-libs (define copy-foreign-libs
'("ao-play-async.dll" '())
"ao-play-async.lib"
"avcodec-62.dll"
"avdevice-62.dll"
"avfilter-11.dll"
"avformat-62.dll"
"avutil-60.dll"
"ffmpeg_audio.dll"
"ffmpeg_audio.lib"
"info.bak"
"libFLAC.dll"
"libao-1.2.2.dll"
"libao-1.2.2.lib"
"libao-static-1.2.2.lib"
"libmpg123-0.dll"
"libopusenc.dll"
"ogg.dll"
"opus.dll"
"opusfile.dll"
"opusurl.dll"
"soxr-lsr.dll"
"soxr.dll"
"swresample-6.dll"
"swscale-9.dll"
"tag.dll"
"tag_c.dll"
"zlib.dll"
)
)
(define deps (define deps
'("base")) '("base"))
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.