public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Markos Chandras (hwoarang)" <hwoarang@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/qmpdclient: ChangeLog qmpdclient-1.1.0-r1.ebuild
Date: Tue, 21 Apr 2009 16:01:14 +0000	[thread overview]
Message-ID: <E1LwIPK-00029g-9o@stork.gentoo.org> (raw)

hwoarang    09/04/21 16:01:14

  Modified:             ChangeLog qmpdclient-1.1.0-r1.ebuild
  Log:
  Fix install directory, more fixes on translations
  (Portage version: 2.2_rc31/cvs/Linux x86_64)

Revision  Changes    Path
1.39                 media-sound/qmpdclient/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qmpdclient/ChangeLog?rev=1.39&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qmpdclient/ChangeLog?rev=1.39&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qmpdclient/ChangeLog?r1=1.38&r2=1.39

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/qmpdclient/ChangeLog,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- ChangeLog	21 Apr 2009 12:13:36 -0000	1.38
+++ ChangeLog	21 Apr 2009 16:01:14 -0000	1.39
@@ -1,6 +1,9 @@
 # ChangeLog for media-sound/qmpdclient
 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/qmpdclient/ChangeLog,v 1.38 2009/04/21 12:13:36 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qmpdclient/ChangeLog,v 1.39 2009/04/21 16:01:14 hwoarang Exp $
+
+  21 Apr 2009; Markos Chandras <hwoarang@gentoo.org> qmpdclient-1.1.0-r1:
+  Fix install directory, more fixes on translations
 
   21 Apr 2009; Markos Chandras <hwoarang@gentoo.org> qmpdclient-1.1.0-r1:
   Use linguas use flag for translations



1.3                  media-sound/qmpdclient/qmpdclient-1.1.0-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qmpdclient/qmpdclient-1.1.0-r1.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qmpdclient/qmpdclient-1.1.0-r1.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qmpdclient/qmpdclient-1.1.0-r1.ebuild?r1=1.2&r2=1.3

Index: qmpdclient-1.1.0-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/qmpdclient/qmpdclient-1.1.0-r1.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- qmpdclient-1.1.0-r1.ebuild	21 Apr 2009 12:13:36 -0000	1.2
+++ qmpdclient-1.1.0-r1.ebuild	21 Apr 2009 16:01:14 -0000	1.3
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/qmpdclient/qmpdclient-1.1.0-r1.ebuild,v 1.2 2009/04/21 12:13:36 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qmpdclient/qmpdclient-1.1.0-r1.ebuild,v 1.3 2009/04/21 16:01:14 hwoarang Exp $
 
 EAPI="2"
 
@@ -21,12 +21,17 @@
 DEPEND="x11-libs/qt-gui:4[dbus]"
 RDEPEND="${DEPEND}"
 
-LANGS="de_DE fr_FR it_IT nl_NL nn_NO no_NO pt_BR ru_RU sv_SE tr_TR uk_UA zh_CN zh_TW"
+LANGS="de_DE fr_FR it_IT nl_NL nn_NO no_NO ru_RU sv_SE tr_TR uk_UA"
+LANGSLONG="zh_CN zh_TW pt_BR"
 
 for X in ${LANGS}; do
 	IUSE="${IUSE} linguas_${X%_*}"
 done
 
+for X in ${LANGSLONG};do
+	IUSE="${IUSE} linguas_${X}"
+done
+
 S="${WORKDIR}/${MY_P}"
 
 src_prepare() {
@@ -40,6 +45,10 @@
 
 	sed -i -e "s:+= -O2 -g0 -s:+= -O2 -g0:" qmpdclient.pro \
 		|| die "sed failed (nostrip)"
+
+	# fix installation folder name
+	sed -i "s/share\/QMPDClient/share\/qmpdclient/" src/config.cpp \
+		|| die "failed to fix installation directory"
 }
 
 src_configure() {
@@ -64,13 +73,18 @@
 		"Qt;AudioVideo;Audio;" || die "Installing desktop entry failed"
 
 	#install translations
-	insinto /usr/share/QMPDClient/translations/
+	insinto /usr/share/${PN}/translations/
 	local LANG=
 	for LANG in ${LINGUAS};do
 	    for X in ${LANGS};do
-		if [[ ${LANG} == ${X%_*} ]];then
-		    doins -r lang/${X}.qm || die "failed to install translations"
-		fi
+			if [[ ${LANG} == ${X%_*} ]];then
+		    	doins -r lang/${X}.qm || die "failed to install translations"
+			fi
 	    done
+		for X in ${LANGSLONG};do
+			if [[ ${LANG} == ${X} ]]; then
+				doins -r lang/${X}.qm || die "failed to install translations"
+			fi
+		done
 	done
 }






             reply	other threads:[~2009-04-21 16:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-21 16:01 Markos Chandras (hwoarang) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-05-21 21:04 [gentoo-commits] gentoo-x86 commit in media-sound/qmpdclient: ChangeLog qmpdclient-1.1.0-r1.ebuild Brent Baude (ranger)
2009-05-17 14:46 Raul Porcel (armin76)
2009-05-14 19:53 Markus Meier (maekke)
2009-05-13 14:28 Jeroen Roovers (jer)
2009-04-21 18:09 Markos Chandras (hwoarang)
2009-04-21 12:13 Markos Chandras (hwoarang)
2009-04-20 23:35 Markos Chandras (hwoarang)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1LwIPK-00029g-9o@stork.gentoo.org \
    --to=hwoarang@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox