summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-09-30 19:58:31 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-09-30 20:44:59 +0200
commit804d0f9c5398453f6cf62343769b728e6390df81 (patch)
tree18574168e95c8b130075bfae1e939eb9eefa178f /media-plugins/evas_generic_loaders
parentsci-libs/gdal: Enforce -std=c++ due to app-text/poppler, bug 626844 (diff)
downloadgentoo-804d0f9c5398453f6cf62343769b728e6390df81.tar.gz
gentoo-804d0f9c5398453f6cf62343769b728e6390df81.tar.bz2
gentoo-804d0f9c5398453f6cf62343769b728e6390df81.zip
media-plugins/evas_generic_loaders: Fix build with app-text/poppler-0.57
Gentoo-bug: 627402 Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'media-plugins/evas_generic_loaders')
-rw-r--r--media-plugins/evas_generic_loaders/evas_generic_loaders-1.17.0.ebuild8
-rw-r--r--media-plugins/evas_generic_loaders/evas_generic_loaders-9999.ebuild10
2 files changed, 15 insertions, 3 deletions
diff --git a/media-plugins/evas_generic_loaders/evas_generic_loaders-1.17.0.ebuild b/media-plugins/evas_generic_loaders/evas_generic_loaders-1.17.0.ebuild
index ffbe3bd6a2ee..2cfba852fc83 100644
--- a/media-plugins/evas_generic_loaders/evas_generic_loaders-1.17.0.ebuild
+++ b/media-plugins/evas_generic_loaders/evas_generic_loaders-1.17.0.ebuild
@@ -13,7 +13,7 @@ else
EKEY_STATE="release"
fi
-inherit enlightenment
+inherit enlightenment flag-o-matic
DESCRIPTION="Provides external applications as generic loaders for Evas"
HOMEPAGE="https://www.enlightenment.org/"
@@ -38,6 +38,12 @@ DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_P}
+src_prepare() {
+ # bug 627402, poppler headers require C++11
+ use pdf && append-cxxflags -std=c++11
+ default
+}
+
src_configure() {
E_ECONF=(
$(use_enable gstreamer gstreamer1)
diff --git a/media-plugins/evas_generic_loaders/evas_generic_loaders-9999.ebuild b/media-plugins/evas_generic_loaders/evas_generic_loaders-9999.ebuild
index 9949a42f54a8..ed17342f176b 100644
--- a/media-plugins/evas_generic_loaders/evas_generic_loaders-9999.ebuild
+++ b/media-plugins/evas_generic_loaders/evas_generic_loaders-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -13,7 +13,7 @@ else
EKEY_STATE="snap"
fi
-inherit enlightenment
+inherit enlightenment flag-o-matic
DESCRIPTION="Provides external applications as generic loaders for Evas"
HOMEPAGE="https://www.enlightenment.org/"
@@ -37,6 +37,12 @@ DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_P}
+src_prepare() {
+ # bug 627402, poppler headers require C++11
+ use pdf && append-cxxflags -std=c++11
+ default
+}
+
src_configure() {
E_ECONF=(
$(use_enable gstreamer gstreamer1)