mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-10 00:10:19 +03:00
media-gfx/jpegoptim: drop 1.5.5
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
parent
e5c9cd5a82
commit
243f2dfe78
@ -1,2 +1 @@
|
||||
DIST jpegoptim-1.5.5.tar.gz 124361 BLAKE2B eb4cd150435c07df5116fbed653b378512ada96f4ebae65f08a4ccd9418ba71bcd6e369abb5713427c1ea8983432d4f94763252b580e657960154327f9f14d8f SHA512 81009e7079713aaa65fb8ef6d92b59eb6db16a460e8394cb3ce883228157f51ec0df0798d1a62d2e16c64678fd2a51a7156a9aa20b93e51343e3187657aefb4f
|
||||
DIST jpegoptim-1.5.6.tar.gz 457883 BLAKE2B 7e332641c70140b90d7da2506091d5973d7b95a649d560e5c4acf2c1b57ecdcf6e532e02553357433a97d0d61ff1b27e49ac37000125a4db28b433d4161cf51f SHA512 9501bdcdd3f56c97b649b7b8987fea3a3bd33d09368730f265a4833c0839b538fa658ad85dcf64a6ea13f8a2c919486f448e38a46fec7122b7bcf01d027c8b3a
|
||||
|
||||
@ -1,9 +0,0 @@
|
||||
libm is used with mozjpeg and built libjpeg, but not if using system's,
|
||||
yet jpegoptim.c uses floor() either way.
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -356,3 +356,3 @@
|
||||
target_include_directories(${PROJECT_NAME} PRIVATE ${JPEG_INCLUDE_DIRS})
|
||||
- target_link_libraries(${PROJECT_NAME} JPEG::JPEG)
|
||||
+ target_link_libraries(${PROJECT_NAME} JPEG::JPEG m)
|
||||
endif()
|
||||
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake flag-o-matic
|
||||
|
||||
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() {
|
||||
use elibc_musl && append-cppflags -D__GNU_LIBRARY__ #944902
|
||||
|
||||
local mycmakeargs=(
|
||||
-DUSE_MOZJPEG=no
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# lacks an install target with cmake
|
||||
dobin "${BUILD_DIR}"/${PN}
|
||||
doman ${PN}.1
|
||||
einstalldocs
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user