Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
649
Issues
649
List
Boards
Labels
Service Desk
Milestones
Merge Requests
205
Merge Requests
205
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
7dab0ff3
Commit
7dab0ff3
authored
May 31, 2019
by
Rasmus Thomsen
Committed by
Natanael Copa
Jun 05, 2019
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/soxr: add -static subpackages
fixes
#10531
parent
10eae134
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
9 deletions
+24
-9
main/soxr/APKBUILD
main/soxr/APKBUILD
+24
-9
No files found.
main/soxr/APKBUILD
View file @
7dab0ff3
...
...
@@ -2,34 +2,49 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname
=
soxr
pkgver
=
0.1.3
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"High quality, one-dimensional sample-rate conversion library"
url
=
"https://sourceforge.net/projects/soxr"
arch
=
"all"
license
=
"LGPL-2.1-or-later"
depends
=
""
depends_dev
=
"cmake"
makedepends
=
"
$depends_dev
"
install
=
""
subpackages
=
"
$pkgname
-doc
$pkgname
-dev"
subpackages
=
"
$pkgname
-doc
$pkgname
-static
$pkgname
-dev"
source
=
"
$pkgname
-
$pkgver
.tar.xz::https://sourceforge.net/projects/
$pkgname
/files/
$pkgname
-
$pkgver
-Source.tar.xz/download"
builddir
=
"
$srcdir
/
$pkgname
-
$pkgver
-Source"
build
()
{
cd
"
$builddir
"
cmake
.
\
mkdir
-p
"
$builddir
"
/static
"
$builddir
"
/shared
# We can't build the static and shared libs in one go, so build them one by one...
cd
"
$builddir
"
/static
cmake
\
-DCMAKE_INSTALL_PREFIX
:PATH
=
/usr
\
-DBUILD_SHARED_LIBS
=
False
\
-DBUILD_TESTS
=
ON
\
..
make
cd
"
$builddir
"
/shared
cmake
\
-DCMAKE_INSTALL_PREFIX
:PATH
=
/usr
\
-DBUILD_TESTS
=
ON
-DBUILD_SHARED_LIBS
=
True
\
-DBUILD_TESTS
=
ON
\
..
make
}
check
()
{
cd
"
$builddir
"
cd
"
$builddir
"
/static
make
test
cd
"
$builddir
"
/shared
make
test
}
package
()
{
cd
"
$builddir
"
cd
"
$builddir
"
/static
make
DESTDIR
=
"
$pkgdir
"
install
cd
"
$builddir
"
/shared
make
DESTDIR
=
"
$pkgdir
"
install
}
...
...
Mattias Wadman
@wader
mentioned in issue
#10531 (closed)
·
Jul 12, 2019
mentioned in issue
#10531 (closed)
mentioned in issue #10531
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment