diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-08-09 23:39:44 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-08-09 23:40:36 -0400 |
commit | 29ad25a4c8811a87cf40bebd564630f461456c82 (patch) | |
tree | f2221171b85b994f80945651d7f3ee048facefdb /media-gfx/jpegoptim | |
parent | dev-libs/libxml2: add 2.11.5 (diff) | |
download | gentoo-29ad25a4c8811a87cf40bebd564630f461456c82.tar.gz gentoo-29ad25a4c8811a87cf40bebd564630f461456c82.tar.bz2 gentoo-29ad25a4c8811a87cf40bebd564630f461456c82.zip |
media-gfx/jpegoptim: add 1.5.5
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-gfx/jpegoptim')
-rw-r--r-- | media-gfx/jpegoptim/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/jpegoptim/jpegoptim-1.5.5.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/media-gfx/jpegoptim/Manifest b/media-gfx/jpegoptim/Manifest index 9dd331353fbf..e7feb6e5ddf0 100644 --- a/media-gfx/jpegoptim/Manifest +++ b/media-gfx/jpegoptim/Manifest @@ -1 +1,2 @@ DIST jpegoptim-1.5.4.tar.gz 124040 BLAKE2B 0109c6bf7a608f894aab8005988d6192df2d3fde1b2ae28892bd2d7734aafc26a40f6ad812c3829b227ecefdf9d0d9b88f5c4f54a96057628e973125c3c9f8a9 SHA512 0e177cd316e7f5590f79bbde356f580b1a4f3113a2cbeb884aefc5671ce964e622264e1df1edb43abbb87d4afb2e5962bd0d6964f6910fe257775c594ff882f2 +DIST jpegoptim-1.5.5.tar.gz 124361 BLAKE2B eb4cd150435c07df5116fbed653b378512ada96f4ebae65f08a4ccd9418ba71bcd6e369abb5713427c1ea8983432d4f94763252b580e657960154327f9f14d8f SHA512 81009e7079713aaa65fb8ef6d92b59eb6db16a460e8394cb3ce883228157f51ec0df0798d1a62d2e16c64678fd2a51a7156a9aa20b93e51343e3187657aefb4f diff --git a/media-gfx/jpegoptim/jpegoptim-1.5.5.ebuild b/media-gfx/jpegoptim/jpegoptim-1.5.5.ebuild new file mode 100644 index 000000000000..93c203d84af4 --- /dev/null +++ b/media-gfx/jpegoptim/jpegoptim-1.5.5.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Utility to optimize JPEG files" +HOMEPAGE="https://www.kokkonen.net/tjko/projects.html" +SRC_URI="https://github.com/tjko/jpegoptim/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +# TODO: switch back to this if tarballs become available in a timely fashion +#SRC_URI="https://www.kokkonen.net/tjko/src/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + +RDEPEND="media-libs/libjpeg-turbo:=" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-1.5.3-system-libjpeg-libm.patch +) + +src_configure() { + local mycmakeargs=( + -DUSE_MOZJPEG=no + ) + + cmake_src_configure +} + +src_install() { + # lacks an install target with cmake + dobin "${BUILD_DIR}"/${PN} + doman ${PN}.1 + einstalldocs +} |