public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Johannes Huber" <johu@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: media-sound/kradio/
Date: Fri, 31 Aug 2012 11:43:14 +0000 (UTC)	[thread overview]
Message-ID: <1346413386.4df507a1599822b574f6156c4a03873c223d89a5.johu@gentoo> (raw)

commit:     4df507a1599822b574f6156c4a03873c223d89a5
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 31 11:42:38 2012 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Fri Aug 31 11:43:06 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=4df507a1

[media-sound/kradio] Sync with tree. Move to git by upstream.

(Portage version: 2.2.0_alpha123/git/Linux x86_64, unsigned Manifest commit)

---
 media-sound/kradio/kradio-9999.ebuild |   44 ++++++++++++++++++++++++--------
 1 files changed, 33 insertions(+), 11 deletions(-)

diff --git a/media-sound/kradio/kradio-9999.ebuild b/media-sound/kradio/kradio-9999.ebuild
index cb6a2ee..3e77a27 100644
--- a/media-sound/kradio/kradio-9999.ebuild
+++ b/media-sound/kradio/kradio-9999.ebuild
@@ -4,14 +4,18 @@
 
 EAPI=4
 
-KDE_LINGUAS="cs de es pl pt ru uk"
-KDE_SCM="svn"
+KDE_LINGUAS_DIR=( po convert-presets/po )
+PLUGINS=(
+	alsa-sound dbus gui-docking-menu gui-error-log gui-quickbar
+	gui-standard-display internetradio lirc oss-sound radio recording shortcuts
+	soundserver streaming timecontrol timeshifter v4lradio
+)
+KDE_LINGUAS="cs de es is it pl pt pt_BR ru sk tr uk"
 inherit kde4-base
 
 DESCRIPTION="kradio is a radio tuner application for KDE"
 HOMEPAGE="http://kradio.sourceforge.net/"
-ESVN_REPO_URI="https://${PN}.svn.sourceforge.net/svnroot/${PN}/trunk"
-ESVN_PROJECT="kradio"
+EGIT_REPO_URI="git://${PN}.git.sourceforge.net/gitroot/${PN}/${PN}"
 
 LICENSE="GPL-2"
 KEYWORDS=""
@@ -21,27 +25,45 @@ IUSE="alsa debug encode ffmpeg lirc +mp3 +vorbis v4l"
 DEPEND="
 	media-libs/libsndfile
 	alsa? ( media-libs/alsa-lib )
+	ffmpeg? (
+		>=media-libs/libmms-0.4
+		virtual/ffmpeg
+	)
 	lirc? ( app-misc/lirc )
 	mp3? ( media-sound/lame )
 	vorbis? (
 		media-libs/libvorbis
 		media-libs/libogg
 	)
-	ffmpeg? (
-		>=media-libs/libmms-0.4
-		virtual/ffmpeg
-	)
 "
 RDEPEND="${DEPEND}"
 
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+	local lang
+	for lang in ${KDE_LINGUAS} ; do
+		if ! use linguas_${lang} ; then
+			for dir in "${KDE_LINGUAS_DIR[@]}" ; do
+				rm ${dir}/${lang}.po
+			done
+			for plugin in "${PLUGINS[@]}" ; do
+				rm plugins/${plugin}/po/${lang}.po
+			done
+		fi
+	done
+
+	kde4-base_src_prepare
+}
+
 src_configure() {
 	mycmakeargs=(
 		$(cmake-utils_use_with alsa)
+		$(cmake-utils_use_with ffmpeg)
+		$(cmake-utils_use_with lirc)
 		$(cmake-utils_use_with mp3 LAME)
 		$(cmake-utils_use_with vorbis OGG_VORBIS)
-		$(cmake-utils_use_with lirc)
-		$(cmake-utils_use_with ffmpeg)
-		$(cmake-utils_use_with v4l v4l2)
+		$(cmake-utils_use_with v4l V4L2)
 	)
 
 	kde4-base_src_configure


             reply	other threads:[~2012-08-31 11:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-31 11:43 Johannes Huber [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-04-28  7:43 [gentoo-commits] proj/kde:master commit in: media-sound/kradio/ Johannes Huber
2016-03-28 12:24 Johannes Huber
2015-04-27 16:27 Michael Palimaka
2013-06-30 13:31 Johannes Huber
2012-08-22 20:12 Johannes Huber

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=1346413386.4df507a1599822b574f6156c4a03873c223d89a5.johu@gentoo \
    --to=johu@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