Update audio/qjackctl to version 0.6.2
[dports.git] / audio / spotify-tui / Makefile
1 # $FreeBSD$
2
3 PORTNAME=       spotify-tui
4 DISTVERSIONPREFIX=      v
5 DISTVERSION=    0.15.0
6 PORTREVISION=   1
7 CATEGORIES=     audio
8
9 MAINTAINER=     vulcan@wired.sh
10 COMMENT=        Spotify for the terminal written in Rust
11
12 LICENSE=        MIT
13 LICENSE_FILE=   ${WRKSRC}/LICENSE
14
15 USES=           cargo localbase:ldflags python:3.6+,build ssl:build xorg
16 USE_GITHUB=     yes
17 GH_ACCOUNT=     Rigellute
18 USE_XORG=       xcb
19
20 CARGO_CRATES=   aho-corasick-0.7.6 \
21                 ansi_term-0.11.0 \
22                 anyhow-1.0.26 \
23                 arc-swap-0.4.4 \
24                 arrayref-0.3.5 \
25                 arrayvec-0.5.1 \
26                 atty-0.2.13 \
27                 autocfg-0.1.7 \
28                 backtrace-0.3.44 \
29                 backtrace-sys-0.1.32 \
30                 base64-0.10.1 \
31                 base64-0.11.0 \
32                 bitflags-1.2.1 \
33                 blake2b_simd-0.5.9 \
34                 block-0.1.6 \
35                 bumpalo-3.1.2 \
36                 byteorder-1.3.2 \
37                 bytes-0.4.12 \
38                 bytes-0.5.4 \
39                 c2-chacha-0.2.3 \
40                 cassowary-0.3.0 \
41                 cc-1.0.47 \
42                 cfg-if-0.1.10 \
43                 chrono-0.4.9 \
44                 clap-2.33.0 \
45                 clipboard-0.5.0 \
46                 clipboard-win-2.2.0 \
47                 cloudabi-0.0.3 \
48                 constant_time_eq-0.1.4 \
49                 core-foundation-0.6.4 \
50                 core-foundation-sys-0.6.2 \
51                 crossbeam-utils-0.6.6 \
52                 crossterm-0.14.2 \
53                 crossterm-0.16.0 \
54                 crossterm_winapi-0.5.1 \
55                 crossterm_winapi-0.6.1 \
56                 darling-0.9.0 \
57                 darling_core-0.9.0 \
58                 darling_macro-0.9.0 \
59                 derefable-0.1.0 \
60                 derive_builder-0.7.2 \
61                 derive_builder_core-0.5.0 \
62                 dirs-2.0.2 \
63                 dirs-sys-0.3.4 \
64                 dotenv-0.13.0 \
65                 dtoa-0.4.4 \
66                 either-1.5.3 \
67                 encoding_rs-0.8.20 \
68                 env_logger-0.6.2 \
69                 failure-0.1.6 \
70                 failure_derive-0.1.6 \
71                 fnv-1.0.6 \
72                 foreign-types-0.3.2 \
73                 foreign-types-shared-0.1.1 \
74                 fuchsia-cprng-0.1.1 \
75                 fuchsia-zircon-0.3.3 \
76                 fuchsia-zircon-sys-0.3.3 \
77                 futures-0.3.1 \
78                 futures-channel-0.3.1 \
79                 futures-core-0.3.1 \
80                 futures-executor-0.3.1 \
81                 futures-io-0.3.1 \
82                 futures-macro-0.3.1 \
83                 futures-sink-0.3.1 \
84                 futures-task-0.3.1 \
85                 futures-util-0.3.1 \
86                 getrandom-0.1.13 \
87                 h2-0.2.1 \
88                 heck-0.3.1 \
89                 hermit-abi-0.1.3 \
90                 http-0.2.0 \
91                 http-body-0.3.1 \
92                 httparse-1.3.4 \
93                 humantime-1.3.0 \
94                 hyper-0.13.2 \
95                 hyper-tls-0.4.1 \
96                 ident_case-1.0.1 \
97                 idna-0.1.5 \
98                 idna-0.2.0 \
99                 indexmap-1.3.0 \
100                 iovec-0.1.4 \
101                 itertools-0.8.1 \
102                 itoa-0.4.4 \
103                 js-sys-0.3.35 \
104                 kernel32-sys-0.2.2 \
105                 lazy_static-1.4.0 \
106                 libc-0.2.65 \
107                 linked-hash-map-0.5.2 \
108                 lock_api-0.3.1 \
109                 log-0.4.8 \
110                 malloc_buf-0.0.6 \
111                 matches-0.1.8 \
112                 memchr-2.2.1 \
113                 mime-0.3.14 \
114                 mime_guess-2.0.1 \
115                 mio-0.6.21 \
116                 miow-0.2.1 \
117                 native-tls-0.2.3 \
118                 net2-0.2.33 \
119                 nom-4.2.3 \
120                 num-integer-0.1.41 \
121                 num-traits-0.2.9 \
122                 num_cpus-1.11.1 \
123                 objc-0.2.7 \
124                 objc-foundation-0.1.1 \
125                 objc_id-0.1.1 \
126                 openssl-0.10.25 \
127                 openssl-probe-0.1.2 \
128                 openssl-sys-0.9.52 \
129                 parking_lot-0.10.0 \
130                 parking_lot_core-0.7.0 \
131                 percent-encoding-1.0.1 \
132                 percent-encoding-2.1.0 \
133                 pin-project-0.4.8 \
134                 pin-project-internal-0.4.8 \
135                 pin-project-lite-0.1.4 \
136                 pin-utils-0.1.0-alpha.4 \
137                 pkg-config-0.3.17 \
138                 ppv-lite86-0.2.6 \
139                 proc-macro-hack-0.5.11 \
140                 proc-macro-nested-0.1.3 \
141                 proc-macro2-0.4.30 \
142                 proc-macro2-1.0.6 \
143                 quick-error-1.2.2 \
144                 quote-0.6.13 \
145                 quote-1.0.2 \
146                 rand-0.6.5 \
147                 rand-0.7.2 \
148                 rand_chacha-0.1.1 \
149                 rand_chacha-0.2.1 \
150                 rand_core-0.3.1 \
151                 rand_core-0.4.2 \
152                 rand_core-0.5.1 \
153                 rand_hc-0.1.0 \
154                 rand_hc-0.2.0 \
155                 rand_isaac-0.1.1 \
156                 rand_jitter-0.1.4 \
157                 rand_os-0.1.3 \
158                 rand_pcg-0.1.2 \
159                 rand_xorshift-0.1.1 \
160                 random-0.12.2 \
161                 rdrand-0.4.0 \
162                 redox_syscall-0.1.56 \
163                 redox_users-0.3.1 \
164                 regex-1.3.1 \
165                 regex-syntax-0.6.12 \
166                 remove_dir_all-0.5.2 \
167                 reqwest-0.10.1 \
168                 rspotify-0.8.0 \
169                 rust-argon2-0.5.1 \
170                 rustc-demangle-0.1.16 \
171                 rustc-serialize-0.3.24 \
172                 ryu-1.0.2 \
173                 schannel-0.1.16 \
174                 scopeguard-1.0.0 \
175                 security-framework-0.3.4 \
176                 security-framework-sys-0.3.3 \
177                 serde-1.0.104 \
178                 serde_derive-1.0.104 \
179                 serde_json-1.0.48 \
180                 serde_urlencoded-0.6.1 \
181                 serde_yaml-0.8.11 \
182                 signal-hook-0.1.13 \
183                 signal-hook-registry-1.2.0 \
184                 slab-0.4.2 \
185                 smallvec-1.0.0 \
186                 sourcefile-0.1.4 \
187                 strsim-0.7.0 \
188                 strsim-0.8.0 \
189                 syn-0.15.44 \
190                 syn-1.0.8 \
191                 synstructure-0.12.3 \
192                 tempfile-3.1.0 \
193                 termcolor-1.0.5 \
194                 textwrap-0.11.0 \
195                 thread_local-0.3.6 \
196                 time-0.1.42 \
197                 tokio-0.2.11 \
198                 tokio-socks-0.2.0 \
199                 tokio-tls-0.3.0 \
200                 tokio-util-0.2.0 \
201                 tower-service-0.3.0 \
202                 try-lock-0.2.2 \
203                 tui-0.8.0 \
204                 unicase-2.6.0 \
205                 unicode-bidi-0.3.4 \
206                 unicode-normalization-0.1.10 \
207                 unicode-segmentation-1.6.0 \
208                 unicode-width-0.1.7 \
209                 unicode-xid-0.1.0 \
210                 unicode-xid-0.2.0 \
211                 url-1.7.2 \
212                 url-2.1.0 \
213                 vcpkg-0.2.7 \
214                 vec_map-0.8.1 \
215                 version_check-0.1.5 \
216                 version_check-0.9.1 \
217                 want-0.3.0 \
218                 wasi-0.7.0 \
219                 wasm-bindgen-0.2.58 \
220                 wasm-bindgen-backend-0.2.58 \
221                 wasm-bindgen-futures-0.4.8 \
222                 wasm-bindgen-macro-0.2.58 \
223                 wasm-bindgen-macro-support-0.2.58 \
224                 wasm-bindgen-shared-0.2.58 \
225                 wasm-bindgen-webidl-0.2.58 \
226                 web-sys-0.3.35 \
227                 webbrowser-0.5.2 \
228                 weedle-0.10.0 \
229                 widestring-0.4.0 \
230                 winapi-0.2.8 \
231                 winapi-0.3.8 \
232                 winapi-build-0.1.1 \
233                 winapi-i686-pc-windows-gnu-0.4.0 \
234                 winapi-util-0.1.2 \
235                 winapi-x86_64-pc-windows-gnu-0.4.0 \
236                 wincolor-1.0.2 \
237                 winreg-0.6.2 \
238                 ws2_32-sys-0.2.1 \
239                 x11-clipboard-0.3.3 \
240                 xcb-0.8.2 \
241                 yaml-rust-0.4.3
242
243 BINARY_ALIAS=   python3=${PYTHON_CMD}
244
245 SUB_FILES=      pkg-message
246 PLIST_FILES=    bin/spt
247 PORTDOCS=       CHANGELOG.md README.md
248
249 OPTIONS_DEFINE= DOCS SPOTIFYD
250 SPOTIFYD_DESC=  Lightweight Spotify client daemon
251
252 SPOTIFYD_RUN_DEPENDS=   spotifyd:audio/spotifyd
253
254 post-install:
255         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/spt
256
257 post-install-DOCS-on:
258         @${MKDIR} ${STAGEDIR}${DOCSDIR}
259         ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
260
261 .include <bsd.port.mk>