4 Commits

Author SHA1 Message Date
hans b951f841a2 Makefile added 2026-08-11 15:34:31 +02:00
hans 007a376427 git ignore added 2026-08-11 15:33:44 +02:00
hans 5f76136a6e Added native libraries for windows x64 2026-08-11 13:16:39 +02:00
hans 312dc37945 Add x86_64-win32 native package 2026-08-11 09:35:11 +00:00
30 changed files with 69 additions and 31 deletions
+9 -23
View File
@@ -1,38 +1,24 @@
#lang racket-makefile #lang racket-makefile
(require package-zipper (require git
git package-zipper)
)
(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))
(when (directory-exists? "scribblings") (for-each (λ (f) (displayln f) (rm-f f)) (list-files "scrbl" #px"[.](css|js|html)$"))
(for-each (λ (f) (displayln f) (rm-f f)) (list-files "scribblings" #px"[.](css|js|html)$")))
) )
(target package (target package
(deps clean) (deps clean)
(zip-package)) (zip-package))
(target housekeeping (target windows
(displayln "Committing changes for:") (displayln "does nothing yet"))
(let ((changes (git 'status))) ;(git 'add '-A)
(when (> (length changes) 0) ;(git 'commit
(dgit 'status) ;(git 'switch "
(displayln "Adding...")
(dgit 'add '-A)
(displayln "Committing...")
(dgit 'commit (git-prompt))
(displayln "Pushing...")
(dgit 'push)))
)
(target main
(deps housekeeping)
(git 'switch "main"))
+4 -4
View File
@@ -1,15 +1,15 @@
# racket-audio-x86_64-linux # racket-audio-x86_64-win32
Native libraries for `racket-audio` on Linux x86_64. Native libraries for `racket-audio` on Windows 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:
*.so / *.so.* *.dll
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-linux <git-url>#x86_64-win32
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
@@ -0,0 +1,25 @@
#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"))
+31 -4
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-linux\"") "native libraries for \"racket-audio\" on \"x86_64-win32\"")
(define pkg-authors (define pkg-authors
'(hans)) '(hans))
@@ -14,13 +14,40 @@
'(Apache-2.0 OR MIT)) '(Apache-2.0 OR MIT))
(define install-platform (define install-platform
"x86_64-linux") "win32\\x86_64")
;; 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.