xf86-video-intel: use upstream url and remove mkpkg script

This commit is contained in:
Lukas Rusak 2016-03-14 15:08:44 -07:00
parent c6198c1384
commit 89c400cf46
2 changed files with 2 additions and 43 deletions

View File

@ -22,8 +22,8 @@ PKG_REV="1"
PKG_ARCH="x86_64"
PKG_LICENSE="OSS"
PKG_SITE="http://intellinuxgraphics.org/"
PKG_URL="http://xorg.freedesktop.org/archive/individual/driver/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_URL="https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/snapshot/$PKG_VERSION.tar.xz"
PKG_SOURCE_DIR="$PKG_VERSION"
PKG_DEPENDS_TARGET="toolchain libXcomposite util-macros fontsproto systemd xorg-server"
PKG_PRIORITY="optional"
PKG_SECTION="x11/driver"

View File

@ -1,41 +0,0 @@
#!/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 <http://www.gnu.org/licenses/>.
################################################################################
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