summaryrefslogtreecommitdiff
blob: 048ad6d6910c7949f9bc34e0f7b97d9153ead942 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/beediff/beediff-1.9.ebuild,v 1.3 2013/06/12 14:15:08 kensington Exp $

EAPI=5
inherit eutils qt4-r2

DESCRIPTION="A graphical user interface for comparing and merging files"
HOMEPAGE="http://www.beesoft.pl/index.php?id=beediff"
SRC_URI="http://www.beesoft.pl/download/${PN}_${PV}_src.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="dev-qt/qtcore:4
	dev-qt/qtgui:4"
RDEPEND="${DEPEND}"

S=${WORKDIR}/${PN}

src_prepare() {
	sed -i \
		-e '/QMAKE_CXXFLAGS/d' \
		beediff.pro || die
}

src_install() {
	dobin ${PN}
	doicon img/${PN}.png
	make_desktop_entry ${PN} "Beesoft Differ" ${PN} "Qt;Development;"
	dodoc ChangeLog.txt
}