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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Oct 13 07:05:56 2009 UTC (9 years ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bump, remove old ebuilds
(Portage version: 2.2_rc44/cvs/Linux x86_64)

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.5.ebuild,v 1.2 2009/07/31 13:34:48 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 linguas_de linguas_es_AR linguas_it linguas_pl linguas_pt_BR linguas_ru"
20
21 DEPEND="x11-libs/qt-gui:4[accessibility]
22 kde? ( media-sound/phonon[gstreamer] )
23 !kde? ( x11-libs/qt-phonon:4 )"
24 RDEPEND="${DEPEND}"
25
26 S="${WORKDIR}/${PN}"
27
28 LANGS="es_AR pt_BR"
29 LANGSNOLONG="de_DE it_IT pl_PL ru_RU"
30
31 src_configure() {
32 eqmake4 ${PN}.pro
33 }
34
35 src_install() {
36 dobin build/target/minitube || die "dobin failed"
37 newicon images/app.png minitube.png || die "doicon failed"
38 make_desktop_entry minitube MiniTube minitube.png "Qt;AudioVideo;Video" \
39 || die "make_desktop_entry failed"
40 #translations
41 insinto "/usr/share/${PN}/locale/"
42 for lang in ${LINGUAS}; do
43 for x in ${LANGS}; do
44 if [[ ${x} == ${lang} ]]; then
45 doins "build/target/locale/${x}.qm" || die "doins failed"
46 fi
47 done
48 for x in ${LANGSNOLONG}; do
49 if [[ ${x%_*} == ${lang} ]]; then
50 doins "build/target/locale/${x}.qm" || die "doins failed"
51 fi
52 done
53 done
54 }

  ViewVC Help
Powered by ViewVC 1.1.20