forked from Shinonome/dots-hyprland
Gentoo: songrec update (#3137)
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ RDEPEND="
|
|||||||
gui-apps/hypridle
|
gui-apps/hypridle
|
||||||
gui-apps/hyprlock
|
gui-apps/hyprlock
|
||||||
gui-apps/hyprpicker
|
gui-apps/hyprpicker
|
||||||
app-misc/songrec
|
media-sound/songrec
|
||||||
app-i18n/translate-shell
|
app-i18n/translate-shell
|
||||||
gui-apps/wlogout
|
gui-apps/wlogout
|
||||||
sci-libs/libqalculate
|
sci-libs/libqalculate
|
||||||
@@ -19,6 +19,3 @@ import_ebuild "${FT_DIR}" "media-fonts" "rubik-vf"
|
|||||||
import_ebuild "${FT_DIR}" "media-fonts" "space-grotesk"
|
import_ebuild "${FT_DIR}" "media-fonts" "space-grotesk"
|
||||||
import_ebuild "${FT_DIR}" "kde-plasma" "breeze-plus"
|
import_ebuild "${FT_DIR}" "kde-plasma" "breeze-plus"
|
||||||
import_ebuild "${FT_DIR}" "x11-themes" "darkly"
|
import_ebuild "${FT_DIR}" "x11-themes" "darkly"
|
||||||
|
|
||||||
############### WIDGETS
|
|
||||||
import_ebuild "${WIDGETS_DIR}" "app-misc" "songrec"
|
|
||||||
|
|||||||
@@ -28,7 +28,6 @@ gui-libs/hyprcursor
|
|||||||
gui-apps/wf-recorder
|
gui-apps/wf-recorder
|
||||||
gui-apps/wtype
|
gui-apps/wtype
|
||||||
gui-apps/fuzzel
|
gui-apps/fuzzel
|
||||||
gui-apps/quickshell **
|
|
||||||
gui-apps/wlogout
|
gui-apps/wlogout
|
||||||
dev-cpp/sdbus-c++
|
dev-cpp/sdbus-c++
|
||||||
dev-libs/hyprland-protocols
|
dev-libs/hyprland-protocols
|
||||||
@@ -52,7 +51,7 @@ media-fonts/space-grotesk
|
|||||||
media-fonts/material-symbols-variable **
|
media-fonts/material-symbols-variable **
|
||||||
media-fonts/readex-pro
|
media-fonts/readex-pro
|
||||||
media-fonts/rubik-vf
|
media-fonts/rubik-vf
|
||||||
app-misc/songrec
|
media-sound/songrec
|
||||||
dev-cpp/glaze
|
dev-cpp/glaze
|
||||||
dev-cpp/cpptrace
|
dev-cpp/cpptrace
|
||||||
dev-libs/libdwarf
|
dev-libs/libdwarf
|
||||||
|
|||||||
@@ -1,48 +0,0 @@
|
|||||||
# Copyright 2025 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DESCRIPTION="Illogicall Impulse Widget Dependencies"
|
|
||||||
HOMEPAGE=""
|
|
||||||
SRC_URI="https://github.com/marin-m/SongRec/archive/${PV}.tar.gz -> ${P}-SongRec.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
# need for cargo fetch, idk how to get around it if possible
|
|
||||||
RESTRICT="strip network-sandbox"
|
|
||||||
|
|
||||||
DEPEND=""
|
|
||||||
RDEPEND=""
|
|
||||||
|
|
||||||
S="${WORKDIR}/SongRec-${PV}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
export CARGO_HOME="${WORKDIR}/cargo"
|
|
||||||
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
export CARGO_HOME="${WORKDIR}/cargo"
|
|
||||||
cargo build --release --frozen --offline
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin target/release/songrec
|
|
||||||
insinto /usr/share/applications
|
|
||||||
|
|
||||||
doins packaging/rootfs/usr/share/applications/com.github.marinm.songrec.desktop
|
|
||||||
|
|
||||||
insinto /usr/share/icons/hicolor/scalable/apps
|
|
||||||
doins packaging/rootfs/usr/share/icons/hicolor/scalable/apps/com.github.marinm.songrec.svg
|
|
||||||
|
|
||||||
insinto /usr/share/metainfo
|
|
||||||
doins packaging/rootfs/usr/share/metainfo/com.github.marinm.songrec.metainfo.xml
|
|
||||||
|
|
||||||
insinto /usr/share/songrec/translations
|
|
||||||
doins -r translations/*
|
|
||||||
|
|
||||||
dodoc README.md
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user