summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoang Minh Thang <hoangminhthang@ktqd.org>2012-02-01 16:16:04 +0700
committerHoang Minh Thang <hoangminhthang@ktqd.org>2012-02-01 16:16:04 +0700
commit4b6e807f1f230b1385ac7bd41515c220f392f85d (patch)
tree4f5acb616519121e6c04bedfc552cede43ac345a
parentespeakedit-1.46.02 (diff)
downloadgentoo-vn-4b6e807f1f230b1385ac7bd41515c220f392f85d.tar.gz
gentoo-vn-4b6e807f1f230b1385ac7bd41515c220f392f85d.tar.bz2
gentoo-vn-4b6e807f1f230b1385ac7bd41515c220f392f85d.zip
papagayo-1.1
-rw-r--r--media-gfx/papagayo/Manifest3
-rw-r--r--media-gfx/papagayo/files/papagayo2
-rw-r--r--media-gfx/papagayo/papagayo-1.1.ebuild17
3 files changed, 16 insertions, 6 deletions
diff --git a/media-gfx/papagayo/Manifest b/media-gfx/papagayo/Manifest
index 8523cbb..eedc3f5 100644
--- a/media-gfx/papagayo/Manifest
+++ b/media-gfx/papagayo/Manifest
@@ -1,2 +1,3 @@
+AUX papagayo 49 RMD160 add32c5cabdb34ac35c553c40575d038cd36a26d SHA1 bb08d4f46f35fb1d78973e77a9a7e45c96ca4183 SHA256 2905888419ac1d7c0a8d22bf71045938493032071346a5ba895d20a06cd5313a
DIST papagayo_src_r30.zip 2002852 RMD160 73ede5d4f1856ef16b5e6f1bf557a1580bd18760 SHA1 d86a0fa7accd842ca2b1125e5c95720e539ce9f2 SHA256 e01c292b3754724c39872ec219e2f5e54b46c3407a2bd4c952f2694de5617cf9
-EBUILD papagayo-1.1.ebuild 647 RMD160 d8dbfcc794e3ea77c6e59e3593a11bf4117bee44 SHA1 6dc218b693977a1b9b2847bd166f11c78bb60961 SHA256 b73d4d6222f1b973cb5f1a7316c6fe32e33e5cb75b79e9004c97a459df574644
+EBUILD papagayo-1.1.ebuild 924 RMD160 ae898543139f2e95cd3d24b940353668a45c197b SHA1 c8ca28a253e6f56f2314c99aea6cc18f05a362cf SHA256 77b936b8d0795f52a3c7c2bfe78297ebfef0886cd9f333402f94bfe98d0c4894
diff --git a/media-gfx/papagayo/files/papagayo b/media-gfx/papagayo/files/papagayo
new file mode 100644
index 0000000..088e5f8
--- /dev/null
+++ b/media-gfx/papagayo/files/papagayo
@@ -0,0 +1,2 @@
+#!/bin/sh
+python /usr/share/papagayo/papagayo.py
diff --git a/media-gfx/papagayo/papagayo-1.1.ebuild b/media-gfx/papagayo/papagayo-1.1.ebuild
index 497cf80..dfa11ef 100644
--- a/media-gfx/papagayo/papagayo-1.1.ebuild
+++ b/media-gfx/papagayo/papagayo-1.1.ebuild
@@ -3,12 +3,12 @@
# $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/papagayo_src_r30.zip"
+SRC_URI="http://papagayo.googlecode.com/files/${MY_P}.zip"
LICENSE="GPL-2"
SLOT="0"
@@ -19,9 +19,16 @@ RDEPEND="dev-lang/python
dev-python/wxpython"
src_compile() {
-unzip ${DISTDIR}/papagayo_src_r30.zip -d ${WORKDIR}
+unzip ${DISTDIR}/${MY_P}.zip -d ${WORKDIR}
}
src_install() {
- insinto "${INSTDIR}"
- doins -r ${WORKDIR}/*
+ 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
}