ryandesign at macports.org
Tue Jun 19 19:42:46 PDT 2012
On Jun 19, 2012, at 20:10, Craig Treleaven wrote:
> I've been meaning to ask if it is possible to incorporate Firewire support (via Apple's Firewire SDK) into my port.
> Is there any way to make the AVCVideoServices.framework a dependency in my port? The SDK Readme.rtfd mentions:
>> This SDK is for developer use only. It may not be redistributed by any means in whole or in part; Customers should not be directed to install the SDK.
> Myth's configure will enable Firewire support if it finds the framework. Will I have to direct folks to go to Apple Developer Connection and download it?
Presumably most users will not already have this SDK installed, so it would be prohibitive to make the port require it. If the feature is useful, you could make e.g. a firewire variant. In that variant, test for the existence of a file installed by the SDK. If not present, error out and tell the user where to go to download the framework.
Also, if that firewire variant is not selected, then the port must not build with firewire support, even if the SDK is present.
More information about the macports-dev