-DIST qt-solutions-20130904.tar.xz 751536 SHA256 fc27b49883269a21ced2d3cb543eb78e79223afe5933bbc7d3194146f72f8884 SHA512 9e50d0a7d9fee08a72a3c6dee1d3fe45d04ae0930a967d81eff457f6c0ff53ac8449ef1d8241a5ce75ca2dcf9f4a2fe27b899647748d11060c3ab5767c3d0e75 WHIRLPOOL b933a301de905cffab8393a7adf055ed2f5198f1572657f5993e016746340d9862017982308ac11310add272ae1cd5c3435054dce2dd9d7ee5a9c92baf1878c2
DIST qt-solutions-20150629.tar.xz 710488 SHA256 cfa88a67c8396878eaa98f39b7648482fabb73988549cc404816c29212cf6503 SHA512 a95ed58f0218cd90d734a40eedd173b896fa0138ad235f3157d7bee538b16c5f385d93bae483fd22267f2984389b9940bb85ba0cd3d25c16124d56abb39568f5 WHIRLPOOL 23a273cfa2d0bc3834487c9e325c73d0038877c5a5085493ceb37ee5dc03cc4d2cddf4f46f5a89045fcbfe7f6dd03b678d56f3167fb750374d44879f11ded8b7
+++ /dev/null
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit qt4-r2
-
-MY_P=qt-solutions-${PV#*_p}
-
-DESCRIPTION="Qt library to start applications only once per user"
-HOMEPAGE="https://code.qt.io/cgit/qt-solutions/qt-solutions.git/"
-SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.xz"
-
-LICENSE="|| ( LGPL-2.1 GPL-3 )"
-SLOT="0"
-KEYWORDS="amd64 arm ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
-IUSE="X doc"
-
-DEPEND="
- dev-qt/qtcore:4
- dev-qt/qtlockedfile
- X? ( dev-qt/qtgui:4 )
-"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/${MY_P}/${PN}
-
-PATCHES=(
- "${FILESDIR}/${PV}-unbundle-qtlockedfile.patch"
- "${FILESDIR}/${PV}-no-gui.patch"
-)
-
-src_prepare() {
- qt4-r2_src_prepare
-
- echo 'SOLUTIONS_LIBRARY = yes' > config.pri
- use X || echo 'QTSA_NO_GUI = yes' >> config.pri
-
- sed -i -e "s/-head/-${PV%.*}/" common.pri || die
- sed -i -e '/SUBDIRS+=examples/d' ${PN}.pro || die
-
- # to ensure unbundling
- rm -f src/qtlockedfile*
-}
-
-src_install() {
- dodoc README.TXT
-
- dolib.so lib/*
- insinto /usr/include/qt4/QtSolutions
- doins src/qtsinglecoreapplication.h
- use X && doins src/{QtSingleApplication,${PN}.h}
-
- insinto /usr/share/qt4/mkspecs/features
- doins "${FILESDIR}"/qtsinglecoreapplication.prf
- use X && doins "${FILESDIR}"/${PN}.prf
-
- use doc && dohtml -r doc/html
-}