Opened 12 years ago

Last modified 12 years ago

#34797 new submission

libspotify @12.1.45 New port

Reported by: brandon@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: libspotify

Description

New Portfile for libspotify, a precompiled C library that is required by the Spotify API. Terms of use may prove tricky. Homebrew has a libspotify formula, but they do not distribute binary packages. This should be fine to distribute as a Portfile but the license may prevent distribution of a binary package. I was unable in my research to uncover a method to indicate in the Portfile not to package for distribution. Does such a method exist? I would be happy to add it.

Attachments (1)

Portfile (2.3 KB) - added by brandon@… 12 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 12 years ago by neverpanic (Clemens Lang)

Port: libspotify added

The license should not contain an URL, but a keyword allowing the MacPorts buildbot to determine, whether it should distribute binaries of a given port. In your case, since we probably can't re-distribute libspotify in binary form and the library doesn't allow commercial use this should probably be "{Restricted Noncommercial}". Also since we're probably not allowed to re-distribute (and thus mirror) the download either, an exception to the mirroring must be manually added by our admin before commiting this.

Changed 12 years ago by brandon@…

Attachment: Portfile added

comment:2 Changed 12 years ago by brandon@…

Thanks! That's exactly the info I was looking for. It looks like the section of the Portfile reference on licenses doesn't mention any valid examples of a license other than the GPL. I've attached a revised Portfile with the license set correctly.

Cheers,

Brandon

comment:3 Changed 12 years ago by brandon@…

Any chance of having this port added since I have updated the license?

Thanks,

Brandon

comment:4 Changed 12 years ago by jmroot (Joshua Root)

Version: 2.1.1

Putting the licenses in braces indicates a choice, which appears to be not the case here. But TBH I'm not sure we want to offer a port for something so restrictively licensed that we can't even mirror it.

Note: See TracTickets for help on using tickets.