use new ebuilds

This commit is contained in:
jwihardi
2025-11-07 01:27:45 -05:00
parent 9249034fa6
commit fa08f972d6
21 changed files with 186 additions and 142 deletions
@@ -9,7 +9,7 @@ SRC_URI="https://github.com/mjkim0727/breeze-plus/archive/refs/tags/${PV}.tar.gz
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64 ~arm64 ~x86"
RDEPEND="kde-plasma/breeze"
BDEPEND=""
@@ -0,0 +1,40 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit font
DESCRIPTION="Material Design icons by Google - variable fonts"
HOMEPAGE="https://github.com/google/material-design-icons"
BASE_URL="https://github.com/google/material-design-icons/raw/refs/heads/master"
SRC_URI="
${BASE_URL}/variablefont/MaterialSymbolsOutlined%5BFILL,GRAD,opsz,wght%5D.ttf -> MaterialSymbolsOutlined-FILL-GRAD-opsz-wght.ttf
${BASE_URL}/variablefont/MaterialSymbolsRounded%5BFILL,GRAD,opsz,wght%5D.ttf -> MaterialSymbolsRounded-FILL-GRAD-opsz-wght.ttf
${BASE_URL}/variablefont/MaterialSymbolsSharp%5BFILL,GRAD,opsz,wght%5D.ttf -> MaterialSymbolsSharp-FILL-GRAD-opsz-wght.ttf
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS=""
S="${WORKDIR}"
FONT_SUFFIX="ttf"
src_unpack() {
mkdir -p "${S}"
cp "${DISTDIR}/MaterialSymbolsOutlined-FILL-GRAD-opsz-wght.ttf" \
"${S}/MaterialSymbolsOutlined[FILL,GRAD,opsz,wght].ttf"
cp "${DISTDIR}/MaterialSymbolsRounded-FILL-GRAD-opsz-wght.ttf"
"${S}/MaterialSymbolsRounded[FILL,GRAD,opsz,wght].ttf"
cp "${DISTDIR}/MaterialSymbolsSharp-FILL-GRAD-opsz-wght.ttf" \
"${S}/MaterialSymbolsSharp[FILL,GRAD,opsz,wght].ttf"
}
src_install() {
font_src_install
}
@@ -17,5 +17,5 @@ S="${WORKDIR}/readexpro-master"
src_install() {
insinto /usr/share/fonts/ttf-readex-pro
doins "${S_READEXPRO}"/fonts/ttf/*.ttf
doins "${S}"/fonts/ttf/*.ttf
}
@@ -13,6 +13,7 @@ SRC_URI="https://github.com/googlefonts/rubik/archive/${COMMIT}.tar.gz -> ${P}.t
LICENSE="OFL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
S="${WORKDIR}/rubik-${COMMIT}"
@@ -0,0 +1,28 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit font
DESCRIPTION="Space Grotesk OTF font from 38C3 styleguide"
HOMEPAGE="https://events.ccc.de/congress/2024/infos/styleguide.html"
SRC_URI="https://events.ccc.de/congress/2024/infos/styleguide/38c3-styleguide-full-v2.zip"
LICENSE="OFL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
BDEPEND="app-arch/unzip"
S="${WORKDIR}/fonts/space-grotesk-${PV}"
FONT_S="${S}/otf"
FONT_SUFFIX="otf"
src_install() {
font_src_install
dodoc OFL.txt
}
@@ -0,0 +1,28 @@
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake git-r3
DESCRIPTION="Hyprland graphics / resource utilities (live/HEAD)"
HOMEPAGE="https://github.com/hyprwm/hyprgraphics"
# For live ebuilds, Portage clones the git repo
EGIT_REPO_URI="https://github.com/hyprwm/hyprgraphics.git"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=gui-libs/hyprutils-0.1.1:=
media-libs/libjpeg-turbo:=
media-libs/libjxl:=
media-libs/libspng
media-libs/libwebp:=
sys-apps/file
x11-libs/cairo
"
DEPEND="${RDEPEND}"
@@ -0,0 +1,35 @@
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake git-r3
DESCRIPTION="QML style provider for hypr* Qt apps"
HOMEPAGE="https://github.com/hyprwm/hyprland-qt-support"
EGIT_REPO_URI="https://github.com/hyprwm/hyprland-qt-support.git"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64"
RDEPEND="
dev-qt/qtbase:6
dev-qt/qtdeclarative:6
>=dev-libs/hyprlang-0.6.0
"
DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
"
src_configure() {
local mycmakeargs=(
-DINSTALL_QML_PREFIX="${EPFREIX}/$(get_libdir)/qt6/qml"
)
cmake_src_configure
}
@@ -0,0 +1,26 @@
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake git-r3
DESCRIPTION="Hyprland QT/qml utility apps"
HOMEPAGE="https://github.com/hyprwm/hyprland-qtutils"
EGIT_REPO_URI="https://github.com/hyprwm/hyprland-qtutils.git"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
RDEPEND="
dev-qt/qtbase:6
dev-qt/qtdeclarative:6
dev-qt/qtwayland:6
gui-libs/hyprutils:=
gui-libs/hyprland-qt-support
kde-frameworks/qqc2-desktop-style:6
"
DEPEND="${RDEPEND}"
@@ -0,0 +1,25 @@
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake toolchain-funcs git-r3
DESCRIPTION="Official implementation library for the hypr config language"
HOMEPAGE="https://github.com/hyprwm/hyprlang"
EGIT_REPO_URI="https://github.com/hyprwm/hyprlang.git"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=">=gui-libs/hyprutils-0.7.1:="
DEPEND="${RDEPEND}"
BDEPEND="|| ( >=sys-devel/gcc-14:* >=llvm-core/clang-18:* )"
pkg_setup() {
[[ ${MERGE_TYPE} == binary ]] && return
tc-check-min_ver gcc 14
tc-check-min_ver clang 18
}
@@ -0,0 +1,37 @@
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake toolchain-funcs
DESCRIPTION="A Hyprland implementation of wayland-scanner, in and for C++"
HOMEPAGE="https://github.com/hyprwm/hyprwayland-scanner/"
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://github.com/hyprwm/hyprwayland-scanner.git"
inherit git-r3
else
SRC_URI="https://github.com/hyprwm/hyprwayland-scanner/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
fi
LICENSE="BSD"
KEYWORDS="amd64 arm64 x86"
SLOT="0"
RDEPEND=">=dev-libs/pugixml-1.14"
DEPEND="${RDEPEND}"
pkg_setup() {
[[ ${MERGE_TYPE} == binary ]] && return
if tc-is-gcc && ver_test $(gcc-version) -lt 13 ; then
eerror "Hyprland requires >=sys-devel/gcc-13 to build"
eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc"
die "GCC version is too old to compile Hyprland!"
elif tc-is-clang && ver_test $(clang-version) -lt 16 ; then
eerror "Hyprland requires >=llvm-core/clang-16 to build"
eerror "Please upgrade Clang: emerge -v1 llvm-core/clang"
die "Clang version is too old to compile Hyprland!"
fi
}
@@ -0,0 +1,48 @@
# 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
}