summaryrefslogtreecommitdiff
path: root/media-gfx/jpegoptim
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-15 22:05:15 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-15 22:05:15 +0100
commitaffa75f527bf2512b296482bd14bade15f820d6a (patch)
treeccad15ef56fd6e66c5f1a0af604048c4a3728828 /media-gfx/jpegoptim
parentbbeceee79ae8bdf53d0a494f86896a356e1cfe5f (diff)
gentoo auto-resync : 15:05:2023 - 22:05:14
Diffstat (limited to 'media-gfx/jpegoptim')
-rw-r--r--media-gfx/jpegoptim/Manifest2
-rw-r--r--media-gfx/jpegoptim/jpegoptim-1.5.4.ebuild38
2 files changed, 40 insertions, 0 deletions
diff --git a/media-gfx/jpegoptim/Manifest b/media-gfx/jpegoptim/Manifest
index 9b8a91a7572e..ca2725782eb4 100644
--- a/media-gfx/jpegoptim/Manifest
+++ b/media-gfx/jpegoptim/Manifest
@@ -1,4 +1,6 @@
AUX jpegoptim-1.5.3-system-libjpeg-libm.patch 390 BLAKE2B f23acc7cf017fc8dc5402b7e940b26fef5870cc4ca03ad3a1d2776820126420acd9c03d5a4eeb2c76c7979af223fa00a4ad5eba8c76347c01d2935677348a7f2 SHA512 c76e4a44455374f15f1021876860014dc1bc256e4c474abbc01a35692a569b679194d341b0ceb8751a91c62d54125f21fa7090de7ce3feb4dd1125810b60acca
DIST jpegoptim-1.5.3.tar.gz 121006 BLAKE2B 8fd54eb3e08268b080efb1747f5090a5a21500cea695483f1c892f1848155d3afc7b40304390d903cd3d7433e7811a0a77caa0747108be6e2e7535e7d664d3de SHA512 2e198636a7028d1781a00efed881e77af1324cf1906838ead9ffbb027c085cd287b26c3207e8b4f53e2f53ecb4dd2c035101b345a241a472288ba175e27d9423
+DIST jpegoptim-1.5.4.tar.gz 124040 BLAKE2B 0109c6bf7a608f894aab8005988d6192df2d3fde1b2ae28892bd2d7734aafc26a40f6ad812c3829b227ecefdf9d0d9b88f5c4f54a96057628e973125c3c9f8a9 SHA512 0e177cd316e7f5590f79bbde356f580b1a4f3113a2cbeb884aefc5671ce964e622264e1df1edb43abbb87d4afb2e5962bd0d6964f6910fe257775c594ff882f2
EBUILD jpegoptim-1.5.3-r1.ebuild 695 BLAKE2B df130735db15d25abf223a06f51535c0aee69eae35186b4970ef8f9ecf8cbdf455d10a7ba1ba6a5018aca6b68f50976ea21bde22fa090dd8c23f8d4cd6164042 SHA512 4c586d24b79afd415c9607c7fe6b7ead5ac11aff7878572a3cd423be9f352913901c49efa17286b87083c74f39b799ac77e8bc8095b72bb3c605c6b9cd725180
+EBUILD jpegoptim-1.5.4.ebuild 866 BLAKE2B 4518e1bd1d938ab034337b43d0325dbdc94ab2e53045ae9b00c2c5d53ec814ab80677642ba3187ebbde4b8d19518a43541463463c03df15ab2d30e6cbfa70c06 SHA512 553ec8d42bd7fea38ddf3040fff4ce15c0736b72c8f21d65f4fcebd397e172c37e335923d3fadeda71c00d7afb8de367d1246d9392472c81bdf8d942159aa320
MISC metadata.xml 325 BLAKE2B f70f1cdb1d6d60bf87058a388fec1b87e26e6277a04c0b8334f1d05d64de12706b7402260f6fa425bbb6835ab06351cc2289f7060f6fd33f637a0e26c71fea3e SHA512 e85426100408710a2441322b71113131e63127cea6f42d47d583656b93e851e3611b0305de731c3548144289eb475bce2dfc58df1fa61839e682d97498e678a3
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
+}