/[gentoo-x86]/media-video/minitube/minitube-0.6.1.ebuild
Gentoo

Contents of /media-video/minitube/minitube-0.6.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Nov 16 05:03:16 2009 UTC (8 years, 11 months ago) by abcd
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Drop old versions and unused file
(Portage version: -svn/cvs/Linux i686)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-video/minitube/minitube-0.6.1.ebuild,v 1.1 2009/10/03 16:10:09 hwoarang Exp $
4
5 EAPI="2"
6
7 inherit qt4
8
9 MY_PN="${PN}-src"
10 MY_P="${MY_PN}-${PV}"
11
12 DESCRIPTION="Qt4 YouTube Client"
13 HOMEPAGE="http://flavio.tordini.org/minitube"
14 SRC_URI="http://flavio.tordini.org/files/${PN}/${MY_P}.tar.gz"
15
16 LICENSE="GPL-3"
17 SLOT="0"
18 KEYWORDS="~amd64 ~x86"
19 IUSE="debug kde"
20 LNGS="cs de es es_AR he it ja pl pt_BR ru uk"
21 for lng in ${LNGS}; do
22 IUSE="${IUSE} linguas_${lng}"
23 done
24
25 DEPEND="x11-libs/qt-gui:4[accessibility]
26 kde? ( media-sound/phonon[gstreamer] )
27 !kde? ( x11-libs/qt-phonon:4 )"
28 RDEPEND="${DEPEND}"
29
30 S="${WORKDIR}/${PN}"
31
32 LANGS="es_AR pt_BR"
33 LANGSNOLONG="cs_CZ de_DE es_ES he_IL it_IT jp_JP pl_PL ru_RU"
34
35 src_configure() {
36 eqmake4 ${PN}.pro
37 }
38
39 src_install() {
40 dobin build/target/minitube || die "dobin failed"
41 newicon images/app.png minitube.png || die "doicon failed"
42 make_desktop_entry minitube MiniTube minitube.png "Qt;AudioVideo;Video" \
43 || die "make_desktop_entry failed"
44 #translations
45 insinto "/usr/share/${PN}/locale/"
46 for lang in ${LINGUAS}; do
47 for x in ${LANGS}; do
48 if [[ ${x} == ${lang} ]]; then
49 doins "build/target/locale/${x}.qm" || die "doins failed"
50 fi
51 done
52 for x in ${LANGSNOLONG}; do
53 if [[ ${x%_*} == ${lang} ]]; then
54 doins "build/target/locale/${x}.qm" || die "doins failed"
55 fi
56 done
57 done
58 }

  ViewVC Help
Powered by ViewVC 1.1.20