summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2012-05-09 11:39:01 +0000
committerMichael Palimaka <kensington@gentoo.org>2012-05-09 11:39:01 +0000
commit5cd19bb4d6d3bb9b6ee54321ec9437004d564a4c (patch)
tree0cb2cca33fb270678eb1fc82d85200f2e1d4d246 /media-sound/qastools
parentkeyword ~x86-linux (diff)
downloadhistorical-5cd19bb4d6d3bb9b6ee54321ec9437004d564a4c.tar.gz
historical-5cd19bb4d6d3bb9b6ee54321ec9437004d564a4c.tar.bz2
historical-5cd19bb4d6d3bb9b6ee54321ec9437004d564a4c.zip
Respect LINGUAS. Fix build failure with gcc-4.7, fixing bug #414149 by David Kredba <nheghathivhistha@gmail.com>.
Package-Manager: portage-2.1.10.57/cvs/Linux x86_64
Diffstat (limited to 'media-sound/qastools')
-rw-r--r--media-sound/qastools/ChangeLog9
-rw-r--r--media-sound/qastools/Manifest28
-rw-r--r--media-sound/qastools/files/qastools-0.17.1-gcc-4.7.patch20
-rw-r--r--media-sound/qastools/qastools-0.17.1-r1.ebuild45
4 files changed, 85 insertions, 17 deletions
diff --git a/media-sound/qastools/ChangeLog b/media-sound/qastools/ChangeLog
index e209cda56296..8d89a4baba57 100644
--- a/media-sound/qastools/ChangeLog
+++ b/media-sound/qastools/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-sound/qastools
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/qastools/ChangeLog,v 1.1 2012/03/13 01:21:14 pesa Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qastools/ChangeLog,v 1.2 2012/05/09 11:39:01 kensington Exp $
+
+*qastools-0.17.1-r1 (09 May 2012)
+
+ 09 May 2012; Michael Palimaka <kensington@gentoo.org>
+ +files/qastools-0.17.1-gcc-4.7.patch, +qastools-0.17.1-r1.ebuild:
+ Respect LINGUAS. Fix build failure with gcc-4.7, fixing bug #414149 by David
+ Kredba <nheghathivhistha@gmail.com>.
*qastools-0.17.1 (13 Mar 2012)
diff --git a/media-sound/qastools/Manifest b/media-sound/qastools/Manifest
index bd615c15aa7c..bcf4993d7a2d 100644
--- a/media-sound/qastools/Manifest
+++ b/media-sound/qastools/Manifest
@@ -1,24 +1,20 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA1
+AUX qastools-0.17.1-gcc-4.7.patch 412 RMD160 383175d6d9f238e4658e250bb622659615a1d972 SHA1 0c17bb1fdea03f61fdf03eac7c8dc9ca41e9f123 SHA256 2130c15dd7facfccc6f9945f6db819a6f8956b4227a49946159b0a10ae83b43e
DIST qastools_0.17.1.tar.xz 202036 RMD160 9872ee5b01b03be204f65f8720d0fc0678486fac SHA1 ddadec433405ccc0bcf701db80cd4a4e3a23bed1 SHA256 92370ab104c63a3aef3285e139daf8630c6f23b43c145bd2d29951264a8386ba
+EBUILD qastools-0.17.1-r1.ebuild 952 RMD160 4121da0a4902600b8c2a5fa51eeabe4a4de4228e SHA1 fa8bb4ca1fad8ffc0cc7f1023d362b96b557f95f SHA256 5297b7acc33e1176072363835a87ca8c64edfce12d4f3b510f0d9c3e7451584c
EBUILD qastools-0.17.1.ebuild 730 RMD160 19b91e0f429f5773c8ee0294872f62d213cdf427 SHA1 f66275356247d7a5c80206dabc9e60e1e1d05ce8 SHA256 b686a52c6e01962bc46cdcb0db9c0ea1b5fbe28a29c31c107dd772cec2048fe6
-MISC ChangeLog 453 RMD160 f5723120813f50103343f8023ffd14446cdc73a3 SHA1 74a424d7f88fa390c37b002893316c0ffe4921d9 SHA256 8b3e63e09d9774f0a0b7d3742004fdfd72bfde24e79b5616b4870be2a0298277
+MISC ChangeLog 737 RMD160 c418a8e55400940a3325b23c151ceff30969f273 SHA1 73e5e7fc8c63b2dbce07ef3261c282295b91b2ea SHA256 eb9c82da1de997b68aa002cefeb7a33d1d97627c49c2e4acee376ecdf60e60a2
MISC metadata.xml 155 RMD160 654eebe07944b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5RwbwCaa
++S+xI8z9XKlVy49MebIQv6CHNOo6NB28fzeTKBOHXRKrGxsf4GJuGtVBgzXjZZ1x
+2BA2kNcGZVZvxkT+I7qhIQISYJJ8MBtIaEgaV5MOu+RQ7PjZiBVHVO4z26ZC2w5G
+VCw2K+MTIvrzKpuc40OOxh3Ax0+dTfAkdpzkbho7yImST+po9FU5B8gqOhCe0ZUL
+skQiXaHY8eFD6LP7Ok9C/+v4C5Afy5ThMG9ibI1NLxsI/oJIvvHfAj3inMjVobI=
+=wO2F
-----END PGP SIGNATURE-----
diff --git a/media-sound/qastools/files/qastools-0.17.1-gcc-4.7.patch b/media-sound/qastools/files/qastools-0.17.1-gcc-4.7.patch
new file mode 100644
index 000000000000..cee40ca4840f
--- /dev/null
+++ b/media-sound/qastools/files/qastools-0.17.1-gcc-4.7.patch
@@ -0,0 +1,20 @@
+--- shared/src/unix_signal_handler.cpp
++++ shared/src/unix_signal_handler.cpp
+@@ -10,6 +10,7 @@
+
+ #include <sys/socket.h>
+ #include <signal.h>
++#include <unistd.h>
+ #include <QSocketNotifier>
+ #include <iostream>
+
+--- shared/src/single_application.cpp
++++ shared/src/single_application.cpp
+@@ -17,6 +17,7 @@
+
+ #include <stdlib.h>
+ #include <pwd.h>
++#include <unistd.h>
+ #include "unix_signal_handler.hpp"
+
+
diff --git a/media-sound/qastools/qastools-0.17.1-r1.ebuild b/media-sound/qastools/qastools-0.17.1-r1.ebuild
new file mode 100644
index 000000000000..0c6b17e1c30d
--- /dev/null
+++ b/media-sound/qastools/qastools-0.17.1-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qastools/qastools-0.17.1-r1.ebuild,v 1.1 2012/05/09 11:39:01 kensington Exp $
+
+EAPI=4
+
+inherit base cmake-utils
+
+MY_P=${PN}_${PV}
+
+DESCRIPTION="Qt4 GUI ALSA tools: mixer, configuration browser"
+HOMEPAGE="http://xwmw.org/qastools/"
+SRC_URI="mirror://sourceforge/${PN}/${PV}/${MY_P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+LANGS="cs de es ru"
+for X in ${LANGS} ; do
+ IUSE="${IUSE} linguas_${X}"
+done
+
+DEPEND="media-libs/alsa-lib
+ >=x11-libs/qt-core-4.6:4
+ >=x11-libs/qt-gui-4.6:4
+ >=x11-libs/qt-svg-4.6:4"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS="CHANGELOG README TODO"
+PATCHES=( "${FILESDIR}/${P}-gcc-4.7.patch" )
+
+src_prepare() {
+ base_src_prepare
+
+ local lang
+ for lang in ${LANGS} ; do
+ if ! use linguas_${lang} ; then
+ rm i18n/ts/app_${lang}.ts
+ fi
+ done
+}