[arch-commits] Commit in paprefs/trunk (3 files)
Jan Steffens
heftig at archlinux.org
Fri Jan 1 17:13:05 UTC 2016
Date: Friday, January 1, 2016 @ 18:13:05
Author: heftig
Revision: 257429
Move to GIT, remove icon dep, add README
Modified:
paprefs/trunk/PKGBUILD
Deleted:
paprefs/trunk/do-not-require-recompile.patch
paprefs/trunk/paprefs.desktop
--------------------------------+
PKGBUILD | 26 ++++++++++++--------------
do-not-require-recompile.patch | 33 ---------------------------------
paprefs.desktop | 13 -------------
3 files changed, 12 insertions(+), 60 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-01-01 09:00:10 UTC (rev 257428)
+++ PKGBUILD 2016-01-01 17:13:05 UTC (rev 257429)
@@ -6,33 +6,31 @@
pkgname=paprefs
pkgver=0.9.10
-pkgrel=5
+pkgrel=6
pkgdesc="A simple GTK-based configuration dialog for PulseAudio"
arch=(i686 x86_64)
url="http://0pointer.de/lennart/projects/paprefs"
license=(GPL)
-depends=(gconfmm gnome-icon-theme libglademm libsigc++ pulseaudio-gconf)
-makedepends=(intltool)
-source=(http://freedesktop.org/software/pulseaudio/$pkgname/$pkgname-$pkgver.tar.xz
- paprefs.desktop do-not-require-recompile.patch)
-sha256sums=('261c5a67543f2d0c019894fb933949f6ee7c5e181808e1e9565f0784961eabb0'
- '5cdd6cffb08d611451f01b34b08b316fb14cbd14b283bf5d180b8dcde11fa46b'
- '00fd4b14e81d90ac6d74e6eb689fa4e20e1a2fbc2eefbb440a11b1373e115a9d')
+depends=(gconfmm libglademm libsigc++ pulseaudio-gconf)
+makedepends=(intltool lynx git)
+_commit=6b50202f3f11bc5c016e41b8f0c529860a6baabb
+source=("git://anongit.freedesktop.org/pulseaudio/paprefs#commit=$_commit")
+sha256sums=('SKIP')
prepare() {
- cd $pkgname-$pkgver
- patch -Np1 -i "../do-not-require-recompile.patch"
+ cd $pkgname
+ NOCONFIGURE=1 ./bootstrap.sh
}
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
CXXFLAGS+=' -std=c++11'
- ./configure --prefix=/usr --disable-lynx
+ ./configure --prefix=/usr
make
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR="$pkgdir" install
- install -Dm644 ../paprefs.desktop "$pkgdir/usr/share/applications/paprefs.desktop"
+ install -D doc/README "$pkgdir/usr/share/doc/$pkgname/README"
}
Deleted: do-not-require-recompile.patch
===================================================================
--- do-not-require-recompile.patch 2016-01-01 09:00:10 UTC (rev 257428)
+++ do-not-require-recompile.patch 2016-01-01 17:13:05 UTC (rev 257429)
@@ -1,33 +0,0 @@
-From 4fcee37cb92c689b43a0d8fc1d8e6b2764834cbf Mon Sep 17 00:00:00 2001
-From: Colin Guthrie <colin at mageia.org>
-Date: Sun, 6 Nov 2011 14:31:27 +0000
-Subject: [PATCH] Do not require a recompile for each new PA version in order to detect the modules.
-
----
- src/paprefs.cc | 9 +++++++--
- 1 files changed, 7 insertions(+), 2 deletions(-)
-
-diff --git a/src/paprefs.cc b/src/paprefs.cc
-index 21fdc95..919b15c 100644
---- a/src/paprefs.cc
-+++ b/src/paprefs.cc
-@@ -637,9 +637,14 @@ void MainWindow::readFromGConf() {
- }
-
- gchar * MainWindow::modulePath(const gchar *name) {
-- gchar *path, *pulsedir, *c;
-+ gchar *path, *pulsedir, *c, **versions;
-
-- pulsedir = g_strdup_printf ("pulse-%d.%d", PA_MAJOR, PA_MINOR);
-+ versions = g_strsplit(pa_get_library_version(), ".", 3);
-+ if (versions[0] && versions[1])
-+ pulsedir = g_strdup_printf ("pulse-%s.%s", versions[0], versions[1]);
-+ else
-+ pulsedir = g_strdup_printf ("pulse-%d.%d", PA_MAJOR, PA_MINOR);
-+ g_strfreev(versions);
-
- path = g_build_filename (MODLIBDIR, pulsedir, "modules", name, NULL);
- g_free (pulsedir);
---
-1.6.3.3
-
Deleted: paprefs.desktop
===================================================================
--- paprefs.desktop 2016-01-01 09:00:10 UTC (rev 257428)
+++ paprefs.desktop 2016-01-01 17:13:05 UTC (rev 257429)
@@ -1,13 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Name=PulseAudio Preferences
-Name[de]=PulseAudio-Einstellungen
-GenericName=Sound Server Preferences
-GenericName[de]=Audio-Dienst-Einstellungen
-Comment=View and modify the configuration of the local sound server
-Comment[de]=Anzeigen und Ändern der Konfiguration des lokalen Audio-Dienstes
-Exec=paprefs
-Icon=preferences-desktop
-StartupNotify=true
-Type=Application
-Categories=Settings;
More information about the arch-commits
mailing list