packaging a closedsource game
Manuel A. Fernandez Montecelo
manuel.montezelo at gmail.com
Sun Nov 13 21:32:34 UTC 2016
Hi jsaak,
2016-11-09 10:42 GMT+01:00 jsaak <jsaak at napalm.hu>:
> Hello,
>
> I am trying to package a closedsource game for debian (and debian based
> distros).
> What is the correct way of declaring dependencies in the control file?
>
> This line works for now, but i am worried that the package name will be
> changed.
>
> Depends: libsdl2-2.0-0, libsdl2-image-2.0-0, libsdl2-mixer-2.0-0,
> libsdl2-net-2.0-0, libc6
You should declare a build-dependency on the -dev packages
(libsdl2-dev, libsdl2-net-dev, etc), and add this[1] to the binary
package depending on the share library, and the tools generating the
package should take care of the rest.
[1] "Depends: ${shlibs:Depends}, ..."
You can take a look at other packages like the game 7kaa to see how they do it.
> Why do you include -2.0-0 in the package names?
It comes from the SONAME/SOVERSION of the library, so we can better
handle transitions if the ABI of the library breaks.
Cheers.
--
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
More information about the Pkg-sdl-maintainers
mailing list