aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-01-11 07:18:50 +0800
committermiwi <miwi@FreeBSD.org>2008-01-11 07:18:50 +0800
commit67c23a57371bb65bf13eb64c2c0fbf37cc25b794 (patch)
treedddf80e198a7dd9d1c1e61e8cb04403655890d68 /audio
parent26b0b4f1112338a7c216dcc370677765489987b9 (diff)
downloadfreebsd-ports-gnome-67c23a57371bb65bf13eb64c2c0fbf37cc25b794.tar.gz
freebsd-ports-gnome-67c23a57371bb65bf13eb64c2c0fbf37cc25b794.tar.zst
freebsd-ports-gnome-67c23a57371bb65bf13eb64c2c0fbf37cc25b794.zip
- Update to 0.9.6
PR: 119343 Submitted by: Romain Tartiere <romain@blogreen.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/paprefs/Makefile11
-rw-r--r--audio/paprefs/distinfo6
-rw-r--r--audio/paprefs/files/patch-src_paprefs.cc13
-rw-r--r--audio/paprefs/pkg-plist3
4 files changed, 29 insertions, 4 deletions
diff --git a/audio/paprefs/Makefile b/audio/paprefs/Makefile
index c49ea9ffc6d2..92f928f3edb1 100644
--- a/audio/paprefs/Makefile
+++ b/audio/paprefs/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= paprefs
-PORTVERSION= 0.9.5
+PORTVERSION= 0.9.6
CATEGORIES= audio
MASTER_SITES= http://0pointer.de/lennart/projects/${PORTNAME}/
@@ -18,7 +18,16 @@ LIB_DEPENDS= glademm-2.4.1:${PORTSDIR}/devel/libglademm24 \
GNU_CONFIGURE= yes
USE_GMAKE= yes
+USE_GNOME= gnomeprefix gnomehack intltool
CONFIGURE_ARGS= --disable-lynx
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
.include <bsd.port.mk>
diff --git a/audio/paprefs/distinfo b/audio/paprefs/distinfo
index ac77a8ca403c..d27d2722a1b1 100644
--- a/audio/paprefs/distinfo
+++ b/audio/paprefs/distinfo
@@ -1,3 +1,3 @@
-MD5 (paprefs-0.9.5.tar.gz) = 3c7688657415618996344f475cde2442
-SHA256 (paprefs-0.9.5.tar.gz) = afef8ecadcf81101ccc198589f8e8aadb0b7ec942703e69544613d6801c1c728
-SIZE (paprefs-0.9.5.tar.gz) = 88369
+MD5 (paprefs-0.9.6.tar.gz) = de5474d17aad63b40855a8815018cdf8
+SHA256 (paprefs-0.9.6.tar.gz) = f458a468f007fd797a980533a43c4bc4e7a01d20505f86dce333fa86daaab99b
+SIZE (paprefs-0.9.6.tar.gz) = 202109
diff --git a/audio/paprefs/files/patch-src_paprefs.cc b/audio/paprefs/files/patch-src_paprefs.cc
new file mode 100644
index 000000000000..a7057000ac10
--- /dev/null
+++ b/audio/paprefs/files/patch-src_paprefs.cc
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- src/paprefs.cc.orig
++++ src/paprefs.cc
+@@ -28,6 +28,7 @@
+ #include <gtkmm.h>
+ #include <libglademm.h>
+ #include <gconfmm.h>
++#include <libintl.h>
+
+ #define PA_GCONF_ROOT "/system/pulseaudio"
+ #define PA_GCONF_PATH_MODULES PA_GCONF_ROOT"/modules"
diff --git a/audio/paprefs/pkg-plist b/audio/paprefs/pkg-plist
index 504282902a75..a0cb8b592c3a 100644
--- a/audio/paprefs/pkg-plist
+++ b/audio/paprefs/pkg-plist
@@ -1,5 +1,8 @@
bin/paprefs
share/applications/paprefs.desktop
%%DATADIR%%/paprefs.glade
+share/locale/de/LC_MESSAGES/paprefs.mo
@dirrm %%DATADIR%%
+@dirrmtry share/locale/de/LC_MESSAGES
+@dirrmtry share/locale/de
@dirrmtry share/applications