aboutsummaryrefslogtreecommitdiff
path: root/audio/paprefs
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-01-10 23:18:50 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-01-10 23:18:50 +0000
commit747beab82d6c2dcb1e2b7c1c4892be420f1c5785 (patch)
treebdb7c68e7f52eb4f0744ac8e319aea22b50c3506 /audio/paprefs
parent2daca16233ec2840526d0ecde75e03f817fdc1c7 (diff)
downloadports-747beab82d6c2dcb1e2b7c1c4892be420f1c5785.tar.gz
ports-747beab82d6c2dcb1e2b7c1c4892be420f1c5785.zip
Notes
Diffstat (limited to 'audio/paprefs')
-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