summaryrefslogtreecommitdiff
blob: afdcf63a6e3236b07bfc5fc75a99750ac8b99eda (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
35
36
37
38
39
40
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/imgseek/imgseek-0.8.6-r1.ebuild,v 1.3 2008/07/17 02:28:23 dirtyepic Exp $

NEED_PYTHON=2.2

inherit eutils distutils

MY_PN="imgSeek"
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}"

DESCRIPTION="Photo collection manager with content-based search."
HOMEPAGE="http://www.imgseek.net/"
SRC_URI="mirror://sourceforge/imgseek/${MY_P}.tar.bz2"

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

DEPEND=">=dev-python/PyQt-3.5
	dev-python/imaging"
RDEPEND="${DEPEND}"

DOCS="ChangeLog AUTHORS README THANKS TODO"

src_unpack() {
	unpack ${A}
	cd "${S}"
	epatch "${FILESDIR}"/${P}-ImageDB-name-change.patch
	epatch "${FILESDIR}"/${P}-gcc43.patch
}

src_install() {
	distutils_src_install
	insinto /usr/share/${MY_PN}
	doicon ${MY_PN}.png
	make_desktop_entry "${MY_PN} %F" ${MY_PN} ${MY_PN} "Qt;Graphics;"
}