Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Peter Shkenev
aports
Commits
edba3497
Commit
edba3497
authored
Jun 21, 2022
by
Antoni Aloy Torrens
Committed by
alice
Jun 28, 2022
Browse files
community/libsoundio: move from testing
parent
aa5d3741
Changes
1
Hide whitespace changes
Inline
Side-by-side
testing
/libsoundio/APKBUILD
→
community
/libsoundio/APKBUILD
View file @
edba3497
# Maintainer: Mark Jynx <markjynx@cock.li>
# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
# Contributor: Mark Jynx <markjynx@cock.li>
pkgname
=
"libsoundio"
pkgver
=
"2.0.0"
pkgrel
=
1
pkgrel
=
2
pkgdesc
=
"C library for cross-platform real-time audio input and output"
url
=
"http://libsound.io"
arch
=
"all"
options
=
"!check"
# Tests are not automated
license
=
"MIT"
depends_dev
=
"alsa-lib-dev"
makedepends
=
"cmake
$depends_dev
"
makedepends
=
"cmake
samurai
$depends_dev
"
subpackages
=
"
$pkgname
-dev"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/andrewrk/libsoundio/archive/
$pkgver
.tar.gz"
...
...
@@ -16,8 +17,8 @@ build() {
if
[
"
$CBUILD
"
!=
"
$CHOST
"
]
;
then
CMAKE_CROSSOPTS
=
"-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake
\
-DCMAKE_BUILD_TYPE
=
Non
e
\
cmake
-B
build
-G
Ninja
\
-DCMAKE_BUILD_TYPE
=
Releas
e
\
-DCMAKE_INSTALL_PREFIX
=
/usr
\
-DCMAKE_INSTALL_LIBDIR
=
lib
\
-DBUILD_STATIC_LIBS
=
OFF
\
...
...
@@ -25,11 +26,11 @@ build() {
-DCMAKE_CXX_FLAGS
=
"
$CXXFLAGS
"
\
-DCMAKE_C_FLAGS
=
"
$CFLAGS
"
\
${
CMAKE_CROSSOPTS
}
.
make
c
make
--build
build
}
package
()
{
make
DESTDIR
=
"
$pkgdir
"
install
DESTDIR
=
"
$pkgdir
"
cmake
--
install
build
}
sha512sums
=
"347a9be1789a41e778ea8d0efa1d00e03e725a4ab65e3aaf6c71e49138643f08a50a81bd60087d86a3b4d63beaeec617e47ba6b81f829ece8a3ac17418eb5309 libsoundio-2.0.0.tar.gz"
Write
Preview
Supports
Markdown
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