X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=Jamrules;h=490aa870cf3c56b0c4af53ed32fa9d9bf7774b69;hb=07cc0ebf6a7141a76fd9b6e2da6cf510def1ebc7;hp=21254591ce50cb1e10f7591c5dde5a53d14295bb;hpb=785a9044526226179fdf6cf1e843147fb64aad8d;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/Jamrules b/Jamrules index 21254591..490aa870 100644 --- a/Jamrules +++ b/Jamrules @@ -1,7 +1,7 @@ # $Id: Jamrules,v 1.59 2005/11/04 16:06:21 titer Exp $ # # This file is part of the HandBrake source code. -# Homepage: . +# Homepage: . # It may be used under the terms of the GNU General Public License. include config.jam ; @@ -19,12 +19,14 @@ HB_VERSION = 0.9.3 ; # the svn revision and are marked as unstable. if $(SNAPSHOT) = 1 { -HB_VERSION = "$(HB_VERSION)svn$(SVN_REV)" ; +HB_VERSION = "svn$(SVN_REV)" ; HB_BUILD = "$(BUILD_DATE)01" ; +APPCAST_URL = "http://handbrake.fr/appcast_unstable.xml" ; } else { HB_BUILD = "$(BUILD_DATE)00" ; +APPCAST_URL = "http://handbrake.fr/appcast.xml" ; } DEFINES += HB_VERSION=\\\"$(HB_VERSION)\\\" HB_BUILD=$(HB_BUILD) ; @@ -45,11 +47,7 @@ actions OSXApp { $(RM) $(<) macosx/build/HandBrake.app && \ ( cd macosx && \ - defaults write "$(FULL_PATH)"/macosx/HandBrake CFBundleGetInfoString '"$(HB_VERSION)"' &&\ - defaults write "$(FULL_PATH)"/macosx/HandBrake CFBundleShortVersionString '"$(HB_VERSION)"' &&\ - defaults write "$(FULL_PATH)"/macosx/HandBrake CFBundleVersion '"$(HB_BUILD)"' &&\ - plutil -convert xml1 "$(FULL_PATH)"/macosx/HandBrake.plist &&\ - xcodebuild OTHER_CFLAGS_QUOTED_1="-g -HB_BUILD="$(HB_BUILD)" -HB_VERSION=\\\"$(HB_VERSION)\\\" -DHB_BUILD="$(HB_BUILD)" -DHB_VERSION=\\\"$(HB_VERSION)\\\" -CURRENT_PROJECT_VERSION=\\\"$(HB_VERSION)\\\" " -target libhb -target HandBrake -target HandBrakeCLI ) && \ + xcodebuild HB_BUILD="$(HB_BUILD)" HB_VERSION="$(HB_VERSION)" APPCAST_URL="$(APPCAST_URL)" -target libhb -target HandBrake -target HandBrakeCLI ) && \ for i in $(LANGUAGES) ; do \ ( cd $(<)/Contents/Resources && \ cp -r English.lproj $i.lproj && \ @@ -70,13 +68,13 @@ actions OSXPackage cp CREDITS "HandBrake $(HB_VERSION)/CREDITS.txt" && \ cp THANKS "HandBrake $(HB_VERSION)/THANKS.txt" && \ ( echo "[InternetShortcut]" && \ - echo "URL=http://handbrake.m0k.org/" ) > \ + echo "URL=http://handbrake.fr/" ) > \ "HandBrake $(HB_VERSION)/HandBrake Homepage.url" && \ ( echo "[InternetShortcut]" && \ - echo "URL=http://handbrake.m0k.org/forum/" ) > \ + echo "URL=http://forum.handbrake,fr/" ) > \ "HandBrake $(HB_VERSION)/HandBrake Forums.url" && \ ( echo "[InternetShortcut]" && \ - echo "URL=http://handbrake.m0k.org/contribute.php" ) > \ + echo "URL=http://handbrake.fr/?article=development" ) > \ "HandBrake $(HB_VERSION)/Contribute.url" && \ cp -r HandBrake.app "HandBrake $(HB_VERSION)" && \ zip -9 -r $(<) "HandBrake $(HB_VERSION)" && \