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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Apr 11 09:29:52 2011 UTC (7 years, 1 month ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
remove old ebuild

(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-video/minitube/minitube-1.3.ebuild,v 1.4 2011/03/26 16:34:19 dilfridge Exp $
4
5 EAPI="2"
6 LANGS="ar es pt_BR pt_PT uk"
7 LANGSLONG="bg_BG cs_CZ de_DE el_GR es he_IL hr_HR hu_HU fr_FR fi_FI it_IT
8 ja_JP nl_NL nb_NO pl_PL ro_RO ru_RU tr_TR"
9
10 inherit qt4-r2
11
12 DESCRIPTION="Qt4 YouTube Client"
13 HOMEPAGE="http://flavio.tordini.org/minitube"
14 SRC_URI="http://flavio.tordini.org/files/${PN}/${P}.tar.gz"
15
16 LICENSE="GPL-3"
17 SLOT="0"
18 KEYWORDS="amd64 x86"
19 IUSE="debug kde gstreamer"
20
21 DEPEND="x11-libs/qt-gui:4[accessibility]
22 x11-libs/qt-dbus:4
23 gstreamer? (
24 kde? ( || ( media-libs/phonon[gstreamer] x11-libs/qt-phonon:4 ) )
25 !kde? ( || ( x11-libs/qt-phonon media-libs/phonon[gstreamer] ) )
26 media-plugins/gst-plugins-soup
27 media-plugins/gst-plugins-ffmpeg
28 media-plugins/gst-plugins-faac
29 media-plugins/gst-plugins-faad )
30 !gstreamer? ( media-libs/phonon[-gstreamer] )"
31
32 RDEPEND="${DEPEND}"
33
34 S="${WORKDIR}/${PN}"
35
36 src_install() {
37 dobin build/target/minitube || die "dobin failed"
38 newicon images/app.png minitube.png || die "doicon failed"
39 make_desktop_entry minitube MiniTube minitube "Qt;AudioVideo;Video" \
40 || die "make_desktop_entry failed"
41 #translations
42 insinto "/usr/share/${PN}/locale/"
43 for lang in ${LINGUAS}; do
44 for x in ${LANGS}; do
45 if [[ ${x} == ${lang} ]]; then
46 doins "build/target/locale/${x}.qm" || die "doins failed"
47 fi
48 done
49 for x in ${LANGSLONG}; do
50 if [[ ${x%_*} == ${lang} ]]; then
51 doins "build/target/locale/${x}.qm" || die "doins failed"
52 fi
53 done
54 done
55 }

  ViewVC Help
Powered by ViewVC 1.1.20