summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2013-07-06 07:57:14 +0000
committerDavide Pesavento <pesa@gentoo.org>2013-07-06 07:57:14 +0000
commit2962f2a896ebea05ea33fd8ed18e33b02552b2df (patch)
tree306f70d3d9b644fed0df10c705053feca0ca5a45 /eclass
parentRevision bump for sys-fs/udev users to avoid confusion in which version the p... (diff)
downloadgentoo-2-2962f2a896ebea05ea33fd8ed18e33b02552b2df.tar.gz
gentoo-2-2962f2a896ebea05ea33fd8ed18e33b02552b2df.tar.bz2
gentoo-2-2962f2a896ebea05ea33fd8ed18e33b02552b2df.zip
Update SRC_URI. Drop support for EAPI 3.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/qt4-build.eclass15
2 files changed, 11 insertions, 9 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 5bc021983a41..f09fb79a47d3 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.871 2013/07/05 10:44:47 tomwij Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.872 2013/07/06 07:57:14 pesa Exp $
+
+ 06 Jul 2013; Davide Pesavento <pesa@gentoo.org> qt4-build.eclass:
+ Update SRC_URI. Drop support for EAPI 3.
05 Jul 2013; Tom Wijsman <TomWij@gentoo.org> ant-tasks.eclass:
Update ant-tasks for 1.9.1 version bump, needs 1.5 as minimal JDK / JRE version.
diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass
index 8a99acbe3705..0ca15d76d6d2 100644
--- a/eclass/qt4-build.eclass
+++ b/eclass/qt4-build.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.146 2013/04/28 16:15:33 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.147 2013/07/06 07:57:14 pesa Exp $
# @ECLASS: qt4-build.eclass
# @MAINTAINER:
@@ -10,7 +10,7 @@
# This eclass contains various functions that are used when building Qt4.
case ${EAPI} in
- 3|4|5) : ;;
+ 4|5) : ;;
*) die "qt4-build.eclass: unsupported EAPI=${EAPI:-0}" ;;
esac
@@ -36,7 +36,7 @@ case ${QT4_BUILD_TYPE} in
EGIT_BRANCH=${PV%.9999}
;;
release)
- SRC_URI="http://releases.qt-project.org/qt4/source/${MY_P}.tar.gz"
+ SRC_URI="http://download.qt-project.org/official_releases/qt/${PV%.*}/${PV}/${MY_P}.tar.gz"
;;
esac
@@ -552,8 +552,7 @@ build_directories() {
CXX="$(tc-getCXX)" \
LINK="$(tc-getCXX)" \
RANLIB=":" \
- STRIP=":" \
- || die "emake failed"
+ STRIP=":"
popd >/dev/null || die
done
}
@@ -566,7 +565,7 @@ build_directories() {
install_directories() {
for x in "$@"; do
pushd "${S}"/${x} >/dev/null || die
- emake INSTALL_ROOT="${D}" install || die "emake install failed"
+ emake INSTALL_ROOT="${D}" install
popd >/dev/null || die
done
}
@@ -597,7 +596,7 @@ install_qconfigs() {
[[ -n ${!x} ]] && echo ${x}=${!x} >> "${T}"/${PN}-qconfig.pri
done
insinto ${QTDATADIR#${EPREFIX}}/mkspecs/gentoo
- doins "${T}"/${PN}-qconfig.pri || die "installing ${PN}-qconfig.pri failed"
+ doins "${T}"/${PN}-qconfig.pri
fi
if [[ -n ${QCONFIG_DEFINE} ]]; then
@@ -605,7 +604,7 @@ install_qconfigs() {
echo "#define ${x}" >> "${T}"/gentoo-${PN}-qconfig.h
done
insinto ${QTHEADERDIR#${EPREFIX}}/Gentoo
- doins "${T}"/gentoo-${PN}-qconfig.h || die "installing ${PN}-qconfig.h failed"
+ doins "${T}"/gentoo-${PN}-qconfig.h
fi
}