summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2023-02-02 16:24:39 -0500
committerMatt Turner <mattst88@gentoo.org>2023-02-02 17:12:42 -0500
commit1af6eebf4a416588a2f26b674a1feb68140d05f1 (patch)
tree03743a62f4fec52b22221ae280b0782867fc75c4 /media-libs/gmmlib
parentmedia-video/libva-utils: Version bump to 2.17.1 (diff)
downloadgentoo-1af6eebf4a416588a2f26b674a1feb68140d05f1.tar.gz
gentoo-1af6eebf4a416588a2f26b674a1feb68140d05f1.tar.bz2
gentoo-1af6eebf4a416588a2f26b674a1feb68140d05f1.zip
media-libs/gmmlib: Version bump to 22.3.3
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-libs/gmmlib')
-rw-r--r--media-libs/gmmlib/Manifest1
-rw-r--r--media-libs/gmmlib/gmmlib-22.3.3.ebuild35
-rw-r--r--media-libs/gmmlib/metadata.xml3
3 files changed, 39 insertions, 0 deletions
diff --git a/media-libs/gmmlib/Manifest b/media-libs/gmmlib/Manifest
index 78e38a6b4a98..ba647218a06c 100644
--- a/media-libs/gmmlib/Manifest
+++ b/media-libs/gmmlib/Manifest
@@ -1,2 +1,3 @@
DIST intel-gmmlib-22.3.0.tar.gz 843176 BLAKE2B 8874012deec80f5639a4fd1e0f7d94f9b683ad02fb140a4bc365ba1369bf2996ed19e4ccd45832e513017aedaaf34e76d88fd46838a02e15cb93921f70d414f6 SHA512 461057be96ecb6b5e84bfa55e486ee898133305ee65d31006aaf4509500da5a3ca7bbd8a7fbb77dee934e0eee97bd0edfc66d7d8dafcb55cc114f3b4d0ccc583
DIST intel-gmmlib-22.3.2.tar.gz 843310 BLAKE2B cef45ad2e4090c846f8272cda9d3741b5e5534bbc555bd4d9fe1dc63b6cc1653367caebad638133cc6a48e8ba84f63868bdeeb940fb1a40a214948727fc9ee68 SHA512 925648d3250cc95eb7f3df04aace2ab9c97c9feecc7424708d19b6c40f8f0b0c802d2da078fb47489e9ca6f0cfe522f76b13eeb101b3665026582411e995d242
+DIST intel-gmmlib-22.3.3.tar.gz 843483 BLAKE2B bbc447823fc7a7301cfb5579ff28ead8c3f58c012e309d296232834283c1aadf6ced032db3cdd5fea36e251331c86e3b9cc3a7a8187d743b8075db603fd05cc8 SHA512 9257f4e42cfaf654e2cdf896dcf0c03f5918f889fcf89b4d3540e3c9c9dc60324d74377205d8d37464ee47e60833834ef7ff6af0c52548cfba054492e093d904
diff --git a/media-libs/gmmlib/gmmlib-22.3.3.ebuild b/media-libs/gmmlib/gmmlib-22.3.3.ebuild
new file mode 100644
index 000000000000..97335b7ca360
--- /dev/null
+++ b/media-libs/gmmlib/gmmlib-22.3.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_BUILD_TYPE="Release"
+
+inherit cmake
+
+DESCRIPTION="Intel Graphics Memory Management Library"
+HOMEPAGE="https://github.com/intel/gmmlib"
+SRC_URI="https://github.com/intel/gmmlib/archive/intel-${P}.tar.gz"
+S="${WORKDIR}/${PN}-intel-${P}"
+
+KEYWORDS="~amd64"
+LICENSE="MIT"
+SLOT="0/12.3"
+IUSE="+custom-cflags test"
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-20.2.2_conditional_testing.patch
+ "${FILESDIR}"/${PN}-20.3.2_cmake_project.patch
+ "${FILESDIR}"/${PN}-22.1.1_custom_cflags.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTING="$(usex test)"
+ -DBUILD_TYPE="Release"
+ -DOVERRIDE_COMPILER_FLAGS="$(usex !custom-cflags)"
+ )
+
+ cmake_src_configure
+}
diff --git a/media-libs/gmmlib/metadata.xml b/media-libs/gmmlib/metadata.xml
index 5b6eb8041eb8..d2ff24e7cb4c 100644
--- a/media-libs/gmmlib/metadata.xml
+++ b/media-libs/gmmlib/metadata.xml
@@ -8,4 +8,7 @@
<use>
<flag name="custom-cflags">Do not override user CFLAGS like -march, -msse and similar with lib defaults. Not tested by upstream.</flag>
</use>
+ <upstream>
+ <remote-id type="github">intel/gmmlib</remote-id>
+ </upstream>
</pkgmetadata>