summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2013-02-02 22:03:36 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2013-02-02 22:03:36 +0000
commit2bff2676c159517be730a80b1ba3dd8f61cf1dc7 (patch)
tree427b3ba0f6815cf9fcdc6c9b5247ab1de64e5941 /dev-libs/libmirage
parentStable for x86, wrt bug #454314 (diff)
downloadhistorical-2bff2676c159517be730a80b1ba3dd8f61cf1dc7.tar.gz
historical-2bff2676c159517be730a80b1ba3dd8f61cf1dc7.tar.bz2
historical-2bff2676c159517be730a80b1ba3dd8f61cf1dc7.zip
Require >=gcc-4.6 to build (bug #455108, thanks to Anton Romanov).
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64 Manifest-Sign-Key: 0xCF0ADD61
Diffstat (limited to 'dev-libs/libmirage')
-rw-r--r--dev-libs/libmirage/ChangeLog6
-rw-r--r--dev-libs/libmirage/Manifest18
-rw-r--r--dev-libs/libmirage/libmirage-2.0.0.ebuild21
3 files changed, 33 insertions, 12 deletions
diff --git a/dev-libs/libmirage/ChangeLog b/dev-libs/libmirage/ChangeLog
index 451e3fe67811..90c3f9b54be9 100644
--- a/dev-libs/libmirage/ChangeLog
+++ b/dev-libs/libmirage/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/libmirage
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmirage/ChangeLog,v 1.26 2013/01/30 05:18:24 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmirage/ChangeLog,v 1.27 2013/02/02 22:03:29 tetromino Exp $
+
+ 02 Feb 2013; Alexandre Rostovtsev <tetromino@gentoo.org>
+ libmirage-2.0.0.ebuild:
+ Require >=gcc-4.6 to build (bug #455108, thanks to Anton Romanov).
30 Jan 2013; Alexandre Rostovtsev <tetromino@gentoo.org>
libmirage-2.0.0.ebuild, +files/libmirage-2.0.0-gtk-doc.patch:
diff --git a/dev-libs/libmirage/Manifest b/dev-libs/libmirage/Manifest
index 42340f2f9b11..6bc2476391a4 100644
--- a/dev-libs/libmirage/Manifest
+++ b/dev-libs/libmirage/Manifest
@@ -7,17 +7,17 @@ AUX libmirage-2.0.0-gtk-doc.patch 1350 SHA256 9390996618c4b1126e5d298729617aae12
DIST libmirage-1.5.0.tar.bz2 509179 SHA256 3ba50c49e6e2a888175a4d5749ac557a53e37c1f409ce76d8e8adfd702c586a6 SHA512 55ed260b0593a3a0a3e237690b002bfbf9330c0503aef21d74e41dc8b1566e2cd2254a634a71baff1ad5d3374a174769a20b87e8fd42611ff0806c6c74cdc4be WHIRLPOOL f86c56282a22c9b637eff46096fb9bcc81637b25c471769f133dab2e6f7190657b479fb1e3a45d97bda0a8fcdcd7225c5e3215f13d8ebb324a52eff1fe2606dd
DIST libmirage-2.0.0.tar.bz2 179521 SHA256 8392a145094e58bf6c01056543646ddd94a6d2a96e787f368b8102ae1d779a26 SHA512 178eb64ad2c38c76baa4dcfa8cc9e14f57fd96899990ac4bc39d19a19d18fe60ed15a8abbbd1b9921f449f6e96ce8a1828718e13e9a011230c8b6e9d42792e8b WHIRLPOOL 2a2f37caf8fedb12b608a379377949b20fd7cb2a80f73a9a605c46b220c6c17a1bde7a3875769ef010f50f3920819b0a57cf42eab14edafaf0e18c73f5822052
EBUILD libmirage-1.5.0-r1.ebuild 1077 SHA256 1653da306297bc604116aa618500047c0dc89e2c091c34ec962a0c55eb29e126 SHA512 a5e9719b70a35addccb7c818eaf4bf4f36a0fd1b4acd33f6a558d29a303bdbf886aea4b898ab8fb9b7478335d0ad0aa0267c7ada6035962c3ab72b9c9797d8f6 WHIRLPOOL e54dc05ac62b6c4357bc691a47247b0ff80d816ce685d845ef461e80edb31a275959f7ccdd321908d78d6aded0e1b09e63eb0e846263e0c181a36fed2d02f2e9
-EBUILD libmirage-2.0.0.ebuild 1432 SHA256 a6cdaeada36321f7340c02daba1439bd59eb94fb1ff9719317fdd83e89a4624d SHA512 548a86c72107a421bb03212f4e93aeb9a7c0a048be4ef35fc2d87de8205defca7a55fc797fd88c690645ba7847a2644bad8c9e1e24ddb101c081d0380a46e802 WHIRLPOOL 579389d13a9bda0df27175639a98fdced4d0ecb5a026e43ceb34b1dbf78da2b7c0e3018511ff3c45a9b83fa7c236d7190a1c47f9fb2fa754f40e64a1436dc1a6
-MISC ChangeLog 4941 SHA256 ebe9c3e03f8eec3efc2e428a029b9e82aacbace742f0ed10b8251798012affb6 SHA512 7f8bc70c13555e5b37a7a724514f407a440a34bb4fe293be405ef55a57f583ccc3fd4b16e9a22580710eb9407c56e04c4ccb7ec3353c6d2c2ccd526aeea285ca WHIRLPOOL b98617d4d92d379a4074acf0044a8090520f8275837d893fa7c41ecf5988fb09faefaccbaa2f18cec3d1204fba8ee43652efd56db0118bf3820062131d9df4b3
+EBUILD libmirage-2.0.0.ebuild 1818 SHA256 fd858aa4821b05dcae9e6cc9fc05236d947ca614e89283f8a971408305b7f739 SHA512 621cfe0f5dcf932349e3fde4ff120a5ea928c4cbf858a26bbd9ef906fd5aa7cad9dc1e56f7a568d916ea8ab2cfd23ffe6729a177cff720b0f25280970129a206 WHIRLPOOL d6dcff762b668b5a8b29404264b68de448b61ba738ab8fbc03cfc20727962911989db28dfdbd0e0691f3aa6e7c1d7c4d6fd80787cdaae64e1f7b922a9632f8b0
+MISC ChangeLog 5096 SHA256 d572b7d635dc38221e236eed00e1dbd3355558c236cd7fb9390859c2500a0375 SHA512 3365bdfcff9727dca1174d019d0406b83b77c8624c92d50dfd45279bb1f02c895ba94b80010083402db01bbb62446144e50378ac366e93afbf2ff35e9846328a WHIRLPOOL 961af46b28f5f507ee54a993fd8a7f196a3eee8886d87227f1112b5cb7d791fb01545d2bdb65ad6355dbcc2986b7312e1711b5b9327b0d5532a5b67df23aa565
MISC metadata.xml 240 SHA256 4a0db93c159180b93d98dadc1cb36f054f18a7413357a0dd753c9264a43f7477 SHA512 14c9405275f11667ad7e035376fe7e5caf99ac982596621cda18a2f8a99e9a9b2464806be5d016d1a4c2fa794bf8b1400a5cb658a7a874e65d825b8baea69d62 WHIRLPOOL 0e2fbd97c0146322cf226d3086acf3e95dc86d17409f3d350ba2de1b81a2d93b0dc3f370d5c444475e129fa511791ea5b48ca00c47583cedc6ed60ef9e61fae7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCAAGBQJRCK0hAAoJEJ0WA1zPCt1hvBEH/12lMXy6YzbLGRfeZnBdBugT
-J381tzS76MjW6YRsqi+mw5OkorSOkKltFiUG4/aXRE8fOQmS85LKZHHMcF13gzoB
-yBuZ+w/dx2ennFhaFFXVC6ZGl6WVNnDYFhDKeo1QhoI4SzJY3SEQPPcLllq1ef5k
-r3rap6CL2aHWKt9JPS4NFybFKwX7AuYWC9f7K8ATsZkHHLVtG7dD+vj3G9e1wgg2
-Wqa+3W9YqGTDTKAtB9d1a7Xbj9gmrOpbulMn0lxCCx7tPRXi6X6+QMw/cEEx/q4Z
-1igBuJMf/yLF+UzYTDCZbZdHVL3Mq7hsH3HVoK8v+LracMo5y/rE7SWc6obuXIM=
-=AAXl
+iQEcBAEBCAAGBQJRDY0zAAoJEJ0WA1zPCt1hGOMH/ia7sqwfXEDyyj8fIv2W8kfO
+4wfQUFSOziOLMP3p1Z188n4Ist+GvcTg5lAWobVwx/KF+ASoc6/s8NbDvIM36jym
+mQdin96YVOrJYbwYZkUJj8qH9apPmBo6OymVv4D3Zc1i7KZGLleRrkk5SUyQ1bwS
+LbC0rJYGSU6NQPqCi6M/UuOW2sJ4wUM/VJIrdo40qYURmzOGtwJmrPfApGiHe8Ce
+wAVSFt5XliJOaqcJ1EgraaMLHZ0NbM9kljVwB0PrYb+QvMwWzLlzJJUdwTkvvWvA
+LTVjcSqynH60yMSLxAzFt7CUaqpsTInMcnTWX+hcyHFu9Obrsaap3EvGUtrVllo=
+=e4uz
-----END PGP SIGNATURE-----
diff --git a/dev-libs/libmirage/libmirage-2.0.0.ebuild b/dev-libs/libmirage/libmirage-2.0.0.ebuild
index b0ace8425303..ec0353e45ad6 100644
--- a/dev-libs/libmirage/libmirage-2.0.0.ebuild
+++ b/dev-libs/libmirage/libmirage-2.0.0.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmirage/libmirage-2.0.0.ebuild,v 1.2 2013/01/30 05:18:24 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmirage/libmirage-2.0.0.ebuild,v 1.3 2013/02/02 22:03:29 tetromino Exp $
EAPI="5"
CMAKE_MIN_VERSION="2.8.5"
-inherit cmake-utils eutils fdo-mime
+inherit cmake-utils eutils fdo-mime toolchain-funcs versionator
DESCRIPTION="CD and DVD image access library"
HOMEPAGE="http://cdemu.org"
@@ -28,6 +28,14 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
doc? ( dev-util/gtk-doc )"
+pkg_pretend() {
+ check_compiler
+}
+
+pkg_setup() {
+ check_compiler
+}
+
src_prepare() {
# Make sure gtk-doc and gobject-introspection are optional
# https://sourceforge.net/p/cdemu/patches/16/
@@ -57,3 +65,12 @@ pkg_postinst() {
pkg_postrm() {
fdo-mime_mime_database_update
}
+
+check_compiler() {
+ [[ ${MERGE_TYPE} == binary ]] && return
+
+ local v=$(gcc-version)
+ [[ ${v} ]] && ! version_is_at_least 4.6 "${v}" &&
+ die "${P} requires gcc-4.6 or higher to build. Please install a recent
+version of sys-devel/gcc, and set it as the system compiler using gcc-config"
+}