Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
66964d96aa |
1
.gitignore
vendored
1
.gitignore
vendored
@ -71,3 +71,4 @@ mesa-20100720.tar.bz2
|
|||||||
/mesa-20140430.tar.xz
|
/mesa-20140430.tar.xz
|
||||||
/mesa-20140505.tar.xz
|
/mesa-20140505.tar.xz
|
||||||
/mesa-20140510.tar.xz
|
/mesa-20140510.tar.xz
|
||||||
|
/mesa-8baed872126b331aa8d789b78986c0100c6d853a.tar.xz
|
||||||
|
@ -11,15 +11,21 @@ else
|
|||||||
XZ=/usr/bin/xz
|
XZ=/usr/bin/xz
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -z "$1" ]; then
|
||||||
DIRNAME=mesa-$( date +%Y%m%d )
|
DIRNAME=mesa-$( date +%Y%m%d )
|
||||||
|
BRANCH=10.2
|
||||||
|
else
|
||||||
|
DIRNAME=mesa-$1
|
||||||
|
BRANCH=master
|
||||||
|
fi
|
||||||
|
|
||||||
echo REF ${REF:+--reference $REF}
|
echo REF ${REF:+--reference $REF}
|
||||||
echo DIRNAME $DIRNAME
|
echo DIRNAME $DIRNAME
|
||||||
echo HEAD ${1:-10.2}
|
echo HEAD ${1:-$BRANCH}
|
||||||
|
|
||||||
rm -rf $DIRNAME
|
rm -rf $DIRNAME
|
||||||
|
|
||||||
git clone --depth 1 ${REF:+--reference $REF} --branch 10.2 \
|
git clone --depth 1 ${REF:+--reference $REF} --branch $BRANCH \
|
||||||
git://git.freedesktop.org/git/mesa/mesa $DIRNAME
|
git://git.freedesktop.org/git/mesa/mesa $DIRNAME
|
||||||
|
|
||||||
GIT_DIR=$DIRNAME/.git git archive --format=tar --prefix=$DIRNAME/ ${1:-HEAD} \
|
GIT_DIR=$DIRNAME/.git git archive --format=tar --prefix=$DIRNAME/ ${1:-HEAD} \
|
||||||
|
16
mesa.spec
16
mesa.spec
@ -53,19 +53,20 @@
|
|||||||
|
|
||||||
%define _default_patch_fuzz 2
|
%define _default_patch_fuzz 2
|
||||||
|
|
||||||
%define gitdate 20140510
|
#% define gitdate 20140510
|
||||||
#% define snapshot
|
%define githash 8baed872126b331aa8d789b78986c0100c6d853a
|
||||||
|
%define git %{?githash:%{githash}}%{!?githash:%{gitdate}}
|
||||||
|
|
||||||
Summary: Mesa graphics libraries
|
Summary: Mesa graphics libraries
|
||||||
Name: mesa
|
Name: mesa
|
||||||
Version: 10.2
|
Version: 10.3
|
||||||
Release: 0.4.rc2.%{gitdate}%{?dist}
|
Release: 0.devel.1.%{git}%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.mesa3d.org
|
URL: http://www.mesa3d.org
|
||||||
|
|
||||||
# Source0: MesaLib-%{version}.tar.xz
|
# Source0: MesaLib-%{version}.tar.xz
|
||||||
Source0: %{name}-%{gitdate}.tar.xz
|
Source0: %{name}-%{git}.tar.xz
|
||||||
Source1: sanitize-tarball.sh
|
Source1: sanitize-tarball.sh
|
||||||
Source2: make-release-tarball.sh
|
Source2: make-release-tarball.sh
|
||||||
Source3: make-git-snapshot.sh
|
Source3: make-git-snapshot.sh
|
||||||
@ -332,7 +333,7 @@ Mesa OpenCL development package.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
#setup -q -n Mesa-%{version}%{?snapshot}
|
#setup -q -n Mesa-%{version}%{?snapshot}
|
||||||
%setup -q -n mesa-%{gitdate}
|
%setup -q -n mesa-%{git}
|
||||||
grep -q ^/ src/gallium/auxiliary/vl/vl_decoder.c && exit 1
|
grep -q ^/ src/gallium/auxiliary/vl/vl_decoder.c && exit 1
|
||||||
%patch1 -p1 -b .nv50rtti
|
%patch1 -p1 -b .nv50rtti
|
||||||
|
|
||||||
@ -672,6 +673,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 12 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 10.3-0.devel.1.8baed872126b331aa8d789b78986c0100c6d853a
|
||||||
|
- 8baed872126b331aa8d789b78986c0100c6d853a upstream commit
|
||||||
|
|
||||||
* Sat May 10 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 10.2-0.4.rc2.20140510
|
* Sat May 10 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 10.2-0.4.rc2.20140510
|
||||||
- 10.2-rc2 upstream release
|
- 10.2-rc2 upstream release
|
||||||
- drop radeonsi hack for LLVM
|
- drop radeonsi hack for LLVM
|
||||||
|
Loading…
Reference in New Issue
Block a user