diff options
author | E. Liddell <ejlddll@warpmail.net> | 2020-03-29 17:04:28 -0400 |
---|---|---|
committer | Chris <xchrisx@uber.space> | 2020-04-22 14:37:29 +0200 |
commit | d4bfee77206b2b8101d4c1d0edcc877cfde1bbf7 (patch) | |
tree | 6c04aa1d6f813d52d064a25adf8e66090f4f71d7 /dev-tqt | |
parent | 1261b037e96519b0a7d90c3029e6c61bc2dc691d (diff) | |
download | tde-packaging-gentoo-d4bfee77206b2b8101d4c1d0edcc877cfde1bbf7.tar.gz tde-packaging-gentoo-d4bfee77206b2b8101d4c1d0edcc877cfde1bbf7.zip |
Various requested fixes
Diffstat (limited to 'dev-tqt')
-rw-r--r-- | dev-tqt/tqt/tqt-14.0.6.ebuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/dev-tqt/tqt/tqt-14.0.6.ebuild b/dev-tqt/tqt/tqt-14.0.6.ebuild index 48db6e1e..7157c8ff 100644 --- a/dev-tqt/tqt/tqt-14.0.6.ebuild +++ b/dev-tqt/tqt/tqt-14.0.6.ebuild @@ -1,4 +1,5 @@ # Copyright 1999-2017 Gentoo Foundation +# Copyright 2020 The Trinity Desktop Project # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -48,7 +49,7 @@ TQTBASE="/usr/tqt3" S="${WORKDIR}/tqt3-trinity-${PV}" pkg_setup() { - export QTDIR="${S}" + export TQTDIR="${S}" CXX=$(tc-getCXX) if [[ ${CXX/g++/} != ${CXX} ]]; then @@ -89,9 +90,6 @@ src_prepare() { find "${S}"/mkspecs -name qmake.conf | xargs \ sed -i -e 's:QMAKE_RPATH.*:QMAKE_RPATH =:' || die - # set c/xxflags and ldflags - strip-flags - sed -i -e "s:QMAKE_CFLAGS_RELEASE.*=.*:QMAKE_CFLAGS_RELEASE=${CFLAGS}:" \ -e 's:QMAKE_CFLAGS\t\t=.*:QMAKE_CFLAGS =:' \ -e "s:QMAKE_CXXFLAGS_RELEASE.*=.*:QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS}:" \ @@ -129,7 +127,6 @@ src_configure() { # during emerge as it makes TQt much happier. addwrite "${TQTBASE}/etc/settings" addwrite "${HOME}/.qt" - addwrite "${HOME}/.tqt" # Common options myconf=" -sm -thread -stl -no-verbose -largefile -no-pch -inputmethod" @@ -172,6 +169,10 @@ src_compile() { # Compile TQt plugins (if any selected) emake sub-plugins || die + + # Point to libs for the tools to build fine too + export DYLD_LIBRARY_PATH="${S}/lib:${DYLD_LIBRARY_PATH}" + export LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}" # Compile TQDesigner (TQuic is needed by tdelibs), TQAssistant and friends (msg2tqm, qembed..) emake sub-tools || die |