aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2015-11-28 01:09:44 +0100
committerDavide Pesavento <pesa@gentoo.org>2015-11-28 01:09:44 +0100
commitb5fd8b22da4b1ec35cd86f8be35593a1c94397c9 (patch)
tree3410dfea328f33dc4f3c2d2bf4945a10a48c978d
parentx11-libs/libqxt: shorten DESCRIPTION to make repoman happy (diff)
downloadqt-b5fd8b22.tar.gz
qt-b5fd8b22.tar.bz2
qt-b5fd8b22.zip
x11-libs/libqxt: EAPI=6 and various cleanups
Package-Manager: portage-2.2.26
-rw-r--r--x11-libs/libqxt/libqxt-9999.ebuild33
1 files changed, 13 insertions, 20 deletions
diff --git a/x11-libs/libqxt/libqxt-9999.ebuild b/x11-libs/libqxt/libqxt-9999.ebuild
index 0b661a58..5d18ba6c 100644
--- a/x11-libs/libqxt/libqxt-9999.ebuild
+++ b/x11-libs/libqxt/libqxt-9999.ebuild
@@ -2,29 +2,26 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=4
+EAPI=6
-inherit multilib qt4-r2 git-2
+inherit qmake-utils git-r3
DESCRIPTION="Extension library providing cross-platform utility classes for the Qt toolkit"
-HOMEPAGE="http://libqxt.org/"
+HOMEPAGE="https://bitbucket.org/libqxt/libqxt/wiki/Home"
EGIT_REPO_URI="https://bitbucket.org/${PN}/${PN}.git"
LICENSE="|| ( CPL-1.0 LGPL-2.1 )"
SLOT="0"
KEYWORDS=""
-IUSE="berkdb debug doc sql ssl web xscreensaver zeroconf"
+IUSE="berkdb debug doc sql web xscreensaver zeroconf"
COMMON_DEPEND="
- x11-libs/libXrandr
- dev-qt/qtcore:4
+ dev-qt/designer:4
+ dev-qt/qtcore:4[ssl]
dev-qt/qtgui:4
- berkdb? ( >=sys-libs/db-4.6 )
+ x11-libs/libXrandr
+ berkdb? ( >=sys-libs/db-4.6:= )
sql? ( dev-qt/qtsql:4 )
- ssl? (
- >=dev-libs/openssl-0.9.8
- dev-qt/qtcore:4[ssl]
- )
zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
"
DEPEND="${COMMON_DEPEND}
@@ -34,13 +31,13 @@ RDEPEND="${COMMON_DEPEND}
xscreensaver? ( x11-libs/libXScrnSaver )
"
-DOCS="AUTHORS CHANGES README"
+DOCS=( AUTHORS CHANGES README )
PATCHES=(
"${FILESDIR}/${PN}-use-system-qdoc3.patch"
)
src_prepare() {
- qt4-r2_src_prepare
+ default
# remove insecure runpath
sed -i -e '/^QMAKE_RPATHDIR /d' src/qxtlibs.pri || die
@@ -53,12 +50,11 @@ src_configure() {
-prefix "${EPREFIX}/usr"
-libdir "${EPREFIX}/usr/$(get_libdir)"
-docdir "${EPREFIX}/usr/share/doc/${PF}"
- -qmake-bin "${EPREFIX}/usr/bin/qmake"
+ -qmake-bin "$(qt4_get_bindir)/qmake"
$(use debug && echo -debug || echo -release)
$(use berkdb || echo -no-db -nomake berkeley)
$(use doc || echo -nomake docs)
$(use sql || echo -nomake sql)
- $(use ssl || echo -no-openssl)
$(use web || echo -nomake web)
$(use zeroconf || echo -no-zeroconf -nomake zeroconf)
)
@@ -69,12 +65,9 @@ src_configure() {
}
src_compile() {
- qt4-r2_src_compile
+ default
- if use doc; then
- einfo "Building documentation"
- emake docs
- fi
+ use doc && emake docs
}
pkg_postinst() {