diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-30 11:17:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-30 11:17:10 +0100 |
commit | 200338d9ebd0cd0599af59f208eb58f48f5ae168 (patch) | |
tree | 03aa7ba96612219b7aeb018639ba95924c0f1d81 /media-gfx/jpegoptim/jpegoptim-1.5.3-r1.ebuild | |
parent | a9a8100d7a659b808e3a112a113b65e16f0070c3 (diff) |
gentoo auto-resync : 30:04:2023 - 11:17:09
Diffstat (limited to 'media-gfx/jpegoptim/jpegoptim-1.5.3-r1.ebuild')
-rw-r--r-- | media-gfx/jpegoptim/jpegoptim-1.5.3-r1.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/media-gfx/jpegoptim/jpegoptim-1.5.3-r1.ebuild b/media-gfx/jpegoptim/jpegoptim-1.5.3-r1.ebuild new file mode 100644 index 000000000000..5db3691699a0 --- /dev/null +++ b/media-gfx/jpegoptim/jpegoptim-1.5.3-r1.ebuild @@ -0,0 +1,32 @@ +# 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://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}" + +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 +} |