From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0869F15806E for ; Mon, 15 May 2023 15:11:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3212CE08FA; Mon, 15 May 2023 15:11:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 169D7E08FA for ; Mon, 15 May 2023 15:11:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 11D4E335D0F for ; Mon, 15 May 2023 15:11:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2DA34A5A for ; Mon, 15 May 2023 15:11:42 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1684163405.9bbea1c5321e2c75a2a0479555d3f93e772b6435.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/jpegoptim/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/jpegoptim/Manifest media-gfx/jpegoptim/jpegoptim-1.5.4.ebuild X-VCS-Directories: media-gfx/jpegoptim/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 9bbea1c5321e2c75a2a0479555d3f93e772b6435 X-VCS-Branch: master Date: Mon, 15 May 2023 15:11:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a7b7e401-428e-45b8-bdc2-be2dcd1e2566 X-Archives-Hash: a8d5492eaf8dc3e6f981c32bce51e2c3 commit: 9bbea1c5321e2c75a2a0479555d3f93e772b6435 Author: Ionen Wolkens gentoo org> AuthorDate: Mon May 15 15:06:34 2023 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Mon May 15 15:10:05 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bbea1c5 media-gfx/jpegoptim: add 1.5.4 Signed-off-by: Ionen Wolkens gentoo.org> media-gfx/jpegoptim/Manifest | 1 + media-gfx/jpegoptim/jpegoptim-1.5.4.ebuild | 38 ++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/media-gfx/jpegoptim/Manifest b/media-gfx/jpegoptim/Manifest index 6c2759353bc9..c1455f4eaac8 100644 --- a/media-gfx/jpegoptim/Manifest +++ b/media-gfx/jpegoptim/Manifest @@ -1 +1,2 @@ DIST jpegoptim-1.5.3.tar.gz 121006 BLAKE2B 8fd54eb3e08268b080efb1747f5090a5a21500cea695483f1c892f1848155d3afc7b40304390d903cd3d7433e7811a0a77caa0747108be6e2e7535e7d664d3de SHA512 2e198636a7028d1781a00efed881e77af1324cf1906838ead9ffbb027c085cd287b26c3207e8b4f53e2f53ecb4dd2c035101b345a241a472288ba175e27d9423 +DIST jpegoptim-1.5.4.tar.gz 124040 BLAKE2B 0109c6bf7a608f894aab8005988d6192df2d3fde1b2ae28892bd2d7734aafc26a40f6ad812c3829b227ecefdf9d0d9b88f5c4f54a96057628e973125c3c9f8a9 SHA512 0e177cd316e7f5590f79bbde356f580b1a4f3113a2cbeb884aefc5671ce964e622264e1df1edb43abbb87d4afb2e5962bd0d6964f6910fe257775c594ff882f2 diff --git a/media-gfx/jpegoptim/jpegoptim-1.5.4.ebuild b/media-gfx/jpegoptim/jpegoptim-1.5.4.ebuild new file mode 100644 index 000000000000..33c335ee285c --- /dev/null +++ b/media-gfx/jpegoptim/jpegoptim-1.5.4.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="${DEPEND}" + +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 +}