freebsd-ports/audio/songrec/Makefile
Daniel Engberg 12f1c627d4 */*: Bump rust (cargo) ports to reflect on WITH_LTO
Bump ports in tree so they get rebuilt with new default settings
for cargo ports
2023-01-07 20:24:18 +01:00

304 lines
6.1 KiB
Makefile

PORTNAME= songrec
DISTVERSION= 0.3.2
PORTREVISION= 1
CATEGORIES= audio
MAINTAINER= yuri@FreeBSD.org
COMMENT= Shazam client written in Rust
WWW= https://github.com/marin-m/SongRec
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libasound.so:audio/alsa-lib \
libdbus-1.so:devel/dbus
USES= cargo gettext-runtime gnome ssl
USE_GNOME= gdkpixbuf2 glib20 gtk30
USE_GITHUB= yes
GH_ACCOUNT= marin-m
GH_PROJECT= SongRec
CARGO_CRATES= aho-corasick-0.7.18 \
alsa-0.5.0 \
alsa-sys-0.3.1 \
ansi_term-0.11.0 \
anyhow-1.0.47 \
app_dirs-1.2.1 \
atk-0.9.0 \
atk-sys-0.10.0 \
atty-0.2.14 \
autocfg-1.0.1 \
base64-0.12.3 \
base64-0.13.0 \
bindgen-0.56.0 \
bitflags-1.2.1 \
block-0.1.6 \
bstr-0.2.17 \
bumpalo-3.8.0 \
byteorder-1.4.3 \
bytes-0.5.6 \
bytes-1.1.0 \
cairo-rs-0.9.1 \
cairo-sys-rs-0.10.0 \
cc-1.0.72 \
cesu8-1.1.0 \
cexpr-0.4.0 \
cfg-if-0.1.10 \
cfg-if-1.0.0 \
chfft-0.3.4 \
chrono-0.4.19 \
clang-sys-1.3.0 \
clap-2.33.3 \
claxon-0.4.3 \
combine-4.6.2 \
core-foundation-0.9.2 \
core-foundation-sys-0.6.2 \
core-foundation-sys-0.8.3 \
coreaudio-rs-0.10.0 \
coreaudio-sys-0.2.8 \
cpal-0.13.3 \
crc32fast-1.2.1 \
csv-1.1.6 \
csv-core-0.1.10 \
darling-0.10.2 \
darling_core-0.10.2 \
darling_macro-0.10.2 \
dbus-0.6.5 \
derivative-2.2.0 \
directories-4.0.1 \
dirs-3.0.2 \
dirs-sys-0.3.6 \
either-1.6.1 \
encoding_rs-0.8.29 \
fnv-1.0.7 \
foreign-types-0.3.2 \
foreign-types-shared-0.1.1 \
form_urlencoded-1.0.1 \
fuchsia-zircon-0.3.3 \
fuchsia-zircon-sys-0.3.3 \
futures-0.3.17 \
futures-channel-0.3.17 \
futures-core-0.3.17 \
futures-executor-0.3.17 \
futures-io-0.3.17 \
futures-macro-0.3.17 \
futures-sink-0.3.17 \
futures-task-0.3.17 \
futures-util-0.3.17 \
gag-0.1.10 \
gdk-0.13.2 \
gdk-pixbuf-0.9.0 \
gdk-pixbuf-sys-0.10.0 \
gdk-sys-0.10.0 \
getrandom-0.1.16 \
getrandom-0.2.3 \
gettext-rs-0.5.0 \
gettext-sys-0.19.9 \
gio-0.9.1 \
gio-sys-0.10.1 \
glib-0.10.3 \
glib-macros-0.10.1 \
glib-sys-0.10.1 \
glob-0.3.0 \
gobject-sys-0.10.0 \
gtk-0.9.2 \
gtk-sys-0.10.0 \
h2-0.2.7 \
hashbrown-0.11.2 \
heck-0.3.3 \
hermit-abi-0.1.19 \
hound-3.4.0 \
http-0.2.5 \
http-body-0.3.1 \
httparse-1.5.1 \
httpdate-0.3.2 \
hyper-0.13.10 \
hyper-tls-0.4.3 \
ident_case-1.0.1 \
idna-0.2.3 \
indexmap-1.7.0 \
instant-0.1.12 \
iovec-0.1.4 \
ipnet-2.3.1 \
itertools-0.9.0 \
itoa-0.4.8 \
jni-0.18.0 \
jni-0.19.0 \
jni-sys-0.3.0 \
jobserver-0.1.24 \
js-sys-0.3.55 \
kernel32-sys-0.2.2 \
lazy_static-1.4.0 \
lazycell-1.3.0 \
lewton-0.10.2 \
libc-0.2.108 \
libdbus-sys-0.2.2 \
libloading-0.7.2 \
locale_config-0.3.0 \
lock_api-0.4.5 \
log-0.4.14 \
mach-0.3.2 \
malloc_buf-0.0.6 \
matches-0.1.9 \
memchr-2.4.1 \
memoffset-0.6.4 \
mime-0.3.16 \
mime_guess-2.0.3 \
minimp3-0.5.1 \
minimp3-sys-0.3.2 \
mio-0.6.23 \
miow-0.2.2 \
mpris-player-0.6.1 \
native-tls-0.2.8 \
ndk-0.3.0 \
ndk-0.4.0 \
ndk-glue-0.3.0 \
ndk-glue-0.4.0 \
ndk-macro-0.2.0 \
ndk-sys-0.2.1 \
net2-0.2.37 \
nix-0.20.2 \
nom-5.1.2 \
num-complex-0.4.0 \
num-derive-0.3.3 \
num-integer-0.1.44 \
num-traits-0.2.14 \
num_cpus-1.13.0 \
num_enum-0.5.4 \
num_enum_derive-0.5.4 \
objc-0.2.7 \
objc-foundation-0.1.1 \
objc_id-0.1.1 \
oboe-0.4.4 \
oboe-sys-0.4.4 \
ogg-0.8.0 \
ole32-sys-0.2.0 \
once_cell-1.8.0 \
openssl-0.10.38 \
openssl-probe-0.1.4 \
openssl-sys-0.9.71 \
pango-0.9.1 \
pango-sys-0.10.0 \
parking_lot-0.11.2 \
parking_lot_core-0.8.5 \
peeking_take_while-0.1.2 \
percent-encoding-2.1.0 \
pin-project-1.0.8 \
pin-project-internal-1.0.8 \
pin-project-lite-0.1.12 \
pin-project-lite-0.2.7 \
pin-utils-0.1.0 \
pkg-config-0.3.22 \
ppv-lite86-0.2.15 \
proc-macro-crate-0.1.5 \
proc-macro-crate-1.1.0 \
proc-macro-error-1.0.4 \
proc-macro-error-attr-1.0.4 \
proc-macro-hack-0.5.19 \
proc-macro-nested-0.1.7 \
proc-macro2-1.0.32 \
quote-1.0.10 \
rand-0.7.3 \
rand-0.8.4 \
rand_chacha-0.2.2 \
rand_chacha-0.3.1 \
rand_core-0.5.1 \
rand_core-0.6.3 \
rand_hc-0.2.0 \
rand_hc-0.3.1 \
redox_syscall-0.2.10 \
redox_users-0.4.0 \
regex-1.5.4 \
regex-automata-0.1.10 \
regex-syntax-0.6.25 \
remove_dir_all-0.5.3 \
reqwest-0.10.10 \
rodio-0.13.1 \
rustc-hash-1.1.0 \
ryu-1.0.5 \
same-file-1.0.6 \
schannel-0.1.19 \
scopeguard-1.1.0 \
security-framework-2.3.1 \
security-framework-sys-2.4.2 \
serde-1.0.130 \
serde_derive-1.0.130 \
serde_json-1.0.71 \
serde_urlencoded-0.7.0 \
shell32-sys-0.1.2 \
shlex-0.1.1 \
slab-0.4.5 \
slice-deque-0.3.0 \
smallvec-1.7.0 \
socket2-0.3.19 \
stdweb-0.1.3 \
strsim-0.8.0 \
strsim-0.9.3 \
strum-0.18.0 \
strum_macros-0.18.0 \
syn-1.0.81 \
system-deps-1.3.2 \
tempfile-3.2.0 \
textwrap-0.11.0 \
thiserror-1.0.30 \
thiserror-impl-1.0.30 \
time-0.1.43 \
tinyvec-1.5.1 \
tinyvec_macros-0.1.0 \
tokio-0.2.25 \
tokio-tls-0.3.1 \
tokio-util-0.3.1 \
toml-0.4.10 \
toml-0.5.8 \
tower-service-0.3.1 \
tracing-0.1.29 \
tracing-core-0.1.21 \
tracing-futures-0.2.5 \
try-lock-0.2.3 \
unicase-2.6.0 \
unicode-bidi-0.3.7 \
unicode-normalization-0.1.19 \
unicode-segmentation-1.8.0 \
unicode-width-0.1.9 \
unicode-xid-0.2.2 \
url-2.2.2 \
uuid-0.8.2 \
vcpkg-0.2.15 \
vec_map-0.8.2 \
version-compare-0.0.10 \
version_check-0.9.3 \
walkdir-2.3.2 \
want-0.3.0 \
wasi-0.9.0+wasi-snapshot-preview1 \
wasi-0.10.2+wasi-snapshot-preview1 \
wasm-bindgen-0.2.78 \
wasm-bindgen-backend-0.2.78 \
wasm-bindgen-futures-0.4.28 \
wasm-bindgen-macro-0.2.78 \
wasm-bindgen-macro-support-0.2.78 \
wasm-bindgen-shared-0.2.78 \
web-sys-0.3.55 \
winapi-0.2.8 \
winapi-0.3.9 \
winapi-build-0.1.1 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-util-0.1.5 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
winreg-0.7.0 \
ws2_32-sys-0.2.1 \
xdg-2.4.0
OPENSSLINC= /usr/include
OPENSSLLIB= /usr/lib
PLIST_FILES= bin/${PORTNAME}
# known problem: The 'Audio input' combobox doesn't have any selections, see https://github.com/marin-m/SongRec/issues/115
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>