Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
412ee17b by Alexandre Janniaux at 2026-02-02T09:01:39+01:00
apple: xcodegen: install share data via xcode

Install share/ data from VLC into the resource[^1] path of the
application, so that share/ from VLC are also available when building
vlccoreios test driver.

[^1]: 
https://developer.apple.com/documentation/xcode/build-settings-reference#UNLOCALIZEDRESOURCESFOLDERPATH

- - - - -


1 changed file:

- extras/package/apple/xcodegen.yml


Changes:

=====================================
extras/package/apple/xcodegen.yml
=====================================
@@ -47,6 +47,18 @@ targets:
       - script: ${VLC_SRC_DIR}/extras/package/apple/copy_plugins.sh
         name: "Copy VLC plugins"
 
+      - name: Install VLC share data
+        shell: /bin/bash
+        script: |
+            set -e
+            archs=(${ARCHS})
+            arch="${archs[0]}"
+            
build_root="${BUILT_PRODUCTS_DIR}/build-${PLATFORM_NAME}-${arch}${BUILD_SUFFIX}/build"
+            make -C "${build_root}/share" install-data \
+                
DESTDIR="${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" \
+                prefix=/ \
+                datadir=/share
+
       - name: Copy vlccoreios binary
         shell: /bin/bash
         script: |



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/412ee17be37f936b2108bef1c33b9db75db9d483

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/412ee17be37f936b2108bef1c33b9db75db9d483
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to