summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdel KARA SLIMANE <adel.ks@zegrapher.com>2021-12-11 02:34:26 +0100
committerSam James <sam@gentoo.org>2022-02-19 05:14:37 +0000
commit5333613db05512c6f6c13721878a30f53efce320 (patch)
tree9eea8936eedf4410dbbcb3d4134306aaffbb7fa4 /media-libs/amf-headers
parentmedia-video/amdgpu-pro-amf: new package (diff)
downloadgentoo-5333613db05512c6f6c13721878a30f53efce320.tar.gz
gentoo-5333613db05512c6f6c13721878a30f53efce320.tar.bz2
gentoo-5333613db05512c6f6c13721878a30f53efce320.zip
media-libs/amf-headers: new package
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/amf-headers')
-rw-r--r--media-libs/amf-headers/Manifest1
-rw-r--r--media-libs/amf-headers/amf-headers-1.4.23.ebuild34
-rw-r--r--media-libs/amf-headers/metadata.xml16
3 files changed, 51 insertions, 0 deletions
diff --git a/media-libs/amf-headers/Manifest b/media-libs/amf-headers/Manifest
new file mode 100644
index 000000000000..321a8313dba8
--- /dev/null
+++ b/media-libs/amf-headers/Manifest
@@ -0,0 +1 @@
+DIST amf-headers-1.4.23.tar.gz 14971091 BLAKE2B d569851ccb5b3cd57bfff3e6475207e9f01681c2215add160a83165653efce2f0c8acc41a49c227952a649f0cfe92e7e713fbee8bd45b0489844c19e83fa5c74 SHA512 98b2b7d634ac24be5c5234fad99d58c9668b2dab83e89162a0508f9b06efec5de29b307534dc1dd677f9586be2c4fa58c8f04a535d5e66fa0be3b233a117a5d7
diff --git a/media-libs/amf-headers/amf-headers-1.4.23.ebuild b/media-libs/amf-headers/amf-headers-1.4.23.ebuild
new file mode 100644
index 000000000000..6ac500edc74a
--- /dev/null
+++ b/media-libs/amf-headers/amf-headers-1.4.23.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/GPUOpen-LibrariesAndSDKs/AMF"
+else
+ SRC_URI="https://github.com/GPUOpen-LibrariesAndSDKs/AMF/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="The Advanced Media Framework (AMF) SDK"
+HOMEPAGE="https://github.com/GPUOpen-LibrariesAndSDKs/AMF"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+S="${WORKDIR}/AMF-${PV}"
+
+src_unpack() {
+ default
+
+ if [[ ${PV} == 9999 ]]; then
+ git-r3_src_unpack
+ fi
+}
+
+src_install() {
+ insinto "/usr/include/AMF"
+ doins -r "${S}/amf/public/include/"*
+}
diff --git a/media-libs/amf-headers/metadata.xml b/media-libs/amf-headers/metadata.xml
new file mode 100644
index 000000000000..2e81ecdb16ab
--- /dev/null
+++ b/media-libs/amf-headers/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://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>
+ <upstream>
+ <remote-id type="github">GPUOpen-LibrariesAndSDKs/AMF</remote-id>
+ <bugs-to>https://github.com/GPUOpen-LibrariesAndSDKs/AMF/issues</bugs-to>
+ </upstream>
+</pkgmetadata>