commit:     7f7540bac3a1dc525cb8d8d46c8d93c3411d5165
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 19 16:34:38 2016 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Tue Jan 19 16:34:38 2016 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=7f7540ba

net-libs/qmf: remove broken live ebuild

 net-libs/qmf/files/qmf-4.0.2-tests.patch |  13 ----
 net-libs/qmf/metadata.xml                |   9 ---
 net-libs/qmf/qmf-9999.ebuild             | 108 -------------------------------
 3 files changed, 130 deletions(-)

diff --git a/net-libs/qmf/files/qmf-4.0.2-tests.patch 
b/net-libs/qmf/files/qmf-4.0.2-tests.patch
deleted file mode 100644
index 38a7f4c..0000000
--- a/net-libs/qmf/files/qmf-4.0.2-tests.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -Naur qmf-9999.orig/tests/tests.pri qmf-9999/tests/tests.pri
---- qmf-9999.orig/tests/tests.pri      2013-04-13 12:05:32.323423194 -0700
-+++ qmf-9999/tests/tests.pri   2013-04-13 12:09:25.068513480 -0700
-@@ -11,7 +11,8 @@
- INCLUDEPATH += . $$QMFPATH $$QMFPATH/support
- LIBS += -L$$QMFPATH/build
- macx:LIBS += -F$$QMFPATH/build
--QMAKE_LFLAGS += -Wl,-rpath,$$QMFPATH
-+QMAKE_LFLAGS += -Wl,-rpath,\\\$$ORIGIN/$$QMFPATH/build
- 
- include(../common.pri)
- 
-+DESTDIR =

diff --git a/net-libs/qmf/metadata.xml b/net-libs/qmf/metadata.xml
deleted file mode 100644
index 4fd5a5f..0000000
--- a/net-libs/qmf/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-<herd>qt</herd>
-<maintainer>
-       <email>[email protected]</email>
-       <name>Davide Pesavento</name>
-</maintainer>
-</pkgmetadata>

diff --git a/net-libs/qmf/qmf-9999.ebuild b/net-libs/qmf/qmf-9999.ebuild
deleted file mode 100644
index 386f701..0000000
--- a/net-libs/qmf/qmf-9999.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit qt4-r2
-
-if [[ ${PV} == *9999 ]]; then
-       inherit git-r3
-       EGIT_REPO_URI=(
-               "git://code.qt.io/qt-labs/messagingframework.git"
-               "https://code.qt.io/git/qt-labs/messagingframework.git";
-       )
-else
-       SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${P}.tar.gz";
-       S=${WORKDIR}/qt-labs-messagingframework
-fi
-
-DESCRIPTION="The Qt Messaging Framework"
-HOMEPAGE="https://code.qt.io/cgit/qt-labs/messagingframework.git/";
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS=""
-IUSE="debug doc examples icu test zlib"
-
-RDEPEND="
-       >=dev-qt/qtcore-4.8:4
-       >=dev-qt/qtgui-4.8:4
-       >=dev-qt/qtsql-4.8:4
-       examples? ( >=dev-qt/qtwebkit-4.8:4 )
-       icu? ( dev-libs/icu:= )
-       zlib? ( sys-libs/zlib )
-"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig
-       test? ( >=dev-qt/qttest-4.8:4 )
-"
-
-DOCS=( CHANGES )
-PATCHES=(
-       "${FILESDIR}/${PN}-4.0.2-tests.patch"
-)
-
-src_prepare() {
-       qt4-r2_src_prepare
-
-       sed -i -e '/SUBDIRS.*=/s/benchmarks//' messagingframework.pro || die
-
-       if ! use examples; then
-               sed -i -e '/SUBDIRS.*=/s/examples//' messagingframework.pro || 
die
-       fi
-       if ! use test; then
-               sed -i -e '/SUBDIRS.*=/s/tests//' messagingframework.pro || die
-       fi
-
-       # disable automagic deps
-       if ! use icu; then
-               sed -i -e 's/packagesExist(icu-uc)/false:&/' \
-                       src/libraries/qmfclient/qmfclient.pro || die
-       fi
-       if ! use zlib; then
-               sed -i -e 's/packagesExist(zlib)/false:&/' \
-                       src/plugins/messageservices/imap/imap.pro || die
-       fi
-
-       # fix libdir
-       find "${S}" -name '*.pro' -type f -print0 | xargs -0 \
-               sed -i -re "s:/lib(/|$):/$(get_libdir)\1:" || die
-       sed -i -e "s:/lib/:/$(get_libdir)/:" \
-               src/libraries/qmfclient/support/qmailnamespace.cpp || die
-}
-
-src_configure() {
-       eqmake4 QMF_INSTALL_ROOT="${EPREFIX}/usr"
-}
-
-src_test() {
-       cd "${S}"/tests
-
-       export QMF_DATA=${T}
-       local fail=false test=
-       for test in tst_*; do
-               # skip test that requires messageserver to be running
-               [[ ${test} == tst_qmailstorageaction ]] && continue
-
-               if ! LC_ALL=C ./${test}/${test}; then
-                       eerror "${test#tst_} test failed!"
-                       fail=true
-               fi
-               echo
-       done
-
-       ${fail} && die "some tests have failed!"
-}
-
-src_install() {
-       qt4-r2_src_install
-
-       if use doc; then
-               emake docs
-
-               dodoc -r doc/html
-               dodoc doc/html/qmf.qch
-               docompress -x /usr/share/doc/${PF}/qmf.qch
-       fi
-}

Reply via email to