contrib/.contrib:\r
@$(MAKE) --no-print-directory -C contrib all\r
\r
-snapshot-app: contrib/.contrib libhb/hbversion.h\r
+snapshot-app: contrib/.contrib unstable-libhb/hbversion.h\r
( cd macosx ; xcodebuild -target libhb -target HandBrake -target HandBrakeCLI -configuration Deployment HB_BUILD="$(SNAP_HB_BUILD)" HB_VERSION="$(SNAP_HB_VERSION)" CURRENT_PROJECT_VERSION="$(SNAP_HB_VERSION)" APPCAST_URL="http://handbrake.fr/appcast_unstable.xml" build | sed '/^$$/d' )\r
\r
app-chunky: libhb/hbversion.h\r
echo "#define HB_VERSION \"$(HB_VERSION)\"" >> libhb/hbversion.h\r
echo "#endif" >> libhb/hbversion.h\r
echo "#ifndef HB_APPCAST_URL" >> libhb/hbversion.h\r
- echo "#define APPCAST_URL \"$(APPCAST_URL)\"" >> libhb/hbversion.h\r
+ echo "#define APPCAST_URL \"http://handbrake.fr/appcast.xml\"" >> libhb/hbversion.h\r
+ echo "#endif" >> libhb/hbversion.h\r
+\r
+unstable-libhb/hbversion.h:\r
+ echo "#ifndef HB_BUILD" > libhb/hbversion.h\r
+ echo "#define HB_BUILD $(SNAP_HB_BUILD)" >> libhb/hbversion.h\r
+ echo "#endif" >> libhb/hbversion.h\r
+ echo "#ifndef HB_VERSION" >> libhb/hbversion.h\r
+ echo "#define HB_VERSION \"$(SNAP_HB_VERSION)\"" >> libhb/hbversion.h\r
+ echo "#endif" >> libhb/hbversion.h\r
+ echo "#ifndef HB_APPCAST_URL" >> libhb/hbversion.h\r
+ echo "#define APPCAST_URL \"http://handbrake.fr/appcast_unstable.xml\"" >> libhb/hbversion.h\r
echo "#endif" >> libhb/hbversion.h\r