media-sound/neocrystal: add 1.5.0, update 9999

Signed-off-by: Myisha Betty <myisha.gentoo@proton.me>
This commit is contained in:
Myisha Betty
2025-11-29 04:31:40 +03:00
parent f6ca39bece
commit 3f688dcca7
3 changed files with 229 additions and 2 deletions

View File

@@ -51,6 +51,7 @@ DIST ndk-context-0.1.1.crate 2205 BLAKE2B 6c1013410459ee13357877654303a04c2ee674
DIST ndk-sys-0.6.0+11769913.crate 329984 BLAKE2B a837bb5fc74dfe13f20f1923f1882257dd23b2d9eb57bf516696c391f48a2ad3a72be8062f7b957e2b25f00f729dc9f5da2b2c0942c43e7f2f3e844100281f11 SHA512 3f7a26aef2e220a5a98fa94e9770c0d865653b5c23331b8a6652819176be5d319d589050d4fb68a12ab3a4a87650aa5f30c7f50582fd097a411ab763f3359112
DIST neocrystal-1.4.1.tar.gz 23435 BLAKE2B 47603ed48403311e79198eff061cef5e6bf5d910e399cd2396fd1e5fc919c91c943df52fd33868bc2a86eeaee40d304e2dd6781266329b06c1de567b88fd6ab8 SHA512 4b8d78e1149baa00663c1b50c594c2b6a075e20313e4c1bd6957c6ae1228659fd3961e7d4243e4043b3c679b87c7b0bf7a774b62eb701184b82e31be082d318d
DIST neocrystal-1.4.2.tar.gz 23234 BLAKE2B 558fd53d42cb92c8d7ae3e353819877b5356d2382d382c90f4692c3033fc20e452be28e73846fc26bd263fba56573fdbd993f55a09361c8dcc96c0b3c0a7e0eb SHA512 7f9ba72acc0e01ec7610704c53e6c37eb368e1eb76d32402006a6caf4d6e9d9950248344c84d5602e1b28763c9d595b53eddc69a045a3d4129fa445cb283ba63
DIST neocrystal-1.5.0.tar.gz 23458 BLAKE2B bec7aac0fd904372ba4a5ae9f4092be621e99f7157761f27056360a89c1dfbd3168f548198d89fd6354f004a6ef33e55ee38c61ee5c4846a101ee77cb01529af SHA512 2bf31d5f93b76ea194c2b9dbc79c0fd90fe036f7d5c191876a36c53cc4b68249810372db3baca38eaacd27978d3f59558359feb3089ddce83be17787130e7a17
DIST nix-0.29.0.crate 318248 BLAKE2B 3a13a88375a359cf77b28d7f77f47f178bd31ef74b7627b6701bc6fc601024706be4e9ac1a076c7cba26b64d3bac4de17aab45fe3c045aa7a36e2d9232e872ca SHA512 86c05084aa0e6238f8d48df0f5ce6e6d7661b589f4f3fbdad43387c59c0d6afafea4badf25d31db1611615de19a0b9ef18ce614846b79a47cad4e2c9367dbe7f
DIST num-bigint-0.4.6.crate 102801 BLAKE2B 0460e7dfdbd44b6c68fc8ead6bff4353e549127158dab8bb5d217ee33104fe9ad5f58b63a01d56fffa8d7c4df1a87dcf5b536e436a0ef98dc4418a4690c4cc15 SHA512 19d14a7755de2b559026547d9e3e1775e636781bdfdd418f2e1d962c51411a0973a46d84d0356e30c0f708a7c7b2097926611960043f71391919cab1aeb6aa04
DIST num-derive-0.4.2.crate 14709 BLAKE2B be4abc3c51647f2d4ebe0c0619948cdc994c6ef808d768dd2b9274410716f524ec73c75440f7a780e4871f33055c81f800b0171e4b7a4e2214da5a3007393dab SHA512 55b951470a07dbce489ee43e1540056123d3eb7b5240903cd348951b81ef5aa5b2b1db311d1219bec8ad191373d0079bf40861e3f45380f8d8132f39d33b4f4c

View File

@@ -0,0 +1,217 @@
EAPI=8
CRATES="
adler2@2.0.1
alsa-sys@0.3.1
alsa@0.9.1
arrayvec@0.7.6
autocfg@1.5.0
bitflags@1.3.2
bitflags@2.9.4
bumpalo@3.19.0
bytemuck@1.23.2
byteorder@1.5.0
bytes@1.10.1
cc@1.2.36
cesu8@1.1.0
cfg-if@1.0.3
cfg_aliases@0.2.1
combine@4.6.7
coreaudio-rs@0.13.0
cpal@0.16.0
crc32fast@1.5.0
crossbeam-channel@0.5.15
crossbeam-utils@0.8.21
dasp_sample@0.11.0
discord-presence@2.1.0
dispatch2@0.3.0
encoding_rs@0.8.35
equivalent@1.0.2
extended@0.1.0
find-msvc-tools@0.1.1
flate2@1.1.4
getrandom@0.3.3
glob@0.3.3
hashbrown@0.15.5
home@0.5.12
id3@1.16.3
indexmap@2.11.0
itoa@1.0.15
jni-sys@0.3.0
jni@0.21.1
js-sys@0.3.78
lazy_static@1.5.0
libc@0.2.175
lock_api@0.4.13
log@0.4.28
mach2@0.4.3
memchr@2.7.5
miniz_oxide@0.8.9
mp3-duration@0.1.10
ncurses@5.101.0
ndk-context@0.1.1
ndk-sys@0.6.0+11769913
ndk@0.9.0
nix@0.29.0
num-bigint@0.4.6
num-derive@0.4.2
num-integer@0.1.46
num-rational@0.4.2
num-traits@0.2.19
num_enum@0.7.4
num_enum_derive@0.7.4
objc2-audio-toolbox@0.3.1
objc2-core-audio-types@0.3.1
objc2-core-audio@0.3.1
objc2-core-foundation@0.3.1
objc2-encode@4.1.0
objc2-foundation@0.3.1
objc2@0.6.2
once_cell@1.21.3
pancurses@0.17.0
parking_lot@0.12.4
parking_lot_core@0.9.11
paste@1.0.15
pdcurses-sys@0.7.1
pkg-config@0.3.32
ppv-lite86@0.2.21
proc-macro-crate@3.3.0
proc-macro-error-attr2@2.0.0
proc-macro-error2@2.0.1
proc-macro2@1.0.101
quork-proc@0.3.2
quork@0.7.2
quote@1.0.40
r-efi@5.3.0
rand@0.9.2
rand_chacha@0.9.0
rand_core@0.9.3
redox_syscall@0.5.17
rodio@0.21.1
rustversion@1.0.22
ryu@1.0.20
same-file@1.0.6
scopeguard@1.2.0
serde@1.0.219
serde_derive@1.0.219
serde_json@1.0.143
shlex@1.3.0
simd-adler32@0.3.7
smallvec@1.15.1
symphonia-bundle-flac@0.5.4
symphonia-bundle-mp3@0.5.4
symphonia-codec-aac@0.5.4
symphonia-codec-pcm@0.5.4
symphonia-codec-vorbis@0.5.4
symphonia-core@0.5.4
symphonia-format-isomp4@0.5.4
symphonia-format-ogg@0.5.4
symphonia-format-riff@0.5.4
symphonia-metadata@0.5.4
symphonia-utils-xiph@0.5.4
symphonia@0.5.4
syn@2.0.106
thiserror-impl@1.0.69
thiserror-impl@2.0.16
thiserror@1.0.69
thiserror@2.0.16
toml_datetime@0.6.11
toml_edit@0.22.27
unicode-ident@1.0.18
uuid@1.18.1
walkdir@2.5.0
wasi@0.14.5+wasi-0.2.4
wasip2@1.0.0+wasi-0.2.4
wasm-bindgen-backend@0.2.101
wasm-bindgen-futures@0.4.51
wasm-bindgen-macro-support@0.2.101
wasm-bindgen-macro@0.2.101
wasm-bindgen-shared@0.2.101
wasm-bindgen@0.2.101
web-sys@0.3.78
winapi-i686-pc-windows-gnu@0.4.0
winapi-util@0.1.11
winapi-x86_64-pc-windows-gnu@0.4.0
winapi@0.3.9
windows-core@0.54.0
windows-core@0.58.0
windows-implement@0.58.0
windows-interface@0.58.0
windows-link@0.2.1
windows-result@0.1.2
windows-result@0.2.0
windows-strings@0.1.0
windows-sys@0.45.0
windows-sys@0.59.0
windows-sys@0.61.2
windows-targets@0.42.2
windows-targets@0.52.6
windows@0.54.0
windows@0.58.0
windows_aarch64_gnullvm@0.42.2
windows_aarch64_gnullvm@0.52.6
windows_aarch64_msvc@0.42.2
windows_aarch64_msvc@0.52.6
windows_i686_gnu@0.42.2
windows_i686_gnu@0.52.6
windows_i686_gnullvm@0.52.6
windows_i686_msvc@0.42.2
windows_i686_msvc@0.52.6
windows_x86_64_gnu@0.42.2
windows_x86_64_gnu@0.52.6
windows_x86_64_gnullvm@0.42.2
windows_x86_64_gnullvm@0.52.6
windows_x86_64_msvc@0.42.2
windows_x86_64_msvc@0.52.6
winnow@0.7.13
winreg@0.5.1
wit-bindgen@0.45.1
zerocopy-derive@0.8.27
zerocopy@0.8.27
"
RUST_MIN_VER="1.88"
inherit cargo
DESCRIPTION="A terminal user interface music player in Rust"
HOMEPAGE="https://github.com/evilja/neocrystal"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/evilja/neocrystal.git"
src_unpack() {
git-r3_src_unpack
cargo_live_src_unpack
}
else
SRC_URI="https://github.com/evilja/neocrystal/archive/refs/tags/v${PV}.tar.gz -> ${PN}-${PV}.tar.gz"
SRC_URI+=" ${CARGO_CRATE_URIS}"
KEYWORDS="~amd64"
fi
#package license
LICENSE="MIT"
#crate licenses
LICENSE+=" Apache-2.0 BSD MPL-2.0 Unicode-3.0"
SLOT="0"
RDEPEND="
media-libs/alsa-lib
sys-libs/ncurses
"
BDEPEND="
virtual/pkgconfig
"
DEPEND=${RDEPEND}
src_prepare() {
default
eapply "${FILESDIR}"/remove-win32.patch
}
pkg_postinst() {
elog "neocrystal won't work without a ~/Music/"
elog "and you need to have alsa support to have a working playback"
elog "because cpal crate uses alsa for linux."
}

View File

@@ -170,6 +170,8 @@ CRATES="
zerocopy@0.8.27
"
RUST_MIN_VER="1.88"
inherit cargo
DESCRIPTION="A terminal user interface music player in Rust"
@@ -203,6 +205,13 @@ BDEPEND="
DEPEND=${RDEPEND}
pkg_postinst() {
elog "neocrystal won't work without a ~/Music"
src_prepare() {
default
eapply "${FILESDIR}"/remove-win32.patch
}
pkg_postinst() {
elog "neocrystal won't work without a ~/Music/"
elog "and you need to have alsa support to have a working playback"
elog "because cpal crate uses alsa for linux."
}