summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-08-13 11:31:03 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-08-13 11:31:03 +0000
commit68a7653d795e75077a76793164d8429f5b60fe62 (patch)
tree8f3355bc8d095cc41fb553769e77f1a36e6e8e02 /eclass/qt4-build.eclass
parentVersion bump for a few small bugfixes, and gentoopm API bump. (diff)
downloadgentoo-2-68a7653d795e75077a76793164d8429f5b60fe62.tar.gz
gentoo-2-68a7653d795e75077a76793164d8429f5b60fe62.tar.bz2
gentoo-2-68a7653d795e75077a76793164d8429f5b60fe62.zip
make eclass ready for 4.8.0_beta releases
Diffstat (limited to 'eclass/qt4-build.eclass')
-rw-r--r--eclass/qt4-build.eclass16
1 files changed, 14 insertions, 2 deletions
diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass
index 73f54db25fda..080a63530bbf 100644
--- a/eclass/qt4-build.eclass
+++ b/eclass/qt4-build.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.91 2011/07/08 11:35:01 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.92 2011/08/13 11:31:03 hwoarang Exp $
# @ECLASS: qt4-build.eclass
# @MAINTAINER:
@@ -137,15 +137,27 @@ qt4-build_pkg_setup() {
# Unpacks the sources
qt4-build_src_unpack() {
setqtenv
+ local unpack_p="${MY_P}"
+ case "${PV}" in
+ 4.8.0_beta*)
+ unpack_p="qt-everywhere-opensource-src-${PV/_*}"
+ ;;
+ esac
local target targets=
for target in configure LICENSE.GPL3 LICENSE.LGPL projects.pro \
src/{qbase,qt_targets,qt_install}.pri bin config.tests mkspecs qmake \
${QT4_EXTRACT_DIRECTORIES}; do
- targets+=" ${MY_P}/${target}"
+ targets+=" ${unpack_p}/${target}"
done
echo tar xzf "${DISTDIR}"/${MY_P}.tar.gz ${targets}
tar xzf "${DISTDIR}"/${MY_P}.tar.gz ${targets} || die
+ case "${PV}" in
+ 4.8.0_beta*)
+ mv ${WORKDIR}/qt-everywhere-opensource-src-${PV/_*} \
+ ${WORKDIR}/qt-everywhere-opensource-src-${MY_PV}
+ ;;
+ esac
}
# @ECLASS-VARIABLE: PATCHES