From e0bd822042cf102b91076d6eafc9c41372876365 Mon Sep 17 00:00:00 2001 From: KronoZed Date: Thu, 3 Mar 2016 09:22:25 +0300 Subject: [PATCH] Create twmn-9999.ebuild --- x11-misc/twmn/twmn-9999.ebuild | 52 ++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 x11-misc/twmn/twmn-9999.ebuild diff --git a/x11-misc/twmn/twmn-9999.ebuild b/x11-misc/twmn/twmn-9999.ebuild new file mode 100644 index 0000000..1102835 --- /dev/null +++ b/x11-misc/twmn/twmn-9999.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit qt4-r2 git-r3 + +DESCRIPTION="A notification system for tiling window managers." +HOMEPAGE="https://github.com/sboli/Twmn" +EGIT_REPO_URI="https://github.com/sboli/twmn.git" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="" +IUSE="+qt5" + +DEPEND=" + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtdbus:5 + dev-qt/qtx11extras:5 + ) + !qt5? ( + dev-qt/qtcore:4 + dev-qt/qtgui:4 + dev-qt/qtdbus:4 + ) + dev-libs/boost + sys-apps/dbus + " +RDEPEND="${DEPEND}" + +DOCS=( TODO README.md ) + +src_unpack() { + use qt5 || EGIT_COMMIT=e8f5096932db1fa1d7fcd7b2e421033cdfd52dac + git-r3_src_unpack +} + +src_prepare() { + sed -i -e 's#/usr/local/#/usr/#g' */*.pro +} + +src_configure() { + if use qt5; then + eqmake5 + else + qt4-r2_src_configure + fi +}