Package Details: pnglite 0.1.17-2

Git Clone URL: (read-only, click to copy)
Package Base: pnglite
Description: Lightweight PNG C library
Upstream URL:
Licenses: BSD
Submitter: heinrich5991
Maintainer: heinrich5991
Last Packager: heinrich5991
Votes: 4
Popularity: 0.000089
First Submitted: 2018-07-18 09:18 (UTC)
Last Updated: 2019-04-10 23:20 (UTC)

Latest Comments

rafaelff commented on 2022-07-10 17:02 (UTC) (edited on 2022-07-10 17:06 (UTC) by rafaelff)

namcap complains that the license file and the zlib dependency are missing:

pnglite E: Missing custom license directory (usr/share/licenses/pnglite)
pnglite E: Dependency zlib detected and not included (libraries ['usr/lib/'] needed in files ['usr/lib/'])

Please add zlib to depends array.

Regarding the missing license, I see pnglite.h has the text. How about extracting from it and putting in /usr/share/license/pnglite/LICENSE? Suggestion:

prepare() {
  sed -n '2,21p;22q;' pnglite.h | sed 's|^\t||' > LICENSE

package() {
  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/pnglite/LICENSE

You could using word patterns in sed instead:

sed -n '/Copyright/,/distribution/p' pnglite.h | sed 's|^\t||' > LICENSE

heinrich5991 commented on 2019-04-10 23:23 (UTC)

Done. Thank you for your suggested pkg-config file.

rafaelff commented on 2019-04-10 13:10 (UTC)

How about installing a pnglite.pc file to remove the pngline-not-found message in ddnet build output? See my suggestion of .pc file in