39 lines
1.2 KiB
Bash
39 lines
1.2 KiB
Bash
# Template file for 'intel-gmmlib'
|
|
pkgname=intel-gmmlib
|
|
version=21.2.1
|
|
revision=1
|
|
archs="i686* x86_64*"
|
|
wrksrc=gmmlib-intel-gmmlib-${version}
|
|
build_style=cmake
|
|
# We could add -DGMMLIB_ARCH=generic to make it use -march=generic
|
|
# instead of their default of 'corei7', but it isn't necessary:
|
|
# the baseline of CPUs supported by gmmlib all fit under 'corei7'.
|
|
# They also add many '-msse*' flags, but they are all supported
|
|
# as well. Since this library isn't a dependency for anything but
|
|
# intel-media-driver, which is wholly optional and installed only on
|
|
# systems with supported CPUs, it doesn't make sense to change the
|
|
# compilers flag in use.
|
|
configure_args="-Wno-dev"
|
|
short_desc="Intel Graphics Memory Management Library"
|
|
maintainer="Stefano Ragni <st3r4g@protonmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/intel/gmmlib"
|
|
distfiles="https://github.com/intel/gmmlib/archive/intel-gmmlib-${version}.tar.gz"
|
|
checksum=912cd86e4cb564b6fa549d69a28b72b9cdcb5a3eab9320955ed70ac37381fc2f
|
|
|
|
lib32disabled=yes
|
|
|
|
post_install() {
|
|
vlicense LICENSE.md
|
|
}
|
|
|
|
intel-gmmlib-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|