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

Contents of /media-video/minitube/minitube-1.5-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Feb 16 20:51:02 2012 UTC (6 years, 5 months ago) by pesa
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Cleanup 1.7 ebuild; remove old and unused 1.5-r1.

(Portage version: 2.2.0_alpha86/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.5-r1.ebuild,v 1.1 2011/08/07 13:46:37 hwoarang Exp $
4
5 EAPI="4"
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 kde? ( || ( media-libs/phonon[gstreamer?] x11-libs/qt-phonon:4 ) )
24 !kde? ( || ( x11-libs/qt-phonon media-libs/phonon[gstreamer?] ) )
25 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 )
31 "
32
33 RDEPEND="${DEPEND}"
34
35 S="${WORKDIR}/${PN}"
36
37 PATCHES=(
38 "${FILESDIR}"/${P}-use-correct-env-variable.patch
39 )
40
41 src_install() {
42 emake INSTALL_ROOT="${D}" install
43 newicon images/app.png minitube.png
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"
50 fi
51 done
52 for x in ${LANGSLONG}; do
53 if [[ ${x%_*} == ${lang} ]]; then
54 doins "build/target/locale/${x}.qm"
55 fi
56 done
57 done
58 }

  ViewVC Help
Powered by ViewVC 1.1.20