mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-18 07:18:58 -04:00
gentoo 不给力啊, amdgpu-amf 不升级, 咋支持新显卡
This commit is contained in:
parent
0da12444f8
commit
a0ca3c963c
1
media-video/amdgpu-pro-amf/Manifest
Normal file
1
media-video/amdgpu-pro-amf/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST amdgpu-pro-amf-1.4.29.1538781.deb 1656428 BLAKE2B ff3da872a5788f8d59ed6fd0ea5e832997d5f5d0da6b9e88acc2dbdacd0d8bd90762783bd30a64695bdbb321c002f9d3974d42004eda52b40bf286a7a213a5eb SHA512 d2ea53306581756064a0c838041e65ab780eaa7749baa7cc44ebfc514af18a850679ce1c320313504b0bab825192ef22775568fbd3ab646575bc642ef291ed2b
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit unpacker
|
||||
|
||||
MY_PV_HIGH=$(ver_cut 1)
|
||||
MY_PV_MIDDLE=$(ver_cut 2)
|
||||
MY_PV_LOW=$(ver_cut 3)
|
||||
MY_PV_REV=$(ver_cut 4)
|
||||
|
||||
MY_PV="${MY_PV_HIGH}.${MY_PV_MIDDLE}.${MY_PV_LOW}"
|
||||
MY_PV_FULL="${MY_PV}-${MY_PV_REV}"
|
||||
MY_PN="amf-amdgpu-pro"
|
||||
|
||||
PRO_VULKAN_PKG_VER="5.4.3"
|
||||
UBUNTU_VER="22.04"
|
||||
|
||||
DESCRIPTION="AMD's closed source Advanced Media Framework (AMF) driver"
|
||||
HOMEPAGE="https://www.amd.com/en/support"
|
||||
SRC_URI="https://repo.radeon.com/amdgpu/${PRO_VULKAN_PKG_VER}/ubuntu/pool/proprietary/a/${MY_PN}/${MY_PN}_${MY_PV_FULL}.${UBUNTU_VER}_amd64.deb -> ${P}.deb"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
RESTRICT="bindist mirror"
|
||||
|
||||
LICENSE="AMD-GPU-PRO-EULA"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/amdgpu-pro-vulkan
|
||||
media-libs/libglvnd
|
||||
x11-libs/libdrm
|
||||
x11-libs/libX11
|
||||
"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/lib64/libamfrt64.so*
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
mkdir "${S}/${PN}-amd64" || die
|
||||
cd "${S}/${PN}-amd64" || die
|
||||
unpack_deb "${DISTDIR}/${P}.deb"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/$(get_libdir)"
|
||||
|
||||
# AMF
|
||||
doins "${S}/${PN}-amd64/opt/amdgpu-pro/lib/x86_64-linux-gnu/libamfrt64.so.${MY_PV}"
|
||||
dosym "libamfrt64.so.${MY_PV}" "/usr/$(get_libdir)/libamfrt64.so.1"
|
||||
}
|
12
media-video/amdgpu-pro-amf/metadata.xml
Normal file
12
media-video/amdgpu-pro-amf/metadata.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<name>Adel Kara Slimane</name>
|
||||
<email>adel.ks@zegrapher.com</email>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user