[ITP] jpegoptim

Federico Kircheis federico.kircheis@gmail.com
Fri Dec 20 14:56:00 GMT 2019


Hello to everyone,

I'm interested in becoming a package maintainer for the program jpegoptim.
(see https://github.com/tjko/jpegoptim)

It would be a new package for the cygwin distribution, but it is already
distributed on different systems, like Arch, Debian, Fedora, openSUSE,
Gentoo and many others, including BSD and Mac OS (more information can
be found here: https://packages.debian.org/sid/jpegoptim, 
https://packages.gentoo.org/packages/media-gfx/jpegoptim, 
https://software.opensuse.org/package/jpegoptim, 
https://pkgs.org/download/jpegoptim).


Currently there is an unofficial x64 Windows port at 
https://github.com/XhmikosR/jpegoptim-windows/.

The current latest release can be downloaded from 
https://github.com/tjko/jpegoptim/archive/RELEASE.1.4.6.tar.gz


.hint and .cygport files are attached


Best regards

Federico Kircheis

-------------- next part --------------
# jpegoptim.hint
sdesc: "utility to optimize jpeg files"
ldesc: "Provides lossless optimization (based on optimizing the Huffman tables) and "lossy" optimization based on setting maximum quality factor."
category: Graphics
-------------- next part --------------
# jpegoptim.cygport
NAME="jpegoptim"
VERSION=1.4.6
RELEASE=1
SUMMARY="utility to optimize jpeg files"
DESCRIPTION="Provides lossless optimization (based on optimizing the Huffman tables) and "lossy" optimization based on setting maximum quality factor."
CATEGORY="Graphics"

HOMEPAGE="https://www.kokkonen.net/tjko/projects.html"
SRC_URI="https://github.com/tjko/jpegoptim/archive/RELEASE.${VERSION}.tar.gz"
SRC_DIR="jpegoptim-RELEASE.${VERSION}"

DEPEND="libjpeg-devel"
REQUIRES="libjpeg8"

PKG_NAMES="jpegoptim"

src_compile() {
	lndirs
	cd ${B}
	cygconf --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info
	cygmake CC="${CC}" CXX="${CXX}" AR="${AR}" RANLIB="${RANLIB}" STRIP=/usr/bin/true
}


More information about the Cygwin-apps mailing list