forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cdparanoia.yaml
100 lines (82 loc) · 2.34 KB
/
cdparanoia.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
package:
name: cdparanoia
version: 10.2
epoch: 6
description: An audio CD extraction application
copyright:
- license: GPL-2.0-or-later
environment:
contents:
packages:
- autoconf
- automake
- build-base
- busybox
- ca-certificates-bundle
- libtool
- linux-headers
- openssf-compiler-options
pipeline:
- uses: fetch
with:
expected-sha512: 4ab0a0f5ef44d56c1af72d1fc1035566a1a89c4eeddb9e8baea675fe51c06138d913342afc8bed167d9fa55672fa25a2763ce21f7e24c1232e4739aff20733a7
uri: https://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-${{package.version}}.src.tgz
- uses: patch
with:
patches: fix-includes.patch
- uses: patch
with:
patches: format-security.patch
- uses: patch
with:
patches: gcc.patch
- runs: |
mv configure.guess config.guess
mv configure.sub config.sub
# update_config_sub
sed -i -e '/configure.\(guess\|sub\)/d' configure.in
aclocal && autoconf
libtoolize
- uses: autoconf/configure
with:
opts: |
CFLAGS="$CFLAGS -fPIC" \
CPPFLAGS="$CFLAGS" \
CXXFLAGS="$CFLAGS"
- uses: autoconf/make
with:
opts: |
MAKEFLAGS=-j1
- runs: |
make -j1 prefix="${{targets.destdir}}"/usr LIBDIR=${{targets.destdir}}/usr/lib MANDIR="${{targets.destdir}}"/usr/share/man install
- uses: strip
subpackages:
# This needs to come before -dev because there's a symlink in usr/lib that gets screwed up
- name: ${{package.name}}-libs
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/lib
# Delete unused static libraries
rm -f ${{targets.destdir}}/usr/lib/*.a
mv ${{targets.destdir}}/usr/lib/* ${{targets.subpkgdir}}/usr/lib/
# Fix permissions so melnage detects the libraries
chmod 755 "${{targets.subpkgdir}}"/usr/lib/*.so*
description: Libraries for libcdda_paranoia (Paranoia III)
- name: ${{package.name}}-dev
pipeline:
- uses: split/dev
description: ${{package.name}} dev
- name: ${{package.name}}-doc
pipeline:
- uses: split/manpages
description: ${{package.name}} manpages
update:
enabled: true
release-monitor:
identifier: 15309
test:
pipeline:
# AUTOGENERATED
- runs: |
cdparanoia --version
cdparanoia --help