From 41bbaf5a62958473e5cda79cedbcb29d8576ce11 Mon Sep 17 00:00:00 2001 From: prigaux Date: Thu, 22 Feb 2007 10:25:30 +0000 Subject: [PATCH] Integration of libquicktime into the Bundle and create a plugin folder to be used by the CLI, new mac contrib package. git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/0.8.0_beta2_5.1@391 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- MacOsXContribBinariesVersion.txt | 2 +- Makefile | 2 +- macosx/localize.sh | 16 +++++++++++----- test/Makefile | 1 + 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/MacOsXContribBinariesVersion.txt b/MacOsXContribBinariesVersion.txt index be15c71fd..4cb162b6e 100644 --- a/MacOsXContribBinariesVersion.txt +++ b/MacOsXContribBinariesVersion.txt @@ -1 +1 @@ -0008 +0009 diff --git a/Makefile b/Makefile index 5f50dec21..6329509c1 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ ifeq ($(SYSTEM),Darwin) all: clean app app: - (./DownloadMacOsXContribBinaries.sh ; cd macosx ; xcodebuild -alltargets -configuration UB OTHER_CFLAGS_QUOTED_1="-DHB_VERSION=\\\"$(MF_VERSION)\\\" -DHB_BUILD=$(MF_BUILD) " build | sed '/^$$/d' ; cd .. ; ./macosx/localize.sh MediaFork.app $(MF_VERSION) $(MF_BUILD)) + (./DownloadMacOsXContribBinaries.sh ; cd macosx ; xcodebuild -alltargets -configuration UB OTHER_CFLAGS_QUOTED_1="-DHB_VERSION=\\\"$(MF_VERSION)\\\" -DHB_BUILD=$(MF_BUILD) " build | sed '/^$$/d' ; cd .. ; ./macosx/localize.sh MediaFork.app $(MF_VERSION) $(MF_BUILD)) ; rm -rf plugins ; mkdir plugins ; cp contrib/lib/libquicktime/* plugins clean: (cd macosx ; xcodebuild -alltargets -configuration UB clean | sed '/^$$/d' ) diff --git a/macosx/localize.sh b/macosx/localize.sh index 3fb37b2a3..92f157fca 100755 --- a/macosx/localize.sh +++ b/macosx/localize.sh @@ -18,19 +18,19 @@ echo " CFBundleDevelopmentRegion English CFBundleDisplayName - MediaFork + HandBrake CFBundleExecutable - MediaFork + HandBrake CFBundleGetInfoString 0.8.0b1 CFBundleIconFile - MediaFork + HandBrake CFBundleIdentifier org.mediafork.dynalias CFBundleInfoDictionaryVersion 6.0 CFBundleName - MediaFork + HandBrake CFBundlePackageType APPL CFBundleShortVersionString @@ -40,7 +40,7 @@ echo " CFBundleVersion $3 NSHumanReadableCopyright - MediaFork Devs + HandBrake Devs NSMainNibFile MainMenu NSPrincipalClass @@ -48,3 +48,9 @@ echo " " > Info.plist +echo Installing libquicktime Plugins in the $1 Bundle +cd Resources +mkdir plugins +cd plugins +cp ../../../../contrib/lib/libquicktime/* . + diff --git a/test/Makefile b/test/Makefile index 4bc9c0067..5e62d208d 100644 --- a/test/Makefile +++ b/test/Makefile @@ -19,6 +19,7 @@ LDFLAGS += $(LIBS2) @echo "Link MediaForkCLI" @CMD="g++ $(CXXFLAGS) -o ../MediaForkCLI test.o $(LDFLAGS) -lz -lpthread"; $$CMD || \ ( echo "Compile line for $@ was:"; echo $$CMD; false ) + @CMD="rm -rf ../plugins ; mkdir ../plugins ; cp ../contrib/lib/libquicktime/* ../plugins"; $$CMD clean: -- 2.40.0