From 71a097f2ad241770614c0fc87164d6f4fee7d2f5 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 11 Mar 2016 16:04:04 +0100 Subject: [PATCH] xf86-video-intel: update to xf86-video-intel-0204e55, add mkpkg script to get and repack sources Signed-off-by: Stephan Raue --- .../x11/driver/xf86-video-intel/package.mk | 3 +- tools/mkpkg/mkpkg_xf86-video-intel | 41 +++++++++++++++++++ 2 files changed, 42 insertions(+), 2 deletions(-) create mode 100755 tools/mkpkg/mkpkg_xf86-video-intel diff --git a/packages/x11/driver/xf86-video-intel/package.mk b/packages/x11/driver/xf86-video-intel/package.mk index 027317def1..e7ce87f9bd 100644 --- a/packages/x11/driver/xf86-video-intel/package.mk +++ b/packages/x11/driver/xf86-video-intel/package.mk @@ -17,7 +17,7 @@ ################################################################################ PKG_NAME="xf86-video-intel" -PKG_VERSION="300319e" +PKG_VERSION="0204e55" PKG_REV="1" PKG_ARCH="x86_64" PKG_LICENSE="OSS" @@ -50,7 +50,6 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-backlight \ --disable-xaa \ --disable-dga \ --disable-tear-free \ - --disable-rendernode \ --disable-create2 \ --disable-async-swap \ --with-xorg-module-dir=$XORG_PATH_MODULES" diff --git a/tools/mkpkg/mkpkg_xf86-video-intel b/tools/mkpkg/mkpkg_xf86-video-intel new file mode 100755 index 0000000000..d0f0232930 --- /dev/null +++ b/tools/mkpkg/mkpkg_xf86-video-intel @@ -0,0 +1,41 @@ +#!/bin/sh +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) +# +# OpenELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# OpenELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC. If not, see . +################################################################################ + +echo "getting sources..." + if [ ! -d xf86-video-intel.git ]; then + git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-intel xf86-video-intel.git + fi + + cd xf86-video-intel.git + git pull + GIT_REV=`git log -n1 --format=%h` + cd .. + +echo "copying sources..." + rm -rf xf86-video-intel-$GIT_REV + cp -R xf86-video-intel.git xf86-video-intel-$GIT_REV + +echo "cleaning sources..." + rm -rf xf86-video-intel-$GIT_REV/.git + +echo "packing sources..." + tar cvJf xf86-video-intel-$GIT_REV.tar.xz xf86-video-intel-$GIT_REV + +echo "remove temporary sourcedir..." + rm -rf xf86-video-intel-$GIT_REV