app-crypt/gpgme: enforce qt5/moc location
authorAlon Bar-Lev <alonbl@gentoo.org>
Mon, 3 Oct 2016 11:56:32 +0000 (14:56 +0300)
committerAlon Bar-Lev <alonbl@gentoo.org>
Mon, 3 Oct 2016 11:57:51 +0000 (14:57 +0300)
Bug: 595438

Package-Manager: portage-2.3.0

app-crypt/gpgme/gpgme-1.7.0.ebuild

index 7406738f77841928c45b30b314d7f58ee88080ae..fc043021a35241d73986e06b0b3ff3fc5baa5072 100644 (file)
@@ -7,7 +7,7 @@ EAPI="6"
 PYTHON_COMPAT=( python2_7 python3_{3,4} )
 DISTUTILS_OPTIONAL=1
 
-inherit autotools distutils-r1 eutils
+inherit autotools distutils-r1 eutils qmake-utils
 
 DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use"
 HOMEPAGE="http://www.gnupg.org/related_software/gpgme"
@@ -68,6 +68,7 @@ src_configure() {
                languages+=( "qt" )
                #use doc ||
                export DOXYGEN=
+               export MOC="$(qt5_get_bindir)/moc"
        fi
 
        econf \