sys-apps/mission-center: fix rdeps

Closes: https://bugs.gentoo.org/931850
Closes: https://bugs.gentoo.org/933207
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono 2024-09-08 23:28:52 +09:00
parent 4f1005e9eb
commit 2c6d7f36d1
No known key found for this signature in database
GPG Key ID: 91CA2604719DDA61
3 changed files with 52 additions and 22 deletions

View File

@ -1,4 +1,4 @@
# Copyright 2023 Gentoo Authors # Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=8 EAPI=8
@ -281,7 +281,7 @@ CRATES="
zerocopy@0.7.25 zerocopy@0.7.25
" "
PYTHON_COMPAT=( python3_{9..12} ) PYTHON_COMPAT=( python3_{9..13} )
PATHFINDER_COMMIT=ec56924f660e6faa83c81c6b62b3c69b9a9fa00e PATHFINDER_COMMIT=ec56924f660e6faa83c81c6b62b3c69b9a9fa00e
NVTOP_COMMIT=45a1796375cd617d16167869bb88e5e69c809468 NVTOP_COMMIT=45a1796375cd617d16167869bb88e5e69c809468
@ -319,14 +319,20 @@ IUSE="debug"
DEPEND=" DEPEND="
>=dev-libs/appstream-0.16.4 >=dev-libs/appstream-0.16.4
>=x11-libs/pango-1.51.0 >=x11-libs/pango-1.51.0
>=dev-libs/glib-2.77 >=dev-libs/glib-2.77:2
>=dev-util/gdbus-codegen-2.77 >=dev-util/gdbus-codegen-2.77
dev-libs/wayland dev-libs/wayland
>=gui-libs/libadwaita-1.4.0 >=gui-libs/libadwaita-1.4.0:1
>=gui-libs/gtk-4.12.3 >=gui-libs/gtk-4.12.3:4
gui-libs/egl-gbm gui-libs/egl-gbm
media-libs/graphene
media-libs/libglvnd
media-libs/mesa
sys-apps/dbus
virtual/rust virtual/rust
virtual/udev virtual/udev
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/libdrm x11-libs/libdrm
" "
RDEPEND=" RDEPEND="
@ -353,7 +359,10 @@ src_prepare() {
eapply_user eapply_user
GATHERER_BUILD_DIR=$(usex debug debug release) GATHERER_BUILD_DIR=$(usex debug debug release)
cd "${BUILD_DIR}/src/sys_info_v2/gatherer/src/${GATHERER_BUILD_DIR}/build/native/nvtop-${NVTOP_COMMIT}" || die cd "${BUILD_DIR}/src/sys_info_v2/gatherer/src/${GATHERER_BUILD_DIR}/build/native/nvtop-${NVTOP_COMMIT}" || die
find "${S}/src/sys_info_v2/gatherer/3rdparty/nvtop/patches" -type f -name 'nvtop-*' -exec sh -c 'patch -p1 < {}' \; || die find "${S}/src/sys_info_v2/gatherer/3rdparty/nvtop/patches" \
-type f \
-name 'nvtop-*' \
-exec sh -c 'patch -p1 < {}' \; || die
} }
src_configure() { src_configure() {
@ -373,10 +382,12 @@ src_test() {
pkg_postinst() { pkg_postinst() {
gnome2_schemas_update gnome2_schemas_update
xdg_pkg_postinst
} }
pkg_postrm() { pkg_postrm() {
gnome2_schemas_update gnome2_schemas_update
xdg_pkg_postrm
} }
# rust does not use *FLAGS from make.conf, silence portage warning # rust does not use *FLAGS from make.conf, silence portage warning

View File

@ -1,4 +1,4 @@
# Copyright 2023 Gentoo Authors # Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=8 EAPI=8
@ -261,16 +261,22 @@ IUSE="debug"
DEPEND=" DEPEND="
>=dev-libs/appstream-0.16.4 >=dev-libs/appstream-0.16.4
>=x11-libs/pango-1.51.0 >=dev-libs/glib-2.80:2
>=dev-libs/glib-2.77
>=dev-util/gdbus-codegen-2.77
dev-libs/wayland dev-libs/wayland
>=gui-libs/libadwaita-1.4.0
>=gui-libs/gtk-4.12.3
gui-libs/egl-gbm gui-libs/egl-gbm
>=dev-util/gdbus-codegen-2.80
>=gui-libs/gtk-4.14:4
>=gui-libs/libadwaita-1.5.0:1
media-libs/graphene
media-libs/libglvnd
media-libs/mesa
sys-apps/dbus
virtual/rust virtual/rust
virtual/udev virtual/udev
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/libdrm x11-libs/libdrm
>=x11-libs/pango-1.51.0
" "
RDEPEND=" RDEPEND="
${DEPEND} ${DEPEND}
@ -296,7 +302,10 @@ src_prepare() {
eapply_user eapply_user
GATHERER_BUILD_DIR=$(usex debug debug release) GATHERER_BUILD_DIR=$(usex debug debug release)
cd "${BUILD_DIR}/src/sys_info_v2/gatherer/src/${GATHERER_BUILD_DIR}/build/native/nvtop-${NVTOP_COMMIT}" || die cd "${BUILD_DIR}/src/sys_info_v2/gatherer/src/${GATHERER_BUILD_DIR}/build/native/nvtop-${NVTOP_COMMIT}" || die
find "${S}/src/sys_info_v2/gatherer/3rdparty/nvtop/patches" -type f -name 'nvtop-*' -exec sh -c 'patch -p1 < {}' \; || die find "${S}/src/sys_info_v2/gatherer/3rdparty/nvtop/patches" \
-type f \
-name 'nvtop-*' \
-exec sh -c 'patch -p1 < {}' \; || die
} }
src_configure() { src_configure() {

View File

@ -1,9 +1,9 @@
# Copyright 2023 Gentoo Authors # Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=8 EAPI=8
PYTHON_COMPAT=( python3_{9..12} ) PYTHON_COMPAT=( python3_{9..13} )
PATHFINDER_COMMIT=ec56924f660e6faa83c81c6b62b3c69b9a9fa00e PATHFINDER_COMMIT=ec56924f660e6faa83c81c6b62b3c69b9a9fa00e
NVTOP_COMMIT=45a1796375cd617d16167869bb88e5e69c809468 NVTOP_COMMIT=45a1796375cd617d16167869bb88e5e69c809468
@ -24,20 +24,25 @@ BUILD_DIR="${S}-build"
LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 CC0-1.0 CeCILL-2 MIT Unicode-DFS-2016 Unlicense ZLIB" LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 CC0-1.0 CeCILL-2 MIT Unicode-DFS-2016 Unlicense ZLIB"
SLOT="0" SLOT="0"
IUSE="debug" IUSE="debug"
RESTRICT="network-sandbox"
DEPEND=" DEPEND="
>=dev-libs/appstream-0.16.4 >=dev-libs/appstream-0.16.4
>=x11-libs/pango-1.51.0 >=dev-libs/glib-2.80:2
>=dev-libs/glib-2.77
>=dev-util/gdbus-codegen-2.77
dev-libs/wayland dev-libs/wayland
>=gui-libs/libadwaita-1.4.0
>=gui-libs/gtk-4.12.3
gui-libs/egl-gbm gui-libs/egl-gbm
>=dev-util/gdbus-codegen-2.80
>=gui-libs/gtk-4.14:4
>=gui-libs/libadwaita-1.5.0:1
media-libs/graphene
media-libs/libglvnd
media-libs/mesa
sys-apps/dbus
virtual/rust virtual/rust
virtual/udev virtual/udev
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/libdrm x11-libs/libdrm
>=x11-libs/pango-1.51.0
" "
RDEPEND=" RDEPEND="
${DEPEND} ${DEPEND}
@ -63,7 +68,10 @@ src_prepare() {
eapply_user eapply_user
GATHERER_BUILD_DIR=$(usex debug debug release) GATHERER_BUILD_DIR=$(usex debug debug release)
cd "${BUILD_DIR}/src/sys_info_v2/gatherer/src/${GATHERER_BUILD_DIR}/build/native/nvtop-${NVTOP_COMMIT}" || die cd "${BUILD_DIR}/src/sys_info_v2/gatherer/src/${GATHERER_BUILD_DIR}/build/native/nvtop-${NVTOP_COMMIT}" || die
find "${S}/src/sys_info_v2/gatherer/3rdparty/nvtop/patches" -type f -name 'nvtop-*' -exec sh -c 'patch -p1 < {}' \; || die find "${S}/src/sys_info_v2/gatherer/3rdparty/nvtop/patches" \
-type f \
-name 'nvtop-*' \
-exec sh -c 'patch -p1 < {}' \; || die
} }
src_configure() { src_configure() {
@ -82,10 +90,12 @@ src_test() {
pkg_postinst() { pkg_postinst() {
gnome2_schemas_update gnome2_schemas_update
xdg_pkg_postinst
} }
pkg_postrm() { pkg_postrm() {
gnome2_schemas_update gnome2_schemas_update
xdg_pkg_postrm
} }
# rust does not use *FLAGS from make.conf, silence portage warning # rust does not use *FLAGS from make.conf, silence portage warning