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
Michael Pirogov
aports
Commits
4b307648
Commit
4b307648
authored
5 years ago
by
Leo
Committed by
Natanael Copa
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
community/audacity: upgrade to 2.3.2
parent
faf3d9ea
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
community/audacity/APKBUILD
+37
-46
37 additions, 46 deletions
community/audacity/APKBUILD
community/audacity/filedialog.patch
+0
-13
0 additions, 13 deletions
community/audacity/filedialog.patch
community/audacity/musl-workaround.patch
+0
-16
0 additions, 16 deletions
community/audacity/musl-workaround.patch
with
37 additions
and
75 deletions
community/audacity/APKBUILD
+
37
−
46
View file @
4b307648
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
audacity
pkgver
=
2.
1.1
pkgrel
=
1
pkgver
=
2.
3.2
pkgrel
=
0
pkgdesc
=
"Multitrack audio editor"
url
=
"http://audacity
.sourceforge.net
"
url
=
"http
s
://
www.
audacity
team.org/
"
arch
=
"all"
license
=
"GPL-2.0"
makedepends
=
"
$depends_dev
license
=
"GPL-2.0
-or-later
"
makedepends
=
"
alsa-lib-dev
bash
expat-dev
...
...
@@ -19,67 +19,58 @@ makedepends="$depends_dev
libogg-dev
libsndfile-dev
libvorbis-dev
portaudio-dev
soundtouch-dev
soxr-dev
taglib-dev
wxgtk2.8-dev
wxgtk3-dev
ffmpeg-dev
automake
autoconf
libtool
"
subpackages
=
"
$pkgname
-doc
$pkgname
-lang"
source
=
"https://github.com/audacity/audacity/archive/Audacity-
$pkgver
.tar.gz
musl-workaround.patch
filedialog.patch
"
builddir
=
"
$srcdir
"
/audacity-Audacity-
$pkgver
prepare
()
{
default_prepare
autoreconf
-fi
}
build
()
{
local
_arch
cd
"
$builddir
"
case
"
$CTARGET
"
in
x86|x86_64
)
_arch
=
"--enable-sse"
;;
*
)
_arch
=
"--disable-sse"
;;
x86|x86_64
)
_arch
=
"--enable-sse"
;;
*
)
_arch
=
"--disable-sse"
;;
esac
export
CXXFLAGS
=
"
$CXXFLAGS
-std=gnu++98"
LIBNYQUIST_USE_LOCAL
=
yes
\
CFLAGS
=
"
$CFLAGS
-fPIC"
\
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
--prefix
=
/usr
\
--sysconfdir
=
/etc
\
--mandir
=
/usr/share/man
\
--with-expat
=
system
\
--with-lib-preference
=
system
\
--with-libsndfile
=
system
\
--with-libflac
=
system
\
--with-coundtouch
=
system
\
--with-soxr
=
system
\
--with-id3tag
=
system
\
--with-libvorbis
=
system
\
--with-portaudio
=
system
\
--with-libmad
=
system
\
--with-widgetextra
=
local
\
--without-libresample
\
--without-libsamplerate
\
--without-ffmpeg
\
--enable-nyquist
\
$_arch
for
i
in
ffmpeg libsoxr libvamp portaudio-v19
;
do
rm
-r
lib-src/
$i
done
WX_CONFIG
=
wx-config-gtk3
\
bash configure
\
--prefix
=
"/usr"
\
--with-libsndfile
=
"system"
\
--with-ffmpeg
=
"system"
\
--with-expat
=
"system"
\
--with-lame
=
"system"
\
--with-libsoxr
=
"system"
\
--with-portaudio
\
--with-portmidi
\
--with-libflac
\
--with-libid3tag
\
--with-libsamplerate
\
--with-sbsms
\
--with-soundtouch
\
--with-libtwolame
\
--with-libvorbis
\
--without-lv2
\
$_arch
make
}
package
()
{
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
}
sha512sums
=
"00b0a037ffefb670e7148414224c60330c4fb915a892cb635537caeba82815d0113c5bb07f7b2805ed9b42a1a75106ef6fdc2f1602fd5042c48cc5e111a34ffb Audacity-2.1.1.tar.gz
b5488a7f5398c07fe986e090b8d61353ecba594ed23fda6a4444e59718f7d1e8bd5c716047ce139350983d5609b5810362a78a2fd5d85e9b1730d196c57c685b musl-workaround.patch
7f10b5f53ada9faa7ad887400a5729a41228f8970ee4cc045291e9b203a9f7f068b09f709e23f7f2a15724acf82ed0e4bccfd163b2232b430d2c89b86ccc2751 filedialog.patch"
sha512sums
=
"a59d6e9e974d5f78f5ca561e3bea31fc1b3e88f9ea60b2df7ce8bcec264d886f3fdc8f20030e11a86daff8ffeb735850b5e5f73c45fbef0bfcc58692423e7cd0 Audacity-2.3.2.tar.gz"
This diff is collapsed.
Click to expand it.
community/audacity/filedialog.patch
deleted
100644 → 0
+
0
−
13
View file @
faf3d9ea
diff --git a/lib-src/FileDialog/generic/FileDialogPrivate.cpp b/lib-src/FileDialog/generic/FileDialogPrivate.cpp
index 315a4cb..baa2e60 100644
--- a/lib-src/FileDialog/generic/FileDialogPrivate.cpp
+++ b/lib-src/FileDialog/generic/FileDialogPrivate.cpp
@@ -392,7 +392,7 @@
void FileData::MakeItem( wxListItem &item )
if (IsLink())
{
wxColour dg = wxTheColourDatabase->Find( wxT("MEDIUM GREY") );
- if ( dg.Ok() )
+ if ( dg.IsOk() )
item.SetTextColour(dg);
}
item.m_data = (long)this;
This diff is collapsed.
Click to expand it.
community/audacity/musl-workaround.patch
deleted
100644 → 0
+
0
−
16
View file @
faf3d9ea
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