summaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-video-intel
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/xf86-video-intel')
-rw-r--r--x11-drivers/xf86-video-intel/Manifest4
-rw-r--r--x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20230201.ebuild93
-rw-r--r--x11-drivers/xf86-video-intel/xf86-video-intel-9999.ebuild4
3 files changed, 98 insertions, 3 deletions
diff --git a/x11-drivers/xf86-video-intel/Manifest b/x11-drivers/xf86-video-intel/Manifest
index 8f73faf34994..da7ddcae8e45 100644
--- a/x11-drivers/xf86-video-intel/Manifest
+++ b/x11-drivers/xf86-video-intel/Manifest
@@ -1,4 +1,6 @@
DIST xf86-video-intel-2.99.917_p20201215.tar.bz2 1250622 BLAKE2B ddcbd84ee125528fe82f0a369f8e768d218eb0d9c4fc00cbe4a921d6267a846eccc001e3dd765f8cdaf7a38c461357831cd9675acfdfd3cc6ac282ec4b6f4b67 SHA512 29526fe191a95c2df5a3e168150b8c7f759dfdc9a4912e28887ec51be05304a9f552d21c990a37a90d6299e64df4bb1fba051c1d0ad25606dc52f801cd30b60d
+DIST xf86-video-intel-2.99.917_p20230201.tar.bz2 1250201 BLAKE2B f41aa429079b60b06a4f78289c5d94de9203c55756bcc3f1ff016a9226e7fa01b3559305ea3328acbc88063c8a5a96289a0ba9954e011c4eaeb7ac5d8fc3e240 SHA512 5f37bfead71ca5a671640919c357912d15b809fe8f55f572119927b218e58bbd75f3ec4370a80d74d454debb09c678105b3120f8d7eced3f9ed858878ba9128c
EBUILD xf86-video-intel-2.99.917_p20201215.ebuild 2028 BLAKE2B 85d72fc92f7f1ccf2769b1fda93a6de553f3b172b00e116bdfac20ac3afba823a4bc247d243a9f15111f8bf96245574a6aed074f0464857c517b515e77da4e17 SHA512 8ec6a8b5a588bf34a1c309811bd9c3e845739bf18136e0a292d16979186d7566baced46c3da7ebe712dd09bfc74fe5c8f207785abc21957e7d7c6ef45529f298
-EBUILD xf86-video-intel-9999.ebuild 1990 BLAKE2B 29f2738249bb4b10db97f81567ab4e7921014fa1000c8cc53d5bdde02b9905f05a7be12bcee32583c1277e47e3fb1e962399c95ccc71681d131c28c37f4ff5d5 SHA512 5c7c28933fc38ca76374972f3cd4285a48e6ea292c4367356458e67e43045228c252626369f124058c7210ed40bf15c77e656f6ac1ebd428bea60a09cd90f1f6
+EBUILD xf86-video-intel-2.99.917_p20230201.ebuild 2030 BLAKE2B bebd93e177281c3368a38bf3de6e56f2ae158e6e50ed93bcc1fd2310230d2c29e10a6ddca6d7658270995b54297a035636cb7b7648670be6193501abe55916d9 SHA512 cf298e6539f78fe533d0d4fc5ab0d8c36306a6d0553a0cc791cfdb2c5b143169d61c1c9bd2b10c944844f1a30836be4a14713e05c78943ea971ddd4e1b03bd71
+EBUILD xf86-video-intel-9999.ebuild 1990 BLAKE2B d546dfac9bdc90c8c9949628ecb436630acd7037d10368c00fb4db78cdda01b1e97fd7e7009638c2919369af8255961fe7dd94404d95021d81e98907f380462c SHA512 40674381b5d829e9a92c19e3d96a342a9e0d54a37bae3f2b8c960c20b5a085436ff5a754cc085e6b5b7cec719747e055f729072a77e30a8d913d77a47288f671
MISC metadata.xml 684 BLAKE2B 38aa4bdc4d0cef985f16a1580083839a7866b6a423ca0046f12142f187ac32009ce4163bf86f0688e6c9566f5822c9e8dd801224ba06a1ea39f08ebfce97f077 SHA512 fa9a5cf8cfa205f89019c298a6064efc2800b265a60f55c461d7e34faa0129978404507e4ce96ac629a6ea20a9e9b6eb29103b565f9758ce7b0f9e7656794fba
diff --git a/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20230201.ebuild b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20230201.ebuild
new file mode 100644
index 000000000000..fef57ffc39e7
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20230201.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+XORG_DRI=dri
+XORG_EAUTORECONF=yes
+inherit linux-info xorg-3 flag-o-matic
+
+if [[ ${PV} == 9999* ]]; then
+ SRC_URI=""
+else
+ KEYWORDS="~amd64 ~x86"
+ COMMIT_ID="b74b67f0f321875492968f7097b9d6e82a66d7df"
+ SRC_URI="https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/-/archive/${COMMIT_ID}/${P}.tar.bz2"
+ S="${WORKDIR}/${PN}-${COMMIT_ID}"
+fi
+
+DESCRIPTION="X.Org driver for Intel cards"
+
+IUSE="debug +sna tools +udev uxa xvmc"
+
+REQUIRED_USE="
+ || ( sna uxa )
+"
+RDEPEND="
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXScrnSaver
+ >=x11-libs/pixman-0.27.1
+ >=x11-libs/libdrm-2.4.52[video_cards_intel]
+ >=x11-base/xorg-server-1.18
+ tools? (
+ x11-libs/libX11
+ x11-libs/libxcb
+ x11-libs/libXcursor
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libxshmfence
+ x11-libs/libXtst
+ )
+ udev? (
+ virtual/libudev:=
+ )
+ xvmc? (
+ >=x11-libs/libXvMC-1.0.12-r1
+ >=x11-libs/libxcb-1.5
+ x11-libs/xcb-util
+ )
+"
+DEPEND="${RDEPEND}
+ x11-base/xorg-proto"
+
+pkg_setup() {
+ linux-info_pkg_setup
+ xorg-3_pkg_setup
+}
+
+src_configure() {
+ # bug #582910
+ replace-flags -Os -O2
+
+ local XORG_CONFIGURE_OPTIONS=(
+ --disable-dri1
+ $(use_enable debug)
+ $(use_enable dri)
+ $(use_enable dri dri3)
+ $(usex dri "--with-default-dri=3")
+ $(use_enable sna)
+ $(use_enable tools)
+ $(use_enable udev)
+ $(use_enable uxa)
+ $(use_enable xvmc)
+ )
+ xorg-3_src_configure
+}
+
+pkg_postinst() {
+ if linux_config_exists && \
+ kernel_is -lt 4 3 && ! linux_chkconfig_present DRM_I915_KMS; then
+ echo
+ ewarn "This driver requires KMS support in your kernel"
+ ewarn " Device Drivers --->"
+ ewarn " Graphics support --->"
+ ewarn " Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->"
+ ewarn " <*> Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --->"
+ ewarn " i915 driver"
+ ewarn " [*] Enable modesetting on intel by default"
+ echo
+ fi
+}
diff --git a/x11-drivers/xf86-video-intel/xf86-video-intel-9999.ebuild b/x11-drivers/xf86-video-intel/xf86-video-intel-9999.ebuild
index 61979fe61d07..dd5f84ebed58 100644
--- a/x11-drivers/xf86-video-intel/xf86-video-intel-9999.ebuild
+++ b/x11-drivers/xf86-video-intel/xf86-video-intel-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
XORG_DRI=dri
XORG_EAUTORECONF=yes