[PC-BSD Commits] r1356 - in pbibuild/modules/audacity: . overlay-dir
svn at pcbsd.org
svn at pcbsd.org
Tue Feb 12 08:40:19 PST 2008
Author: kris
Date: 2008-02-12 08:40:18 -0800 (Tue, 12 Feb 2008)
New Revision: 1356
Modified:
pbibuild/modules/audacity/overlay-dir/PBI.RemoveScript.sh
pbibuild/modules/audacity/overlay-dir/PBI.SetupScript.sh
pbibuild/modules/audacity/pbi.conf
Log:
Fixed up the audacity port to include encoding to MP3 files, and setup the
default profile to reflect this, along with a larger tmp directory for
file storage.
Modified: pbibuild/modules/audacity/overlay-dir/PBI.RemoveScript.sh
===================================================================
--- pbibuild/modules/audacity/overlay-dir/PBI.RemoveScript.sh 2008-02-12 02:16:56 UTC (rev 1355)
+++ pbibuild/modules/audacity/overlay-dir/PBI.RemoveScript.sh 2008-02-12 16:40:18 UTC (rev 1356)
@@ -23,7 +23,7 @@
if [ ! -z "$DISPLAY" ]
then
# Ask if we want to remove the user profiles
- kdialog --yesno "Do you want to remove Audacity user settings and temporal files?" --title "Remove user settings"
+ kdialog --yesno "Do you want to remove Audacity user settings and temp files?" --title "Remove user settings"
if [ "$?" = "0" ]
then
cd /home
@@ -31,7 +31,8 @@
do
if [ -e "/home/${i}/.audacity" ]
then
- rm -rf /home/${i}/.audacity
+ rm /home/${i}/.audacity
+ rm -rf /home/${i}/.audacity_temp 2>/dev/null >/dev/null
fi
done
fi
Modified: pbibuild/modules/audacity/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/audacity/overlay-dir/PBI.SetupScript.sh 2008-02-12 02:16:56 UTC (rev 1355)
+++ pbibuild/modules/audacity/overlay-dir/PBI.SetupScript.sh 2008-02-12 16:40:18 UTC (rev 1356)
@@ -29,4 +29,29 @@
cp /Programs/${PROGDIR}/locale/${i}/${LANGFILE} /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE}
done
+# Point audacity to the right lame library so the user doesn't have to
+#manually find it.
+
+cd /home
+for i in `ls`
+do
+ if [ ! -e "/home/${i}/.audacity" ]
+ then
+ echo "Version=1.2.4
+PrefsVersion=1.1.1r1
+[Directories]
+TempDir=/home/${i}/.audacity_temp/
+[MP3]
+MP3LibPath=/Programs/${PROGDIR}/autolibs/libmp3lame.so
+[Prefs]
+PrefsCategory=4" > /home/${i}/.audacity
+ chmod 644 /home/$i/.audacity
+ chown ${i}:${i} /home/${i}/.audacity
+
+ mkdir /home/${i}/.audacity_temp
+ chown ${i}:${i} /home/${i}/.audacity_temp
+ fi
+
+done
+
echo "LAUNCHCLOSE: /usr/local/bin/audacity"
Modified: pbibuild/modules/audacity/pbi.conf
===================================================================
--- pbibuild/modules/audacity/pbi.conf 2008-02-12 02:16:56 UTC (rev 1355)
+++ pbibuild/modules/audacity/pbi.conf 2008-02-12 16:40:18 UTC (rev 1356)
@@ -25,13 +25,13 @@
PBIUPDATE="http://update.pbidir.com"
# Other Ports we need built (One per line)
-OTHERPORT=""
+OTHERPORT="/usr/ports/audio/lame"
# Enter your custom make options here
MAKEOPTS=""
# Build Key - Change this to anything else to trigger a rebuild
# - The rebuild will take place even if port is still the same ver
-BUILDKEY="21"
+BUILDKEY="50"
export PBIPORT MAKEOPTS PROGNAME PROGWEB PROGAUTHOR OTHERPORT PROGICON PROGLIBS PBIUPDATE BUILDKEY
More information about the Commits
mailing list