. "$GRIMOIRE/FUNCTIONS" . "$GRIMOIRE/MESON_FUNCTIONS" SPELL=libdrm if [[ $LIBDRM_BRANCH == scm ]]; then VERSION="$(get_scm_version)" SOURCE=drm-git.tar.xz # Use the same source as drm SOURCE_URL[0]=git_http://gitlab.freedesktop.org/mesa/drm.git:drm-git:main SOURCE_DIRECTORY="$BUILD_DIRECTORY/drm-git" SOURCE_IGNORE=volatile FORCE_DOWNLOAD=1 else VERSION=2.4.107 SOURCE=${SPELL}-${VERSION}.tar.xz SOURCE_URL[0]=https://dri.freedesktop.org/${SPELL}/${SOURCE} SOURCE2=$SOURCE.sig SOURCE2_URL[0]=${SOURCE_URL[0]}.sig SOURCE_GPG=drm.gpg:$SOURCE.sig:UPSTREAM_KEY SOURCE2_IGNORE=signature SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION" fi WEB_SITE=http://dri.freedesktop.org/ ENTERED=20051125 LICENSE[0]=XCL SHORT="Direct rendering manager library" cat << EOF The Direct Rendering Infrastructure, also known as the DRI, is a framework for allowing direct access to graphics hardware under the X Window System in a safe and efficient manner. It includes changes to the X server, to several client libraries, and to the kernel (DRM, Direct Rendering Manager). The most important use for the DRI is to create fast OpenGL implementations providing hardware acceleration for Mesa. Several 3D accelerated drivers have been written to the DRI specification, including drivers for chipsets produced by 3DFX, AMD (formerly ATI), Intel and Matrox. EOF