# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 CRATES=" adler2@2.0.1 aho-corasick@1.1.5 arc-swap@1.9.5 async-broadcast@0.7.2 async-channel@2.5.0 async-executor@1.14.1 async-io@2.6.0 async-lock@3.5.0 async-process@2.5.0 async-recursion@1.2.0 async-signal@0.2.14 async-task@4.7.1 async-trait@0.1.92 atomic-waker@1.1.2 autocfg@1.5.1 bitflags@2.13.2 block@0.1.6 blocking@1.7.0 bumpalo@3.20.4 byteorder@1.5.0 cairo-rs@0.22.9 cairo-sys-rs@0.22.9 cc@1.11.2 cfg-expr@0.20.11 cfg-if@1.0.5 chacha20@0.10.2 concurrent-queue@2.5.0 configparser@3.3.0 cpufeatures@0.3.1 crc32fast@1.5.5 crossbeam-queue@0.3.14 crossbeam-utils@0.8.23 csv-core@0.1.13 csv@1.4.0 data-encoding@2.11.1 either@1.19.0 endi@1.1.1 enumflags2@0.7.12 enumflags2_derive@0.7.12 equivalent@1.0.3 errno@0.3.15 event-listener-strategy@0.5.4 event-listener@5.4.2 fastrand@2.5.0 field-offset@0.3.6 find-msvc-tools@0.1.15 flate2@1.1.11 futures-channel@0.3.34 futures-core@0.3.34 futures-executor@0.3.34 futures-io@0.3.34 futures-lite@2.6.1 futures-macro@0.3.34 futures-task@0.3.34 futures-util@0.3.34 gdk-pixbuf-sys@0.22.9 gdk-pixbuf@0.22.0 gdk4-sys@0.11.5 gdk4@0.11.5 getrandom@0.4.3 gettext-rs@0.8.0 gettext-sys@0.27.0 gio-sys@0.22.9 gio@0.22.10 glib-build-tools@0.22.8 glib-macros@0.22.9 glib-sys@0.22.9 glib@0.22.10 gobject-sys@0.22.9 graphene-rs@0.22.8 graphene-sys@0.22.9 gsk4-sys@0.11.5 gsk4@0.11.5 gstreamer-sys@0.25.4 gstreamer@0.25.4 gtk4-macros@0.11.5 gtk4-sys@0.11.5 gtk4@0.11.5 hashbrown@0.17.1 heck@0.5.0 hermit-abi@0.5.3 hex@0.4.3 indexmap@2.14.2 itertools@0.15.0 itoa@1.0.19 js-sys@0.3.107 ksni@0.3.7 kstring@2.0.5 lazy_static@1.5.1 libadwaita-sys@0.9.2 libadwaita@0.9.2 libc@0.2.191 linux-raw-sys@0.12.1 locale_config@0.3.0 lofty@0.25.5 lofty_attr@0.13.0 log@0.4.35 malloc_buf@0.0.6 md5@0.8.1 memchr@2.8.3 memoffset@0.9.1 miniz_oxide@0.9.1 mpris-server@0.10.0 muldiv@1.0.1 num-integer@0.1.47 num-rational@0.4.2 num-traits@0.2.19 objc-foundation@0.1.1 objc@0.2.7 objc_id@0.1.1 ogg_pager@0.8.0 once_cell@1.21.4 option-operations@0.6.1 ordered-stream@0.2.0 pango-sys@0.22.9 pango@0.22.9 parking@2.2.1 paste@1.0.15 pastey@0.2.3 pin-project-lite@0.2.17 piper@0.2.5 pkg-config@0.3.34 polling@3.11.0 proc-macro-crate@3.5.0 proc-macro2@1.0.107 quote@1.0.47 r-efi@6.0.0 rand@0.10.3 rand_core@0.10.1 regex-automata@0.4.18 regex-syntax@0.8.11 regex@1.13.1 rustc_version@0.4.1 rustix@1.1.6 rustversion@1.0.23 ryu@1.0.23 semver@1.0.28 serde@1.0.229 serde_core@1.0.229 serde_derive@1.0.229 serde_repr@0.1.21 serde_spanned@1.1.3 shlex@2.0.1 signal-hook-registry@1.4.8 simd-adler32@0.3.10 slab@0.4.12 smallvec@1.16.5 static_assertions@1.1.0 syn@2.0.119 syn@3.0.10 system-deps@7.0.8 system-deps@9.0.1 target-lexicon@0.13.5 task-local@0.1.1 temp-dir@0.1.16 tempfile@3.27.0 thiserror-impl@2.0.21 thiserror@2.0.21 toml@1.2.1+spec-1.1.0 toml_datetime@1.1.3+spec-1.1.0 toml_edit@0.25.19+spec-1.1.0 toml_parser@1.1.5+spec-1.1.0 toml_writer@1.2.0+spec-1.1.0 tracing-attributes@0.1.31 tracing-core@0.1.36 tracing@0.1.44 trait-variant@0.1.3 uds_windows@1.2.1 unicode-ident@1.0.27 uuid@1.29.2 version-compare@0.2.1 wasm-bindgen-macro-support@0.2.130 wasm-bindgen-macro@0.2.130 wasm-bindgen-shared@0.2.130 wasm-bindgen@0.2.130 winapi-i686-pc-windows-gnu@0.4.0 winapi-x86_64-pc-windows-gnu@0.4.0 winapi@0.3.9 windows-link@0.2.1 windows-sys@0.61.2 winnow@1.0.5 zbus@5.19.0 zbus_macros@5.19.0 zbus_names@4.3.5 zcheapstr@1.2.0 zlib-rs@0.6.8 zvariant@5.15.1 zvariant_derive@5.15.1 zvariant_utils@4.2.0 " inherit cargo gnome2-utils meson xdg DESCRIPTION="Music player for Gnome" HOMEPAGE="https://github.com/thankjura/beat-audio-player-rs" SRC_URI="https://github.com/thankjura/beat-audio-player-rs/archive/refs/tags/v${PV}.tar.gz $(cargo_crate_uris)" LICENSE="GPL-3" SLOT="0" IUSE="" KEYWORDS="amd64 ~arm64 x86" DEPEND="${PYTHON_DEPS} >=dev-libs/glib-2.50:2 >=dev-libs/gobject-introspection-1.54:= >=gui-libs/gtk-4.8 >=gui-libs/libadwaita-1.2 x11-libs/cairo media-libs/gstreamer " S=${WORKDIR}/beat-audio-player-rs-${PV} BUILD_DIR=${WORKDIR}/${P} ECARGO_HOME=${BUILD_DIR}/cargo-home #src_prepare() { # cargo_src_prepare # meson_src_prepare #} src_compile() { export CARGO_HOME="${ECARGO_HOME}" echo ${ECARGO_HOME} # cargo build meson_src_compile } pkg_postinst() { xdg_pkg_postinst gnome2_schemas_update } pkg_postrm() { xdg_pkg_postrm gnome2_schemas_update }