summaryrefslogtreecommitdiff
blob: dfa11efa3b3b35b8d45ad9c7a531c71ed6a8b74d (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-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"
MY_P=papagayo_src_r30
inherit eutils

DESCRIPTION="Papagayo is a lip-syncing program designed to help you line up phonemes (mouth shapes) with the actual recorded sound of actors speaking."
HOMEPAGE="http://papagayo.googlecode.com/"
SRC_URI="http://papagayo.googlecode.com/files/${MY_P}.zip"

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

RDEPEND="dev-lang/python
	dev-python/wxpython"

src_compile() {
unzip ${DISTDIR}/${MY_P}.zip -d ${WORKDIR}
}
src_install() {
	rm ${WORKDIR}/${MY_P}/setup*.py
	rm ${WORKDIR}/${MY_P}/papagayo.ic*
	insinto /usr/share/${PN}
	doins -r ${WORKDIR}/${MY_P}/*
	exeinto /usr/bin
	doexe ${FILESDIR}/papagayo
	dodoc ${WORKDIR}/${MY_P}/*.txt ${WORKDIR}/${MY_P}/rsrc/*.html 
	doicon ${WORKDIR}/${MY_P}/rsrc/papagayo.jpg
	make_desktop_entry papagayo Papagayo
}