-
Notifications
You must be signed in to change notification settings - Fork 312
/
Copy pathcups.yaml
152 lines (137 loc) · 4.04 KB
/
cups.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
package:
name: cups
version: 2.4.11
epoch: 1
description: The CUPS Printing System
copyright:
- license: GPL-2.0-only
environment:
contents:
packages:
- autoconf
- automake
- build-base
- busybox
- ca-certificates-bundle
- dbus
- dbus-dev
- libgcrypt-dev
- libpaper-dev
- libusb-dev
- openssl-dev
# - poppler-utils TODO add for CUPS to be useful for printing.
# - libjpeg-turbo-dev TODO add for CUPS to be useful for printing.
# - avahi-dev TODO add for CUPS to be useful for printing.
# - gnutls-dev TODO add for CUPS to be useful for printing.
- zlib-dev
pipeline:
- uses: git-checkout
with:
expected-commit: 7d535f73e407a72dfb5c5e83549a5ba27219dfcd
repository: https://github.com/OpenPrinting/cups
tag: v${{package.version}}
- uses: autoconf/configure
with:
opts: |
--with-menudir=/usr/share/applications \
--with-icondir=/usr/share/icons \
--with-logdir=/var/log/cups \
--with-docdir=/usr/share/cups \
--with-rundir=/run/cups \
--with-cupsd-file-perm=0755 \
--with-cups-user=lp \
--with-cups-group=lp \
--with-system-groups=lpadmin \
--with-domainsocket=/run/cups/cups.sock \
--enable-libusb \
--without-rcdir \
--disable-pam \
--enable-raw-printing \
--enable-dbus \
--with-dbusdir=/usr/share/dbus-1 \
--enable-libpaper \
--with-tls=openssl \
--with-optim="$CFLAGS"
- uses: autoconf/make
- uses: autoconf/make-install
- runs: |
# Cleanup the bad tempdir, this is unused and breaks our linter
rm -rf ${{targets.destdir}}/run
- uses: strip
subpackages:
- name: cups-doc
description: cups manpages
pipeline:
- uses: split/manpages
test:
pipeline:
- uses: test/docs
- name: cups-libs
description: CUPS libraries
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/lib
mv ${{targets.destdir}}/usr/lib/*.so* ${{targets.subpkgdir}}/usr/lib
mkdir -p ${{targets.subpkgdir}}/etc
mv ${{targets.destdir}}/etc/cups ${{targets.subpkgdir}}/etc
test:
pipeline:
- uses: test/tw/ldd-check
- name: ipptool
description: Perform internet printing protocol requests
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/bin
mv ${{targets.destdir}}/usr/bin/ipptool ${{targets.subpkgdir}}/usr/bin
test:
pipeline:
- runs: |
ipptool --version
- name: cups-client
description: CUPS command-line client programs
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/bin
mv ${{targets.destdir}}/usr/sbin/cupsaccept ${{targets.subpkgdir}}/usr/bin
mv ${{targets.destdir}}/usr/sbin/cupsctl ${{targets.subpkgdir}}/usr/bin
mv ${{targets.destdir}}/usr/sbin/cupsdisable ${{targets.subpkgdir}}/usr/bin
mv ${{targets.destdir}}/usr/sbin/cupsenable ${{targets.subpkgdir}}/usr/bin
mv ${{targets.destdir}}/usr/sbin/lpadmin ${{targets.subpkgdir}}/usr/bin
mv ${{targets.destdir}}/usr/sbin/lpc ${{targets.subpkgdir}}/usr/bin
mv ${{targets.destdir}}/usr/sbin/lpinfo ${{targets.subpkgdir}}/usr/bin
mv ${{targets.destdir}}/usr/sbin/lpmove ${{targets.subpkgdir}}/usr/bin
test:
pipeline:
- runs: |
lpc help
lpc status
- name: cups-dev
description: cups dev
pipeline:
- uses: split/dev
dependencies:
runtime:
- cups
- libgcrypt-dev
# - gnutls-dev
- zlib-dev
test:
pipeline:
- runs: |
cups-config --version
cups-config --help
- uses: test/pkgconf
update:
enabled: true
github:
identifier: OpenPrinting/cups
strip-prefix: v
test:
pipeline:
# AUTOGENERATED
- runs: |
ippeveprinter --version
ippeveprinter --help
ppdi version
ppdi help
cupsd --help