[Lunar-commits] <moonbase> pacpl: adding this module, able to add service menus to konqueror,

Dennis 'stumbles' Veatch stumbles at lunar-linux.org
Sun May 31 20:40:33 CEST 2009


commit f21fbb51481ddc1f6832f80e249d3a12a2c6c674
Author: Dennis 'stumbles' Veatch <stumbles at lunar-linux.org>
Date:   Sun May 31 14:40:33 2009 -0400

    pacpl: adding this module, able to add service menus to konqueror,
    
    dolphin, and amarok4.
---
 audio/pacpl/BUILD     |   32 ++++++++++++++++++++++++++++++++
 audio/pacpl/CONFIGURE |    3 +++
 audio/pacpl/DEPENDS   |   12 ++++++++++++
 audio/pacpl/DETAILS   |   22 ++++++++++++++++++++++
 4 files changed, 69 insertions(+), 0 deletions(-)

diff --git a/audio/pacpl/BUILD b/audio/pacpl/BUILD
new file mode 100644
index 0000000..4993cd8
--- /dev/null
+++ b/audio/pacpl/BUILD
@@ -0,0 +1,32 @@
+(
+
+  if in_depends $MODULE kdebase4 && [ "$DOLPHIN" == "y" ] ; then 
+    . /etc/profile.d/qt4.rc
+    . /etc/profile.d/kde4.rc
+  fi &&
+
+  if in_depends $MODULE kdebase4 && [ "$KONQPLUG" == "y" ] ; then
+    . /etc/profile.d/qt4.rc
+    . /etc/profile.d/kde4.rc
+  fi &&
+
+  if in_depends $MODULE kdebase4 && [ "$AMAROK4" == "y" ] ; then
+    . /etc/profile.d/qt4.rc
+    . /etc/profile.d/kde4.rc
+  fi &&
+
+  default_build &&
+
+  if [ "$DOLPHIN" == "y" ] ; then
+    install plugins/dolphin/pacpl.desktop $MODULE_PREFIX/share/kde4/services/ServiceMenus/
+  fi &&
+
+  if [ "$KONQPLUG" == "y" ] ; then
+    install plugins/konqueror/pacpl.desktop $MODULE_PREFIX/share/kde4/services/ServiceMenus/
+  fi &&
+
+  if [ "$AMAROK4" == "y" ] ; then
+    install plugins/amarok/pacx $MODULE_PREFIX/share/apps/amarok/scripts/
+  fi 
+
+) > $C_FIFO 2>&1
diff --git a/audio/pacpl/CONFIGURE b/audio/pacpl/CONFIGURE
new file mode 100644
index 0000000..e14b701
--- /dev/null
+++ b/audio/pacpl/CONFIGURE
@@ -0,0 +1,3 @@
+mquery DOLPHIN  "Enable KDE4 Dolphin plugin support?"   y "--with-dolphin --with-d3lphin" "--without-dolphin --without-d3lphin"
+mquery KONQPLUG "Enable KDE4 Konqueror plugin support?" y "--with-konq" "--without-konq"
+mquery AMAROK4  "Enable Amarok4 plugin support?"        y "--with-amarok" "--without-amarok"
diff --git a/audio/pacpl/DEPENDS b/audio/pacpl/DEPENDS
new file mode 100644
index 0000000..2359959
--- /dev/null
+++ b/audio/pacpl/DEPENDS
@@ -0,0 +1,12 @@
+depends  perl
+depends  Getopt-Long
+depends  CDDB_get
+depends  Ogg-Vorbis-Header
+depends  Audio-Musepack
+depends  Audio-WMA
+depends  MP3-Info
+depends  MP4-Info
+
+optional_depends bladeenc "" "" "for MP3 encoder support"
+optional_depends kdebase4 "" "" "for kde4 konqueror/dolphin plugin support"
+optional_depends amarok4  "" "" "for amaork4 plugin support"
diff --git a/audio/pacpl/DETAILS b/audio/pacpl/DETAILS
new file mode 100644
index 0000000..9e14df7
--- /dev/null
+++ b/audio/pacpl/DETAILS
@@ -0,0 +1,22 @@
+          MODULE=pacpl
+         VERSION=4.0.5
+          SOURCE=$MODULE-$VERSION.tar.bz2
+   SOURCE_URL[0]=$SFORGE_URL/pacpl/
+      SOURCE_VFY=sha1:83f15e1ff493e399f859d77dee54bc712b4c0742
+   MODULE_PREFIX=${KDE4_INSTALL_DIR:-/opt/lunar/kde/4}
+        WEB_SITE=http://pacpl.sourceforge.net/
+         ENTERED=20090531
+         UPDATED=20090531
+           SHORT="Perl Audio Converter"
+cat << EOF
+Perl Audio Converter is a tool for converting multiple audio types from one 
+format to another. It supports AAC, AC3, AIFF, APE, AU, AVR, BONK, CAF, CDR, 
+FAP, FLA, FLAC, IRCAM, LA, LPAC, M4A, MAT, MAT4, MAT5, MMF, MP2, MP3, MP4, 
+MPC, MPP, NIST, OFR, OFS, OGG, PAC, PAF, PVF, RA, RAM, RAW, SD2, SF, SHN, SMP,
+SND, SPX, TTA, VOC, W64, WAV, WMA, and WV. It can also convert audio from the
+following video formats: RM, RV, ASF, DivX, MPG, MKV, MPEG, AVI, MOV, OGM, QT,
+VCD, SVCD, M4V, NSV, NUV, PSP, SMK, VOB, FLV, and WMV. A CD ripping function 
+with CDDB support, batch conversion, tag preservation for most supported 
+formats, independent tag reading/writing, and extensions for Amarok, Dolphin,
+and Konqueror are also provided. 
+EOF


More information about the Lunar-commits mailing list