diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-04-03 01:51:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-04-03 01:51:05 +0400 |
commit | 21bd7fd8d5fb908674efcb8528f2d4a7064ea948 (patch) | |
tree | f3d49b1674e7770904361b60880283d363b8bd51 /build_files/package_spec/pacman | |
parent | 90326c4c6e6c312ac4bf97dc443c32c8c0206ec6 (diff) |
patch [#26606] Debian spec: Bump to Python 3.2
also update pacman spec.
Diffstat (limited to 'build_files/package_spec/pacman')
-rw-r--r-- | build_files/package_spec/pacman/PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build_files/package_spec/pacman/PKGBUILD b/build_files/package_spec/pacman/PKGBUILD index 988e246f0cc..0c4164b1242 100644 --- a/build_files/package_spec/pacman/PKGBUILD +++ b/build_files/package_spec/pacman/PKGBUILD @@ -3,11 +3,11 @@ # custom blender vars blender_srcdir=$(dirname $startdir)"/../.." # value may be formatted: 35042:35051M -blender_revision=$(svnversion $blender_srcdir | cut -d: -f2 | tr -dc 0-9) -blender_version=$(grep BLENDER_VERSION $blender_srcdir/source/blender/blenkernel/BKE_blender.h | tr -dc 0-9) +blender_revision=$(svnversion $blender_srcdir | cut -d: -f2 | awk '{print $3}') +blender_version=$(grep BLENDER_VERSION $blender_srcdir/source/blender/blenkernel/BKE_blender.h | awk '{print $3}') blender_version=$(expr $blender_version / 100).$(expr $blender_version % 100) # 256 -> 2.56 blender_version_char=$(sed -ne 's/.*BLENDER_VERSION_CHAR.*\([a-z]\)$/\1/p' $blender_srcdir/source/blender/blenkernel/BKE_blender.h) -# blender_subversion=$(grep BLENDER_SUBVERSION $blender_srcdir/source/blender/blenkernel/BKE_blender.h | tr -dc 0-9) +# blender_subversion=$(grep BLENDER_SUBVERSION $blender_srcdir/source/blender/blenkernel/BKE_blender.h | awk '{print $3}') # map the version a -> 1 # not to be confused with blender's internal subversions @@ -25,7 +25,7 @@ arch=('i686' 'x86_64') url="www.blender.org" license=('GPL') groups=() -depends=('libjpeg' 'libpng' 'openjpeg' 'libtiff' 'openexr' 'python>=3.1' 'gettext' 'libxi' 'libxmu' 'mesa' 'freetype2' 'openal' 'sdl' 'libsndfile' 'libsamplerate' 'ffmpeg') +depends=('libjpeg' 'libpng' 'openjpeg' 'libtiff' 'openexr' 'python>=3.2' 'gettext' 'libxi' 'libxmu' 'mesa' 'freetype2' 'openal' 'sdl' 'libsndfile' 'libsamplerate' 'ffmpeg') makedepends=('cmake' 'svn') optdepends=() provides=() |