فهرست منبع

VLCKit: fixed typo which prevented the creation of re-distributable bundles and added the libvlc headers to the project file (not distributed in any target)

Felix Paul Kühne 15 سال پیش
والد
کامیت
510e0cf106
2فایلهای تغییر یافته به همراه34 افزوده شده و 2 حذف شده
  1. 2 2
      Pre-Compile.sh
  2. 32 0
      VLCKit.xcodeproj/project.pbxproj

+ 2 - 2
Pre-Compile.sh

@@ -72,7 +72,7 @@ vlc_install_object() {
     local destination_name=${5}
     local suffix=${6}
 
-    if [ $type = "lib" ]; then
+    if [ $type = "library" ]; then
         local install_name="@loader_path/lib"
     elif [ $type = "module" ]; then
         local install_name="@loader_path/plugins"
@@ -109,7 +109,7 @@ vlc_install_object() {
         # Update the dynamic library so it will know where to look for the other libraries
         echo "Installing ${type} `basename ${lib_dest}`"
 
-        if [ "${type}" = "lib" ]; then
+        if [ "${type}" = "library" ]; then
             # Change the reference of libvlc.1 stored in the usr directory to libvlc.dylib in the framework's library directory
             install_name_tool -id "${install_name}/${lib_name}" ${lib_dest} > /dev/null
         fi

+ 32 - 0
VLCKit.xcodeproj/project.pbxproj

@@ -182,6 +182,18 @@
 		8DC2EF5B0486A6940098B216 /* VLCKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = VLCKit.framework; sourceTree = BUILT_PRODUCTS_DIR; };
 		A7A0CEA20D2EF13000F2C039 /* VLCVideoCommon.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = VLCVideoCommon.h; path = Internal/VLCVideoCommon.h; sourceTree = "<group>"; };
 		A7A0CEA30D2EF13000F2C039 /* VLCVideoCommon.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VLCVideoCommon.m; sourceTree = "<group>"; };
+		CCEC5B73114D9BE800D34AAB /* deprecated.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = deprecated.h; path = ../../../include/vlc/deprecated.h; sourceTree = SOURCE_ROOT; };
+		CCEC5B74114D9BE800D34AAB /* libvlc_events.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = libvlc_events.h; path = ../../../include/vlc/libvlc_events.h; sourceTree = SOURCE_ROOT; };
+		CCEC5B75114D9BE800D34AAB /* libvlc_media_discoverer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = libvlc_media_discoverer.h; path = ../../../include/vlc/libvlc_media_discoverer.h; sourceTree = SOURCE_ROOT; };
+		CCEC5B76114D9BE800D34AAB /* libvlc_media_library.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = libvlc_media_library.h; path = ../../../include/vlc/libvlc_media_library.h; sourceTree = SOURCE_ROOT; };
+		CCEC5B77114D9BE800D34AAB /* libvlc_media_list_player.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = libvlc_media_list_player.h; path = ../../../include/vlc/libvlc_media_list_player.h; sourceTree = SOURCE_ROOT; };
+		CCEC5B78114D9BE800D34AAB /* libvlc_media_list.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = libvlc_media_list.h; path = ../../../include/vlc/libvlc_media_list.h; sourceTree = SOURCE_ROOT; };
+		CCEC5B79114D9BE800D34AAB /* libvlc_media_player.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = libvlc_media_player.h; path = ../../../include/vlc/libvlc_media_player.h; sourceTree = SOURCE_ROOT; };
+		CCEC5B7A114D9BE800D34AAB /* libvlc_media.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = libvlc_media.h; path = ../../../include/vlc/libvlc_media.h; sourceTree = SOURCE_ROOT; };
+		CCEC5B7B114D9BE800D34AAB /* libvlc_structures.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = libvlc_structures.h; path = ../../../include/vlc/libvlc_structures.h; sourceTree = SOURCE_ROOT; };
+		CCEC5B7C114D9BE800D34AAB /* libvlc_vlm.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = libvlc_vlm.h; path = ../../../include/vlc/libvlc_vlm.h; sourceTree = SOURCE_ROOT; };
+		CCEC5B7D114D9BE800D34AAB /* libvlc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = libvlc.h; path = ../../../include/vlc/libvlc.h; sourceTree = SOURCE_ROOT; };
+		CCEC5B7E114D9BE800D34AAB /* vlc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = vlc.h; path = ../../../include/vlc/vlc.h; sourceTree = SOURCE_ROOT; };
 		D2F7E79907B2D74100F64583 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = "<absolute>"; };
 		EF73118E0CB5797B009473B4 /* VLCAudio.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = VLCAudio.h; path = Public/VLCAudio.h; sourceTree = "<group>"; };
 		EF73118F0CB5797B009473B4 /* VLCAudio.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VLCAudio.m; sourceTree = "<group>"; };
@@ -337,6 +349,25 @@
 			name = Internal;
 			sourceTree = "<group>";
 		};
+		CCEC5B6C114D9BD300D34AAB /* libvlc (not distributed) */ = {
+			isa = PBXGroup;
+			children = (
+				CCEC5B73114D9BE800D34AAB /* deprecated.h */,
+				CCEC5B74114D9BE800D34AAB /* libvlc_events.h */,
+				CCEC5B75114D9BE800D34AAB /* libvlc_media_discoverer.h */,
+				CCEC5B76114D9BE800D34AAB /* libvlc_media_library.h */,
+				CCEC5B77114D9BE800D34AAB /* libvlc_media_list_player.h */,
+				CCEC5B78114D9BE800D34AAB /* libvlc_media_list.h */,
+				CCEC5B79114D9BE800D34AAB /* libvlc_media_player.h */,
+				CCEC5B7A114D9BE800D34AAB /* libvlc_media.h */,
+				CCEC5B7B114D9BE800D34AAB /* libvlc_structures.h */,
+				CCEC5B7C114D9BE800D34AAB /* libvlc_vlm.h */,
+				CCEC5B7D114D9BE800D34AAB /* libvlc.h */,
+				CCEC5B7E114D9BE800D34AAB /* vlc.h */,
+			);
+			name = "libvlc (not distributed)";
+			sourceTree = "<group>";
+		};
 		EF53DD5F0CBD7BD100D3D4D0 /* Linked Libraries */ = {
 			isa = PBXGroup;
 			children = (
@@ -369,6 +400,7 @@
 		EF78BD3B0CAEEFD000354E6E /* Headers */ = {
 			isa = PBXGroup;
 			children = (
+				CCEC5B6C114D9BD300D34AAB /* libvlc (not distributed) */,
 				637CFB960D2D281900A041B6 /* Internal */,
 				EF6BC9110DA1932F00DD37EF /* Public */,
 			);