diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-drivers/xf86-video-intel |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-drivers/xf86-video-intel')
4 files changed, 203 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-intel/Manifest b/x11-drivers/xf86-video-intel/Manifest new file mode 100644 index 000000000000..e7dc5352492c --- /dev/null +++ b/x11-drivers/xf86-video-intel/Manifest @@ -0,0 +1,7 @@ +DIST xf86-video-intel-2.99.917_p20170216.tar.xz 945436 SHA256 59819df652f605de06203add06a8e9659c15f06a4a99f88b534f1d67be07da77 SHA512 75d1f76238c4452cf6cd04df4e6cb4b0b17a33e759409f87bbfcdef80d79908e984e2adb2adfd6f98df34e49782c8f77d5ed645dd31e83045e4c687affefffbf WHIRLPOOL 23bbd37679593b186f8791098d4636c68cb9f6ca1bc5b0e8f622fdbd487fb6668ee95e4b34059eb6d59ee65fbac573fde6b71faef1217fc91964cfa2d6e73f33 +DIST xf86-video-intel-2.99.917_p20170313.tar.xz 945604 SHA256 eb4e4acc88616149092238fb4fbb0b386b72c9ad15c4a9f1753af02a5d069ef0 SHA512 c3cb91c9ce843fee4ba45c41fa2c69dae4d193ce778e0988ffb0ef3c77e4da40b8879cfc7333adb97084c179502cd4b5233181b5c825de619d839cc045181740 WHIRLPOOL 323306f35a6944c6d93f31d5a3cf8f3fa4058f60c8fe3ed9ddee9c5d364a1acc5c479a59a6d4fd8dccb53e0b94bf8e142f03f4b9163a435a5318cabfb9fa40dd +EBUILD xf86-video-intel-2.99.917_p20170216.ebuild 2048 SHA256 0c3b2df0e609dcfec890930d2a12da96b23b6fc5c4bbb70f0b951699f4169a59 SHA512 6d5e6db78e2e84e8b9dda8a0d1ac669ee54d50e02c78423196ffebdc5677fb66bd8e821f1bbd0f5d0170ae64fd61dab5b223d2588c65476a8c4064ca298a8d58 WHIRLPOOL c2694d2ba8316290589ecd73883af2d4e87e8feaa3649b95683a520698ec4ab63fb7253796acafcaa62c381ba98e5ab30573954ca836ece4949f6bb744cc3eb8 +EBUILD xf86-video-intel-2.99.917_p20170313.ebuild 2048 SHA256 eddec10da4515c6a5a5b556d3f57d6685ee14c40fa681776970a516211252192 SHA512 7cf7537f122368912309ca441b8a87697a80ca5e92946b711c49d1b0a168ea81ea9867955d1e655c3c16ad745a140727d758ea55aa79f76b26319aaa335c8df2 WHIRLPOOL 816f15f648121b93a92d65f11ebd2376f1bab3226336ade2796ead4204be19295eaed736cd3e1d620607728ec1771fdd3ab39f6664311aeeb633c2cc6b7a9ccf +MISC ChangeLog 16789 SHA256 fb7f12ed4c4d1ba1ce68410b7a02aa5aad9380ef72c35045cab702c0c43b6974 SHA512 9334c93d355137a907a6f9b64cf4fa46ef91a2e160c34e312496a8565de9e9099cb0d51ba18d223330a9a0276449165b62ffba11a54e180b646b0a7261a449c4 WHIRLPOOL eb7d8f9f575ac183c6df93d21e1260b1c80ceacbbd134d4c0d79c69bf7d26ef753593f6ef8e78ffec23c0bf7ffb46d818a1a3d3d280d072be764519b5e617c5f +MISC ChangeLog-2015 61390 SHA256 bbe37f227e9b5ba9e147ece0bb6b36dbd850e87223bdb6e90fd7be0b7943ee47 SHA512 41f11974eab5b993f6cdfe084f3b62cc6740ed5d8a87ce1d795a3e4972c175fd4d420a9468a5951f7e728ae00f1a3a477cca0db2a2aa11448d6e8a3f870c56a9 WHIRLPOOL 276c133bde7084c99cf9c7a975137d2cf34be3f46465c855334b6cee42b3f67b58392221b0fd35907bb7f5727a7e31fdc111d3af911ddeacb8a3a7de7071d85d +MISC metadata.xml 716 SHA256 1aa0fe125abc734a0e9962d98530400360a9910f2e9f133d37d8d0000dc723df SHA512 11c95d0fd78c1c38b8398fbeb1b8fd2c6e3e02b0aca2e771cabf6a935e3ef40ec344f0a906268e39094496782ba530a6004c5d7527e6ecce009ef384302c258d WHIRLPOOL f45f90ea6367ae3d9b4a4e58f358422469ab493285267ce181aecff3773dcb648024c77d72fcdbef1f80027f2edd7ed8c725f271bf6e0300ef73508e6534d9cd diff --git a/x11-drivers/xf86-video-intel/metadata.xml b/x11-drivers/xf86-video-intel/metadata.xml new file mode 100644 index 000000000000..ba66807bf03d --- /dev/null +++ b/x11-drivers/xf86-video-intel/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>x11@gentoo.org</email> + <name>X11</name> + </maintainer> + <use> + <flag name="dri3" restrict="<=x11-drivers/xf86-video-intel-2.99.917_p20160621">Enable DRI3 support</flag> + <flag name="dri3">Use DRI3 by default</flag> + <flag name="sna">Enable SandyBridge's New Acceleration (useful on all chipsets, not just SandyBridge)</flag> + <flag name="tools">Build the intel-virtual-output tool</flag> + <flag name="uxa">Enable UMA Acceleration Architecture</flag> + <flag name="xvmc">Enables X-Video Motion Compensation support</flag> + </use> +</pkgmetadata> diff --git a/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20170216.ebuild b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20170216.ebuild new file mode 100644 index 000000000000..39d71e6fc621 --- /dev/null +++ b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20170216.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +XORG_DRI=dri +XORG_EAUTORECONF=yes +inherit linux-info xorg-2 flag-o-matic + +DESCRIPTION="X.Org driver for Intel cards" + +KEYWORDS="amd64 x86 ~amd64-fbsd ~x86-fbsd" +IUSE="debug dri3 +sna tools +udev uxa xvmc" +COMMIT_ID="860c3664fe79c1fe92095ff345068f1fc7e4e651" +SRC_URI="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/snapshot/${COMMIT_ID}.tar.xz -> ${P}.tar.xz" + +S=${WORKDIR}/${COMMIT_ID} + +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] + dri3? ( + >=x11-base/xorg-server-1.18 + !<=media-libs/mesa-12.0.4 + ) + sna? ( + >=x11-base/xorg-server-1.10 + ) + 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/udev + ) + xvmc? ( + x11-libs/libXvMC + >=x11-libs/libxcb-1.5 + x11-libs/xcb-util + ) +" +DEPEND="${RDEPEND} + >=x11-proto/dri2proto-2.6 + x11-proto/dri3proto + x11-proto/presentproto + x11-proto/resourceproto" + +src_configure() { + replace-flags -Os -O2 + XORG_CONFIGURE_OPTIONS=( + $(use_enable debug) + $(use_enable dri) + $(use_enable dri dri3) + $(usex dri3 "--with-default-dri=3") + $(use_enable sna) + $(use_enable tools) + $(use_enable udev) + $(use_enable uxa) + $(use_enable xvmc) + ) + xorg-2_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-2.99.917_p20170313.ebuild b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20170313.ebuild new file mode 100644 index 000000000000..b363faeccc4a --- /dev/null +++ b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20170313.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +XORG_DRI=dri +XORG_EAUTORECONF=yes +inherit linux-info xorg-2 flag-o-matic + +DESCRIPTION="X.Org driver for Intel cards" + +KEYWORDS="amd64 x86 ~amd64-fbsd ~x86-fbsd" +IUSE="debug dri3 +sna tools +udev uxa xvmc" +COMMIT_ID="7e9e92c86b0fc4c848d164fe571798add5e1e36e" +SRC_URI="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/snapshot/${COMMIT_ID}.tar.xz -> ${P}.tar.xz" + +S=${WORKDIR}/${COMMIT_ID} + +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] + dri3? ( + >=x11-base/xorg-server-1.18 + !<=media-libs/mesa-12.0.4 + ) + sna? ( + >=x11-base/xorg-server-1.10 + ) + 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/udev + ) + xvmc? ( + x11-libs/libXvMC + >=x11-libs/libxcb-1.5 + x11-libs/xcb-util + ) +" +DEPEND="${RDEPEND} + >=x11-proto/dri2proto-2.6 + x11-proto/dri3proto + x11-proto/presentproto + x11-proto/resourceproto" + +src_configure() { + replace-flags -Os -O2 + XORG_CONFIGURE_OPTIONS=( + $(use_enable debug) + $(use_enable dri) + $(use_enable dri dri3) + $(usex dri3 "--with-default-dri=3") + $(use_enable sna) + $(use_enable tools) + $(use_enable udev) + $(use_enable uxa) + $(use_enable xvmc) + ) + xorg-2_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 +} |