Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 47af0d274d | |||
| d7a1e32412 | |||
| 879ffb1e80 | |||
| 3cf7dce49e | |||
| c3184169e9 | |||
| 947b79e153 |
+19
@@ -0,0 +1,19 @@
|
|||||||
|
# ---> 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
|
||||||
|
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
#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,16 +1,16 @@
|
|||||||
# racket-audio-aarch64-macosx
|
# racket-audio-x86_64-linux
|
||||||
|
|
||||||
Native libraries for `racket-audio` on macOS Apple Silicon.
|
Native libraries for `racket-audio` on Linux x86_64.
|
||||||
|
|
||||||
Keep native files in `lib/`. The generated `info.rkt` lists every dylib
|
Keep native files in `lib/`. The generated `info.rkt` lists every shared
|
||||||
and the libao plugin that Racket must copy to its foreign-library directory.
|
library and libao plugin that Racket must copy to its foreign-library directory.
|
||||||
|
|
||||||
Expected file type:
|
Expected file type:
|
||||||
|
|
||||||
*.dylib
|
*.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>#aarch64-macosx
|
<git-url>#x86_64-linux
|
||||||
|
|||||||
@@ -2,61 +2,67 @@
|
|||||||
|
|
||||||
(define collection 'use-pkg-name)
|
(define collection 'use-pkg-name)
|
||||||
(define version "0.1")
|
(define version "0.1")
|
||||||
(define pkg-desc "native libraries for racket-audio on aarch64-macosx")
|
(define pkg-desc "native libraries for racket-audio on x86_64-linux")
|
||||||
(define pkg-authors '(hans))
|
(define pkg-authors '(hans))
|
||||||
(define license '(GPL-2.0-or-later))
|
(define license '(GPL-2.0-or-later))
|
||||||
(define install-platform #rx"^(?:aarch64|arm64)-macosx(?:/|$)")
|
(define install-platform #rx"^x86_64-linux(?:/|$)")
|
||||||
(define copy-foreign-libs
|
(define copy-foreign-libs
|
||||||
'(
|
'(
|
||||||
"lib/ao/plugins-4/libmacosx.so"
|
"lib/ao/plugins-4/libalsa.so"
|
||||||
"lib/libFLAC++.11.0.0.dylib"
|
"lib/ao/plugins-4/liboss.so"
|
||||||
"lib/libFLAC++.11.dylib"
|
"lib/libFLAC++.so"
|
||||||
"lib/libFLAC++.dylib"
|
"lib/libFLAC++.so.11"
|
||||||
"lib/libFLAC.14.0.0.dylib"
|
"lib/libFLAC++.so.11.0.0"
|
||||||
"lib/libFLAC.14.dylib"
|
"lib/libFLAC.so"
|
||||||
"lib/libFLAC.dylib"
|
"lib/libFLAC.so.14"
|
||||||
"lib/libao.4.dylib"
|
"lib/libFLAC.so.14.0.0"
|
||||||
"lib/libao.dylib"
|
"lib/libao.so"
|
||||||
"lib/libavcodec.62.11.100.dylib"
|
"lib/libao.so.4"
|
||||||
"lib/libavcodec.62.dylib"
|
"lib/libao.so.4.1.1"
|
||||||
"lib/libavcodec.dylib"
|
"lib/libavcodec.so"
|
||||||
"lib/libavformat.62.3.100.dylib"
|
"lib/libavcodec.so.62"
|
||||||
"lib/libavformat.62.dylib"
|
"lib/libavcodec.so.62.11.100"
|
||||||
"lib/libavformat.dylib"
|
"lib/libavformat.so"
|
||||||
"lib/libavutil.60.8.100.dylib"
|
"lib/libavformat.so.62"
|
||||||
"lib/libavutil.60.dylib"
|
"lib/libavformat.so.62.3.100"
|
||||||
"lib/libavutil.dylib"
|
"lib/libavutil.so"
|
||||||
"lib/libmpg123.0.dylib"
|
"lib/libavutil.so.60"
|
||||||
"lib/libmpg123.dylib"
|
"lib/libavutil.so.60.8.100"
|
||||||
"lib/libogg.0.8.5.dylib"
|
"lib/libmpg123.so"
|
||||||
"lib/libogg.0.dylib"
|
"lib/libmpg123.so.0"
|
||||||
"lib/libogg.dylib"
|
"lib/libmpg123.so.0.49.4"
|
||||||
"lib/libopus.0.10.1.dylib"
|
"lib/libogg.so"
|
||||||
"lib/libopus.0.dylib"
|
"lib/libogg.so.0"
|
||||||
"lib/libopus.dylib"
|
"lib/libogg.so.0.8.5"
|
||||||
"lib/libopusenc.0.dylib"
|
"lib/libopus.so"
|
||||||
"lib/libopusenc.dylib"
|
"lib/libopus.so.0"
|
||||||
"lib/libopusfile.0.dylib"
|
"lib/libopus.so.0.10.1"
|
||||||
"lib/libopusfile.dylib"
|
"lib/libopusenc.so"
|
||||||
"lib/libopusurl.0.dylib"
|
"lib/libopusenc.so.0"
|
||||||
"lib/libopusurl.dylib"
|
"lib/libopusenc.so.0.4.2"
|
||||||
"lib/libsoxr-lsr.0.1.9.dylib"
|
"lib/libopusfile.so"
|
||||||
"lib/libsoxr-lsr.0.dylib"
|
"lib/libopusfile.so.0"
|
||||||
"lib/libsoxr-lsr.dylib"
|
"lib/libopusfile.so.0.4.5"
|
||||||
"lib/libsoxr.0.1.2.dylib"
|
"lib/libopusurl.so"
|
||||||
"lib/libsoxr.0.dylib"
|
"lib/libopusurl.so.0"
|
||||||
"lib/libsoxr.dylib"
|
"lib/libopusurl.so.0.4.5"
|
||||||
"lib/libswresample.6.1.100.dylib"
|
"lib/libsoxr-lsr.so"
|
||||||
"lib/libswresample.6.dylib"
|
"lib/libsoxr-lsr.so.0"
|
||||||
"lib/libswresample.dylib"
|
"lib/libsoxr-lsr.so.0.1.9"
|
||||||
"lib/libtag.2.1.0.dylib"
|
"lib/libsoxr.so"
|
||||||
"lib/libtag.2.dylib"
|
"lib/libsoxr.so.0"
|
||||||
"lib/libtag.dylib"
|
"lib/libsoxr.so.0.1.2"
|
||||||
"lib/libtag_c.2.1.0.dylib"
|
"lib/libswresample.so"
|
||||||
"lib/libtag_c.2.dylib"
|
"lib/libswresample.so.6"
|
||||||
"lib/libtag_c.dylib"
|
"lib/libswresample.so.6.1.100"
|
||||||
"lib/libz.1.3.1.dylib"
|
"lib/libtag.so"
|
||||||
"lib/libz.1.dylib"
|
"lib/libtag.so.2"
|
||||||
"lib/libz.dylib"
|
"lib/libtag.so.2.1.0"
|
||||||
|
"lib/libtag_c.so"
|
||||||
|
"lib/libtag_c.so.2"
|
||||||
|
"lib/libtag_c.so.2.1.0"
|
||||||
|
"lib/libz.so"
|
||||||
|
"lib/libz.so.1"
|
||||||
|
"lib/libz.so.1.3.1"
|
||||||
))
|
))
|
||||||
(define deps '("base"))
|
(define deps '("base"))
|
||||||
|
|||||||
@@ -1,28 +1,28 @@
|
|||||||
# libmacosx.la - a libtool library file
|
# libalsa.la - a libtool library file
|
||||||
# Generated by libtool (GNU libtool) 2.6.2
|
# Generated by libtool (GNU libtool) 2.4.6 Debian-2.4.6-15build2
|
||||||
#
|
#
|
||||||
# Please DO NOT delete this file!
|
# Please DO NOT delete this file!
|
||||||
# It is necessary for linking the library.
|
# It is necessary for linking the library.
|
||||||
|
|
||||||
# The name that we can dlopen(3).
|
# The name that we can dlopen(3).
|
||||||
dlname='libmacosx.so'
|
dlname='libalsa.so'
|
||||||
|
|
||||||
# Names of this library.
|
# Names of this library.
|
||||||
library_names='libmacosx.so libmacosx.so'
|
library_names='libalsa.so libalsa.so libalsa.so'
|
||||||
|
|
||||||
# The name of the static archive.
|
# The name of the static archive.
|
||||||
old_library=''
|
old_library=''
|
||||||
|
|
||||||
# Linker flags that cannot go in dependency_libs.
|
# Linker flags that cannot go in dependency_libs.
|
||||||
inherited_linker_flags=' -framework AudioUnit -framework CoreAudio -framework CoreServices'
|
inherited_linker_flags=''
|
||||||
|
|
||||||
# Libraries that this one depends upon.
|
# Libraries that this one depends upon.
|
||||||
dependency_libs=' -L/Users/runner/work/build-audio-libs/build-audio-libs/.work/prefix/aarch64-macosx/lib -lpthread'
|
dependency_libs=' -L/home/runner/work/build-audio-libs/build-audio-libs/.work/prefix/x86_64-linux/lib -lasound -lpthread'
|
||||||
|
|
||||||
# Names of additional weak libraries provided by this library
|
# Names of additional weak libraries provided by this library
|
||||||
weak_library_names=''
|
weak_library_names=''
|
||||||
|
|
||||||
# Version information for libmacosx.
|
# Version information for libalsa.
|
||||||
current=0
|
current=0
|
||||||
age=0
|
age=0
|
||||||
revision=0
|
revision=0
|
||||||
@@ -31,11 +31,11 @@ revision=0
|
|||||||
installed=yes
|
installed=yes
|
||||||
|
|
||||||
# Should we warn about portability when linking against -modules?
|
# Should we warn about portability when linking against -modules?
|
||||||
shouldnotlink=yes
|
shouldnotlink=no
|
||||||
|
|
||||||
# Files to dlopen/dlpreopen
|
# Files to dlopen/dlpreopen
|
||||||
dlopen=''
|
dlopen=''
|
||||||
dlpreopen=''
|
dlpreopen=''
|
||||||
|
|
||||||
# Directory that this library needs to be installed in:
|
# Directory that this library needs to be installed in:
|
||||||
libdir='/Users/runner/work/build-audio-libs/build-audio-libs/.work/prefix/aarch64-macosx/lib/ao/plugins-4'
|
libdir='/home/runner/work/build-audio-libs/build-audio-libs/.work/prefix/x86_64-linux/lib/ao/plugins-4'
|
||||||
Executable
BIN
Binary file not shown.
Binary file not shown.
Executable
+41
@@ -0,0 +1,41 @@
|
|||||||
|
# liboss.la - a libtool library file
|
||||||
|
# Generated by libtool (GNU libtool) 2.4.6 Debian-2.4.6-15build2
|
||||||
|
#
|
||||||
|
# Please DO NOT delete this file!
|
||||||
|
# It is necessary for linking the library.
|
||||||
|
|
||||||
|
# The name that we can dlopen(3).
|
||||||
|
dlname='liboss.so'
|
||||||
|
|
||||||
|
# Names of this library.
|
||||||
|
library_names='liboss.so liboss.so liboss.so'
|
||||||
|
|
||||||
|
# The name of the static archive.
|
||||||
|
old_library=''
|
||||||
|
|
||||||
|
# Linker flags that cannot go in dependency_libs.
|
||||||
|
inherited_linker_flags=''
|
||||||
|
|
||||||
|
# Libraries that this one depends upon.
|
||||||
|
dependency_libs=' -L/home/runner/work/build-audio-libs/build-audio-libs/.work/prefix/x86_64-linux/lib -lpthread'
|
||||||
|
|
||||||
|
# Names of additional weak libraries provided by this library
|
||||||
|
weak_library_names=''
|
||||||
|
|
||||||
|
# Version information for liboss.
|
||||||
|
current=0
|
||||||
|
age=0
|
||||||
|
revision=0
|
||||||
|
|
||||||
|
# Is this an already installed library?
|
||||||
|
installed=yes
|
||||||
|
|
||||||
|
# Should we warn about portability when linking against -modules?
|
||||||
|
shouldnotlink=no
|
||||||
|
|
||||||
|
# Files to dlopen/dlpreopen
|
||||||
|
dlopen=''
|
||||||
|
dlpreopen=''
|
||||||
|
|
||||||
|
# Directory that this library needs to be installed in:
|
||||||
|
libdir='/home/runner/work/build-audio-libs/build-audio-libs/.work/prefix/x86_64-linux/lib/ao/plugins-4'
|
||||||
Executable
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user