philippe_44 wrote:
> My own port of another of my plugins to FreeBSD needed that on the
> detect. Not saying it's better, but are you sure in your case that
> 'osArch' is amd64-freebsd' ?
>
> >
Code:
--------------------
> >
> if ($os->{'os'} eq 'Unix') {
>
> if ($os->{'osName'} =~ /freebsd/) {
> return qw( squeeze2upnp-bsd-x64
squeeze2upnp-bsd-x64-static);
> }
>
> }
>
--------------------
> >
>
> But also remember that you need a lot of other Perl binaries (see the
> lib/ directory in the plugin's directory) for the Perl part to do
> Pairing with ATV
>
> An ultimately, you'd need to provide a log here
Thanks for the quick reply.
I did try freebsd and it didn't work. But I just found the issue, my if
was below
Code:
--------------------
if ($os->{'os'} eq 'Linux') {
--------------------
which wasn't going to work. All good now with the code above put at the
end of the binaries sub.
Let me know if you want to incorporate the changes for FreeBSD support
and I'll do a merge request.
------------------------------------------------------------------------
ecarjat's Profile: http://forums.slimdevices.com/member.php?userid=70198
View this thread: http://forums.slimdevices.com/showthread.php?t=105198
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins