From 7fa8a1e3f149eea4c844c47cfe26136ed7614c58 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 15 Apr 2024 12:04:03 +0100 Subject: gentoo auto-resync : 15:04:2024 - 12:04:02 --- media-libs/libsixel/Manifest | 2 +- media-libs/libsixel/libsixel-1.10.3-r1.ebuild | 93 +++++++++++++++++++++++++++ media-libs/libsixel/libsixel-1.10.3.ebuild | 90 -------------------------- 3 files changed, 94 insertions(+), 91 deletions(-) create mode 100644 media-libs/libsixel/libsixel-1.10.3-r1.ebuild delete mode 100644 media-libs/libsixel/libsixel-1.10.3.ebuild (limited to 'media-libs/libsixel') diff --git a/media-libs/libsixel/Manifest b/media-libs/libsixel/Manifest index 7e7fe7169034..f0fef49b76d6 100644 --- a/media-libs/libsixel/Manifest +++ b/media-libs/libsixel/Manifest @@ -2,5 +2,5 @@ AUX libsixel-meson.patch 1904 BLAKE2B d4e4b4b800e8c8e847893b7f80369f71b2cb99ae4f AUX libsixel-musl.patch 1304 BLAKE2B 09e7a75a94edd944cca9997c74b235f9f27aeff550b2a9a02225c93d60f1faf598b9c5c304c9e8f1f207da37d7712d40115410f65cae17995c3bdaed6cfc99d7 SHA512 39b7227040e523881a9405e7f6b98362a0c4fb7f717bf50a724eabfd5cfe9779f820243f7ae0a83b61b4dd124ec4ff0070d391ea43476388095e1d4160f13cbd AUX libsixel-static-libs.patch 240 BLAKE2B ba9091c4991c6e69f83ca7eaa35aa7ceaf81e8542b1edffd1ce64ba1bedf518ad82603cdc610f256b1a0dc4954151b7407202a27c101ef6de59ff0724021faa3 SHA512 d3c6c060e8eba47c98180e5e4e127dfcb6f77f89b11dbaa8595cfd9786eee94a884476d210deb9ca6eaa2f548c6407a9bff714cfc3f18d4fa36b60d2c1fc165e DIST libsixel-1.10.3.tar.gz 4272940 BLAKE2B f65d9a3bdd54917f5746b7b1650dfca7084c64b505ea9cae07863c476d1189114d9fb303ec01d8fa209542e891f1d359ec6dbdc9babc4313b06b709813fab020 SHA512 ef16f9ccecec8289728ec84ce9f24145648f8a38184c1ec3df8ead3499c6cf7d3e0a0c738f8bfcb1093e16ee8ae7ce5e46d3890707c8104752ce4ab7eb3bc7ac -EBUILD libsixel-1.10.3.ebuild 1975 BLAKE2B 495c42f320ef9b4bbaf55f834d829c0e8f1c1786f9f4bb5d854337b9d388bdc0142eda1cb090543ab7829391fa0f2d8467d2ea12f7f8837cbf0990bb10503091 SHA512 37e55608f38c021f57b71dfc8510092ab354d39533c4a2557c3a59b9d379630a48c5daeea7c65ef9c831b4af168cf112bdf5d94a26f7a0f7a0305d4bb1930668 +EBUILD libsixel-1.10.3-r1.ebuild 2050 BLAKE2B da438897d8769a2b4a1af9acc4d478eefca873bad9e897993b4f3914bca5cd05c72c9fb59768b5d4cfdf3ed8168c81d08229c970aceb0c93d9c0c1ecdb930e67 SHA512 9a536dfd7851da87b5a8737282b824b2c7c5ffa409c961d5bb05d3c03c1e3d780b361e36de48df5f3d6926c57d3b92d7476e141d3c5a42663d5c7b223a0714ff MISC metadata.xml 387 BLAKE2B 71825e6924d15781b4c819089beabe6b4279b8f408452e97c5121d2892d8539f95205d2c869dc1259b3aecb0e8d7a1389548b44bca7637994afe16da0abcc8d3 SHA512 4481aef804960b1205090e2453f878fc059b009d1548f1a8b28653919443b73cd030b9020b3d0707d98623f39a82775d36f5111ccb1bd65f1f9128183915faa4 diff --git a/media-libs/libsixel/libsixel-1.10.3-r1.ebuild b/media-libs/libsixel/libsixel-1.10.3-r1.ebuild new file mode 100644 index 000000000000..1c009850c585 --- /dev/null +++ b/media-libs/libsixel/libsixel-1.10.3-r1.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +PYTHON_COMPAT=( python3_{9..12} ) +DISTUTILS_USE_PEP517="setuptools" +DISTUTILS_OPTIONAL="1" + +inherit bash-completion-r1 distutils-r1 meson + +DESCRIPTION="A lightweight, fast implementation of DEC SIXEL graphics codec" +HOMEPAGE="https://github.com/libsixel/libsixel" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT public-domain" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv x86" +IUSE="curl gd gtk jpeg png python test" +RESTRICT="!test? ( test )" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="curl? ( net-misc/curl ) + gd? ( media-libs/gd ) + gtk? ( x11-libs/gdk-pixbuf:2 ) + jpeg? ( virtual/jpeg:0 ) + png? ( media-libs/libpng:0 ) + python? ( ${PYTHON_DEPS} )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig + python? ( + ${PYTHON_DEPS} + ${DISTUTILS_DEPS} + )" + +PATCHES=( + "${FILESDIR}"/${PN}-meson.patch + "${FILESDIR}"/${PN}-musl.patch + "${FILESDIR}"/${PN}-static-libs.patch +) + +src_prepare() { + sed -i '/^have/d' converters/shell-completion/bash/img2sixel + + default + if use python; then + cd python || die + distutils-r1_src_prepare + cd - >/dev/null || die + fi +} + +src_configure() { + emesonargs=( + $(meson_feature curl libcurl) + $(meson_feature gd) + $(meson_feature gtk gdk-pixbuf2) + $(meson_feature jpeg) + $(meson_feature png) + $(meson_feature test tests) + -Dbashcompletiondir="$(get_bashcompdir)" + ) + meson_src_configure + if use python; then + cd python || die + distutils-r1_src_configure + cd - >/dev/null || die + fi +} + +src_compile() { + meson_src_compile + if use python; then + cd python || die + distutils-r1_src_compile + cd - >/dev/null || die + fi +} + +src_install() { + meson_src_install + + cd images || die + docompress -x /usr/share/doc/${PF}/images + docinto images + dodoc egret.jpg map{8,16}.png snake.jpg vimperator3.png + cd - >/dev/null || die + + if use python; then + cd python || die + distutils-r1_src_install + cd - >/dev/null || die + fi +} diff --git a/media-libs/libsixel/libsixel-1.10.3.ebuild b/media-libs/libsixel/libsixel-1.10.3.ebuild deleted file mode 100644 index 5957c1cfe58f..000000000000 --- a/media-libs/libsixel/libsixel-1.10.3.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" -PYTHON_COMPAT=( python3_{9..11} ) -DISTUTILS_OPTIONAL="1" - -inherit bash-completion-r1 distutils-r1 meson - -DESCRIPTION="A lightweight, fast implementation of DEC SIXEL graphics codec" -HOMEPAGE="https://github.com/libsixel/libsixel" -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT public-domain" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv x86" -IUSE="curl gd gtk jpeg png python test" -RESTRICT="!test? ( test )" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND="curl? ( net-misc/curl ) - gd? ( media-libs/gd ) - gtk? ( x11-libs/gdk-pixbuf:2 ) - jpeg? ( virtual/jpeg:0 ) - png? ( media-libs/libpng:0 ) - python? ( ${PYTHON_DEPS} )" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig - python? ( - ${PYTHON_DEPS} - dev-python/setuptools[${PYTHON_USEDEP}] - )" - -PATCHES=( - "${FILESDIR}"/${PN}-meson.patch - "${FILESDIR}"/${PN}-musl.patch - "${FILESDIR}"/${PN}-static-libs.patch -) - -src_prepare() { - default - if use python; then - cd python || die - distutils-r1_src_prepare - cd - >/dev/null || die - fi -} - -src_configure() { - emesonargs=( - $(meson_feature curl libcurl) - $(meson_feature gd) - $(meson_feature gtk gdk-pixbuf2) - $(meson_feature jpeg) - $(meson_feature png) - $(meson_feature test tests) - -Dbashcompletiondir="$(get_bashcompdir)" - ) - meson_src_configure - if use python; then - cd python || die - distutils-r1_src_configure - cd - >/dev/null || die - fi -} - -src_compile() { - meson_src_compile - if use python; then - cd python || die - distutils-r1_src_compile - cd - >/dev/null || die - fi -} - -src_install() { - meson_src_install - - cd images || die - docompress -x /usr/share/doc/${PF}/images - docinto images - dodoc egret.jpg map{8,16}.png snake.jpg vimperator3.png - cd - >/dev/null || die - - if use python; then - cd python || die - distutils-r1_src_install - cd - >/dev/null || die - fi -} -- cgit v1.2.3