Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TBK
aports
Commits
39d34c6c
Commit
39d34c6c
authored
9 years ago
by
Natanael Copa
Browse files
Options
Downloads
Patches
Plain Diff
main/audacity: upgrade to 2.1.0 and add soxr and jack support
we also force use of system libs
parent
7b9b42d4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/audacity/APKBUILD
+39
-12
39 additions, 12 deletions
main/audacity/APKBUILD
main/audacity/musl-workaround.patch
+16
-0
16 additions, 0 deletions
main/audacity/musl-workaround.patch
with
55 additions
and
12 deletions
main/audacity/APKBUILD
+
39
−
12
View file @
39d34c6c
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
audacity
pkgname
=
audacity
pkgver
=
2.
0.6
pkgver
=
2.
1.0
pkgrel
=
1
pkgrel
=
0
pkgdesc
=
"Multitrack audio editor"
pkgdesc
=
"Multitrack audio editor"
url
=
"http://audacity.sourceforge.net"
url
=
"http://audacity.sourceforge.net"
arch
=
"all"
arch
=
"all"
license
=
"GPL2"
license
=
"GPL2"
depends
=
""
depends
=
""
depends_dev
=
""
depends_dev
=
""
makedepends
=
"
$depends_dev
wxgtk2.8-dev alsa-lib-dev libsndfile-dev flac-dev
makedepends
=
"
$depends_dev
libogg-dev libvorbis-dev libsamplerate-dev expat-dev libmad-dev
alsa-lib-dev
libid3tag-dev taglib-dev bash"
bash
expat-dev
flac-dev
jack-dev
lame-dev
libid3tag-dev
libmad-dev
libogg-dev
libsndfile-dev
libvorbis-dev
portaudio-dev
soxr-dev
taglib-dev
wxgtk2.8-dev
"
install
=
""
install
=
""
subpackages
=
"
$pkgname
-doc
$pkgname
-lang"
subpackages
=
"
$pkgname
-doc
$pkgname
-lang"
source
=
"http://sourceforge.net/projects/audacity/files/audacity-minsrc-
$pkgver
.tar.xz"
source
=
"http://sourceforge.net/projects/audacity/files/audacity-minsrc-
$pkgver
.tar.xz
musl-workaround.patch
"
_builddir
=
"
$srcdir
"
/audacity-src-
$pkgver
_builddir
=
"
$srcdir
"
/audacity-
min
src-
$pkgver
prepare
()
{
prepare
()
{
local
i
local
i
cd
"
$_builddir
"
cd
"
$_builddir
"
update_config_sub
||
return
1
for
i
in
$source
;
do
for
i
in
$source
;
do
case
$i
in
case
$i
in
*
.patch
)
msg
$i
;
patch
-p1
-i
"
$srcdir
"
/
$i
||
return
1
;;
*
.patch
)
msg
$i
;
patch
-p1
-i
"
$srcdir
"
/
$i
||
return
1
;;
...
@@ -44,9 +60,17 @@ build() {
...
@@ -44,9 +60,17 @@ build() {
--prefix
=
/usr
\
--prefix
=
/usr
\
--sysconfdir
=
/etc
\
--sysconfdir
=
/etc
\
--mandir
=
/usr/share/man
\
--mandir
=
/usr/share/man
\
--with-lib-preference
=
system
\
--with-libsndfile
=
system
\
--with-libsndfile
=
system
\
--with-libsamplerate
=
system
\
--with-soxr
=
system
\
--with-id3tag
=
system
\
--with-libvorbis
=
system
\
--with-portaudio
=
system
\
--with-libmad
=
system
\
--with-widgetextra
=
local
\
--without-libresample
\
--without-libresample
\
--without-libsamplerate
\
--without-ffmpeg
\
$_arch
\
$_arch
\
||
return
1
||
return
1
make
||
return
1
make
||
return
1
...
@@ -58,6 +82,9 @@ package() {
...
@@ -58,6 +82,9 @@ package() {
rm
-f
"
$pkgdir
"
/usr/lib/
*
.la
rm
-f
"
$pkgdir
"
/usr/lib/
*
.la
}
}
md5sums
=
"fb7b39a1ec8cb562be5ee65725af8832 audacity-minsrc-2.0.6.tar.xz"
md5sums
=
"d21a794cc1e2a1567d3d75b53b1f2f02 audacity-minsrc-2.1.0.tar.xz
sha256sums
=
"3080c190e678e0d682961a36c6e990c572dacd6b5ce499e5cec7362e9fa37d7b audacity-minsrc-2.0.6.tar.xz"
f4d0e4b195c2f604cea8e8d696ffcc17 musl-workaround.patch"
sha512sums
=
"e61e406790e81ebbea08019585d3d1000c14f001bba7b5a55bebf89931ea246f9f5b52315f217e10bc03cab4805d7fb4efda5acefc5e4d11764206244b61683a audacity-minsrc-2.0.6.tar.xz"
sha256sums
=
"b0d98d89b38be233e88af81e1add649732484b6f8feec95dc5977accdde042b3 audacity-minsrc-2.1.0.tar.xz
888e2a0c0055f11300ecaa550aff5ab1991dbce3b2dab0d05596c3b304b2c675 musl-workaround.patch"
sha512sums
=
"5ed441b567bc72a794d9d5a1248db137d1a6d019b5fcdcb8b536a509ecacbf5d85b50c2a0cad484f84053dff4ffa662027cca157fde4b18f9d53b2bd106c34b4 audacity-minsrc-2.1.0.tar.xz
b5488a7f5398c07fe986e090b8d61353ecba594ed23fda6a4444e59718f7d1e8bd5c716047ce139350983d5609b5810362a78a2fd5d85e9b1730d196c57c685b musl-workaround.patch"
This diff is collapsed.
Click to expand it.
main/audacity/musl-workaround.patch
0 → 100644
+
16
−
0
View file @
39d34c6c
The use of RTLD_DEEPBIND is just a workaround and not a real fix.
And we cannot use it...
--- ./src/effects/VST/VSTEffect.cpp.orig
+++ ./src/effects/VST/VSTEffect.cpp
@@ -2609,6 +2609,10 @@
// symbols.
//
// Once we define a proper external API, the flags can be removed.
+// GNU extension
+#ifndef RTLD_DEEPBIND
+#define RTLD_DEEPBIND 0
+#endif
void *lib = dlopen((const char *)wxString(realPath).ToUTF8(), RTLD_NOW | RTLD_LOCAL | RTLD_DEEPBIND);
if (!lib)
{
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment