diff options
author | Zach van Rijn <me@zv.io> | 2023-10-24 21:05:56 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2023-10-25 00:43:43 +0000 |
commit | 87b7d4eaefb6ce8a65ba2e9654784dad1df8f03d (patch) | |
tree | 4509c017eaeb5088bc2423959de497228d4877c7 /user/faad2/APKBUILD | |
parent | cb27b0550d7accf80d339023979859aee676f4b0 (diff) | |
download | packages-87b7d4eaefb6ce8a65ba2e9654784dad1df8f03d.tar.gz packages-87b7d4eaefb6ce8a65ba2e9654784dad1df8f03d.tar.bz2 packages-87b7d4eaefb6ce8a65ba2e9654784dad1df8f03d.tar.xz packages-87b7d4eaefb6ce8a65ba2e9654784dad1df8f03d.zip |
user/faad2: add patch for x86. fixes #1095.
Additionally, ensure shared libraries are versioned.
This fixes a regression from the autotools-based era
that was not carried into the CMake era.
Diffstat (limited to 'user/faad2/APKBUILD')
-rw-r--r-- | user/faad2/APKBUILD | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/user/faad2/APKBUILD b/user/faad2/APKBUILD index 14b2ea7cc..aec7e58ac 100644 --- a/user/faad2/APKBUILD +++ b/user/faad2/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: pkgname=faad2 pkgver=2.10.1_git20230904 -pkgrel=0 +pkgrel=1 pkgdesc="ISO AAC audio decoder" url="https://www.audiocoding.com/" arch="all" @@ -11,7 +11,10 @@ depends="" makedepends="cmake" subpackages="$pkgname-dev $pkgname-doc" #source="$pkgname-$pkgver.tar.gz::https://github.com/knik0/faad2/archive/$pkgver.tar.gz" -source="https://distfiles.adelielinux.org/source/$pkgname-$pkgver.tar.gz" +source="https://distfiles.adelielinux.org/source/$pkgname-$pkgver.tar.gz + fix-x86-lrintf.patch + fix-ensure-libraries-versioned.patch + " # secfixes: # 2.8.8-r1: @@ -40,7 +43,6 @@ build() { -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_SHARED_LIBS=True \ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ - -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ -DCMAKE_C_FLAGS="$CFLAGS" \ -Bbuild make -C build @@ -57,4 +59,6 @@ doc() { "$subpkgdir"/usr/share/doc/$pkgname } -sha512sums="5ec65a70ebbb5dbb5e0bffa47499f8bb9436c28ce9a8947e9cede92bbb2441117bac01216989888956e245589c9db572dad17cc47d47ae908709e4e57a7f84b9 faad2-2.10.1_git20230904.tar.gz" +sha512sums="5ec65a70ebbb5dbb5e0bffa47499f8bb9436c28ce9a8947e9cede92bbb2441117bac01216989888956e245589c9db572dad17cc47d47ae908709e4e57a7f84b9 faad2-2.10.1_git20230904.tar.gz +2b83d5bf4d4136a4d53536cfd2f4d62174e3660f4a7f39bcedca516ae26a98f3b573db91fb689b20aa26a0d0968745944927c7898ea79bc7a5321971fe92a481 fix-x86-lrintf.patch +b30727cd1b422a820b30747b3374815b5568a0554945d344aaa4e95502add5d956fed0d1aea451bd97ef704272c8c65c7ec33afe7cbea4b642f7991a135cdc93 fix-ensure-libraries-versioned.patch" |