ssc-codec-git
LOW
maintainer lori28167
0 votes
scanned 2026-10-31 09:58:05.730906
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# SPDX-License-Identifier: GPL-3.0-or-later
2
# Maintainer: lori28167 <lori28167@users.noreply.github.com>
3
pkgname=ssc-codec-git
4
pkgver=0.1.0.r0.g0000000
5
pkgrel=1
6
pkgdesc='Samsung Scalable/Seamless Codec (SSC) A2DP codec for PipeWire (Galaxy Buds), replaces the aptx plugin'
7
arch=('x86_64')
8
url='https://github.com/lori28167/SamsungSeamlessCodec-linux'
9
license=('GPL-3.0-or-later AND BSD-3-Clause')
10
depends=('pipewire-audio' 'bluez-libs')
11
makedepends=('git' 'meson' 'pipewire')
12
provides=('ssc-codec')
13
conflicts=('ssc-codec')
14
options=('!debug')
15
install=ssc-codec.install
16
source=("git+$url.git"
17
'ssc-codec.hook'
18
'ssc-codec-activate')
19
sha256sums=('SKIP'
20
'7e0fb8b158dd2bf548030593e5610fd41c3fc701becf33d7a599aadb249a24c4'
21
'00cffeefd9b4bfa2121be8b0ad6b4455ed380839e603226b3ab42d529e41361d')
22
23
pkgver() {
24
cd SamsungSeamlessCodec-linux
25
local d
26
if d=$(git describe --long --tags 2>/dev/null); then
27
printf '%s' "$d" | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
28
else
29
printf '0.1.0.r%s.g%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
30
fi
31
}
32
33
build() {
34
# always compile: the plugin uses PipeWire's private codec interface and must match the installed version
35
arch-meson SamsungSeamlessCodec-linux build
36
meson compile -C build
37
}
38
39
check() {
40
meson test -C build --print-errorlogs
41
}
42
43
package() {
44
# not in the PipeWire plugin directory: that file belongs to pipewire-audio (aptx), see ssc-codec.hook
45
install -Dm755 build/libspa-codec-bluez5-aptx.so "$pkgdir/usr/lib/ssc-codec/libspa-codec-bluez5-aptx.so"
46
install -Dm755 ssc-codec-activate "$pkgdir/usr/share/libalpm/scripts/ssc-codec-activate"
47
install -Dm644 ssc-codec.hook "$pkgdir/usr/share/libalpm/hooks/ssc-codec.hook"
48
install -Dm644 SamsungSeamlessCodec-linux/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
49
install -Dm644 SamsungSeamlessCodec-linux/README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
50
}
51
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-31 09:58:05 | Low | 1 |