summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2023-07-19 10:54:10 -0400
committerMatt Turner <mattst88@gentoo.org>2023-07-19 10:58:58 -0400
commit565b2e5c1a0315f6ac5ad4b167a6d27cfc032ac8 (patch)
tree98b3a7a4cb50d05d37372412e6563e349d9c2031 /media-libs
parentmedia-libs/libshumate: Version bump to 1.0.5 (diff)
downloadgentoo-565b2e5c1a0315f6ac5ad4b167a6d27cfc032ac8.tar.gz
gentoo-565b2e5c1a0315f6ac5ad4b167a6d27cfc032ac8.tar.bz2
gentoo-565b2e5c1a0315f6ac5ad4b167a6d27cfc032ac8.zip
media-libs/gmmlib: Version bump to 22.3.9
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/gmmlib/Manifest1
-rw-r--r--media-libs/gmmlib/gmmlib-22.3.9.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/media-libs/gmmlib/Manifest b/media-libs/gmmlib/Manifest
index fb279d3aaac3..41428aecac11 100644
--- a/media-libs/gmmlib/Manifest
+++ b/media-libs/gmmlib/Manifest
@@ -1,2 +1,3 @@
DIST intel-gmmlib-22.3.5.tar.gz 843587 BLAKE2B 671f09a2be66962762dc47c8ab51dbc3454f197b2f8a8da73e09d1f1cef2284d69ca97ff78a6b9fd1c7c93baf0b5773a89e0e7fa22f7bf106e7205f0f681e5f4 SHA512 1440fd9afdf9bdb6b9ab45529ec48cd434d7a9410cbf026c3dc7dc60b09a8fa067993540b953c354805a766ff001ef56c756a4c37d465a2ca801f6cc179ca532
DIST intel-gmmlib-22.3.7.tar.gz 845054 BLAKE2B 0a5c284bc5aa32a6b79d0e36689665b8fb6157765e26f33b7aef800e515c6dc26527c011512d633d5d6160463f9f16a720a4e23fcbc9bb35c853a25a41a339ec SHA512 145e54da5c80c6f750847c496146c5853f92b90d1fa66695140052e0264d884069a459cf27bea7b742f1ac10817c00a369067512b9f2666c8b3c6cadf0233a2e
+DIST intel-gmmlib-22.3.9.tar.gz 845228 BLAKE2B e7f25e84f124e72b0479bd0dc10bdc70c174c282ab86ab6ce1557b45a3953e68460cb1974d90135d41562a64f6ddaaa077f66c12889b7b194dcee769a8cccc31 SHA512 5dae51b028ff604ecdee4b939c31ff029a289a75485a820547976ef15de7ce7793f45fa9b9594022435c30237548fff212dc7cbbbefbdaadee3a5be6e4a75401
diff --git a/media-libs/gmmlib/gmmlib-22.3.9.ebuild b/media-libs/gmmlib/gmmlib-22.3.9.ebuild
new file mode 100644
index 000000000000..21abbf34e428
--- /dev/null
+++ b/media-libs/gmmlib/gmmlib-22.3.9.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-multilib
+
+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
+)
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTING="$(usex test)"
+ -DBUILD_TYPE="Release"
+ -DOVERRIDE_COMPILER_FLAGS="$(usex !custom-cflags)"
+ )
+
+ cmake_src_configure
+}