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
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
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
alpine
aports
Commits
69ce6d36
Commit
69ce6d36
authored
2 years ago
by
J0WI
Committed by
alice
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
main/flac: upgrade to 1.4.0
parent
8b78a9e4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!39304
[3.16] main/expat: security upgrade to 2.4.9
,
!38894
main/flac: upgrade to 1.4.0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
main/flac/APKBUILD
+28
-22
28 additions, 22 deletions
main/flac/APKBUILD
with
28 additions
and
22 deletions
main/flac/APKBUILD
+
28
−
22
View file @
69ce6d36
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
flac
pkgver
=
1.
3.4
pkgver
=
1.
4.0
pkgrel
=
0
pkgdesc
=
"Free Lossless Audio Codec"
url
=
"https://xiph.org/flac/"
arch
=
"all"
license
=
"custom:Xiph LGPL GPL FDL"
options
=
"!check"
# Tests are infinite
subpackages
=
"
$pkgname
-dev
$pkgname
-doc"
makedepends
=
"libogg-dev !libiconv"
source
=
"http://downloads.xiph.org/releases/flac/flac-
$pkgver
.tar.xz"
subpackages
=
"
$pkgname
-dev
$pkgname
-libs
$pkgname
-doc"
makedepends
=
"
cmake
libogg-dev
nasm
!libiconv
samurai
"
source
=
"http
s
://downloads.xiph.org/releases/flac/flac-
$pkgver
.tar.xz"
# secfixes:
# 1.3.4-r0:
...
...
@@ -20,36 +20,42 @@ source="http://downloads.xiph.org/releases/flac/flac-$pkgver.tar.xz"
build
()
{
local
_arch_conf
case
"
$CARCH
"
in
ppc
*
)
_arch_conf
=
"--enable-altivec"
;;
x86_64
)
_arch_conf
=
"--enable-sse"
;;
x86
)
_arch_conf
=
"--disable-sse"
;;
x86
)
local
sse
=
off
;;
x86_64
)
local
sse
=
on
;;
esac
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
--prefix
=
/usr
\
--mandir
=
/usr/share/man
\
--enable-shared
\
--enable-ogg
\
--disable-rpath
\
--with-pic
\
$_arch_conf
make
export
CFLAGS
=
"
$CFLAGS
-O2 -flto=auto"
export
CXXFLAGS
=
"
$CXXFLAGS
-O2 -flto=auto"
cmake
-B
build
-G
Ninja
\
-DCMAKE_INSTALL_PREFIX
=
/usr
\
-DCMAKE_BUILD_TYPE
=
None
\
-DCMAKE_INSTALL_MANDIR
=
/usr/share/man/man1
\
-DBUILD_TESTING
=
OFF
\
-DBUILD_EXAMPLES
=
OFF
\
-DBUILD_SHARED_LIBS
=
ON
\
-DNDEBUG
=
ON
\
-DWITH_SSE
=
$sse
cmake
--build
build
}
check
()
{
make check
ctest
--test-dir
build
--output-on-failure
}
package
()
{
make
DESTDIR
=
"
$pkgdir
"
install
DESTDIR
=
"
$pkgdir
"
cmake
--
install
build
install
-Dm0644
COPYING.Xiph
\
"
$pkgdir
"
/usr/share/licenses/
$pkgname
/COPYING.Xiph
}
sha512sums
=
"
4a626e8a1bd126e234c0e5061e3b46f3a27c2065fdfa228fd8cf00d3c7fa2c05fafb5cec36acce7bfce4914bfd7db0b2a27ee15decf2d8c4caad630f62d44ec9
flac-1.
3.4
.tar.xz
b7310de7bcf49584c0a1fdc6d5ee7216a8ab3e2b1af85366fa0905752da13e1cbb9638e0d92f3b756568a69848abf4d5c2fe0d21a86c6fdb4840f2678daf0f8d
flac-1.
4.0
.tar.xz
"
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