Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

binary Target. #80

Open
wibed opened this issue Dec 29, 2024 · 1 comment
Open

binary Target. #80

wibed opened this issue Dec 29, 2024 · 1 comment

Comments

@wibed
Copy link

wibed commented Dec 29, 2024

#41

i would like to include ffmpeg as a binary target. not unlike the libraries in the aforementioned pr.
here is a representative plist.

i would be willing to provide a build script to generate the necessary files once i know how they have to be formatted.
including the modulemaps. (i wonder how one could link given the nested dependency.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <!-- General Metadata -->
    <key>CFBundleName</key>
    <string>FFmpeg</string>
    <key>CFBundleVersion</key>
    <string>4.4</string>
    <key>CFBundleExecutable</key>
    <string>ffmpeg</string>
    <key>CFBundleIdentifier</key>
    <string>com.example.FFmpeg</string>

    <!-- Description of the Top-Level Executable -->
    <key>Executable</key>
    <dict>
        <key>Name</key>
        <string>ffmpeg</string>
        <key>Path</key>
        <string>./ffmpeg</string>
        <key>Description</key>
        <string>FFmpeg command-line tool for multimedia processing.</string>
    </dict>

    <!-- Available Libraries -->
    <key>AvailableLibraries</key>
    <array>
        <dict>
            <key>Name</key>
            <string>libavcodec</string>
            <key>Version</key>
            <string>58.91.100</string>
            <key>Path</key>
            <string>Libraries/libavcodec.dylib</string>
            <key>Description</key>
            <string>FFmpeg library for encoding/decoding multimedia streams.</string>
        </dict>
        <dict>
            <key>Name</key>
            <string>libavformat</string>
            <key>Version</key>
            <string>58.45.100</string>
            <key>Path</key>
            <string>Libraries/libavformat.dylib</string>
            <key>Description</key>
            <string>FFmpeg library for handling multimedia container formats.</string>
        </dict>
        <dict>
            <key>Name</key>
            <string>libswscale</string>
            <key>Version</key>
            <string>5.7.100</string>
            <key>Path</key>
            <string>Libraries/libswscale.dylib</string>
            <key>Description</key>
            <string>FFmpeg library for scaling, conversion, and format handling.</string>
        </dict>
    </array>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant