mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
Added compatibility patch for X ABI 1.13
This commit is contained in:
parent
9252e5f077
commit
b34a2b25e8
1 changed files with 8 additions and 2 deletions
|
@ -15,23 +15,29 @@ license=('GPL2')
|
|||
makedepends=('git' 'pkgconfig' 'xorg-server-devel' 'resourceproto' 'scrnsaverproto')
|
||||
options=('!libtool')
|
||||
replaces=('xf86-video-armsoc')
|
||||
source=('compat_post_X_1.13.patch')
|
||||
md5sums=('402a7285d410c58a746152bb0012a746')
|
||||
|
||||
_gitroot="http://git.chromium.org/git/chromiumos/third_party/xf86-video-armsoc.git"
|
||||
_gitname="xf86-video-armsoc"
|
||||
|
||||
build() {
|
||||
cd "$srcdir"
|
||||
msg "Connecting to git server...."
|
||||
msg "Connecting to git server..."
|
||||
|
||||
if [[ -d "$_gitname" ]]; then
|
||||
cd "$_gitname" && git pull origin
|
||||
msg "The local files are updated."
|
||||
else
|
||||
git clone "$_gitroot" "$_gitname"
|
||||
cd "$_gitname"
|
||||
cd "$_gitname"
|
||||
fi
|
||||
msg "GIT checkout done or server timeout"
|
||||
|
||||
msg "Patching source..."
|
||||
# X 1.13 compatibility from the Linaro upstream
|
||||
patch -p1 -i ${srcdir}/compat_post_X_1.13.patch
|
||||
|
||||
msg "Starting build..."
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr
|
||||
|
|
Loading…
Reference in a new issue