From 0a3feeaba4dbc58966dccdbbfcd7fb14deef0831 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 16 Jun 2024 00:09:44 +0100 Subject: gentoo auto-resync : 16:06:2024 - 00:09:44 --- media-gfx/curtail/Manifest | 4 +- media-gfx/curtail/curtail-1.10.0.ebuild | 71 +++++++++++++++++++++++++++++++ media-gfx/curtail/curtail-1.8.0-r1.ebuild | 67 ----------------------------- 3 files changed, 73 insertions(+), 69 deletions(-) create mode 100644 media-gfx/curtail/curtail-1.10.0.ebuild delete mode 100644 media-gfx/curtail/curtail-1.8.0-r1.ebuild (limited to 'media-gfx/curtail') diff --git a/media-gfx/curtail/Manifest b/media-gfx/curtail/Manifest index 55a0bbbe6ffd..3ee6167b8a7c 100644 --- a/media-gfx/curtail/Manifest +++ b/media-gfx/curtail/Manifest @@ -1,5 +1,5 @@ -DIST curtail-1.8.0.tar.gz 228988 BLAKE2B c04ad5aaebe8ceab1215937bb3d76ad6b2ca8cb9331011af2c6d3c8d33ee0a898fe3de0e24c0a6303b54ad0a7dd0d811f9b32321b50bbfea6b8063244be464a3 SHA512 6a8a081c0fe1b780b50c55a90f70c4d4514c49941eb9fd5924897e3961aa718af71010e8d210030e1b6028c2e33d0d19dcca5cbdcf51463b5a24d6d2e86c196c +DIST curtail-1.10.0.tar.gz 205428 BLAKE2B 7a9d1c56542648cd1c4c6fe1355276896bea96a8f054d03c2e4a174e392867db05c3a6548897d31f078b2416eac8b3695cafd3977236f0b66fd10f3020e35d3a SHA512 6bd76b4cefd693199e25db112e90acaa990d2a8dbc2016bd9d55e8d1857bd9c6e94f9164691855231afeff65ae3b070c646a8dc8b446591a08509683dd4a9fb7 DIST curtail-1.9.1.tar.gz 199785 BLAKE2B 689aa8f61f3c48ed51a85c35bbc6bee136a20064cd2d03c48f630fd80c8c85b64421e77327a71a41f266bd8f9d6f0dcdc197c15657159ae74056e1b52cc8ef12 SHA512 7ff0ff10068c5ff2694f6674376edf84957759b6274740d47d11a584943b026183b13a59b777c27569b6997c3cb358694fa93c55a1136b9d1fab08e768d1a1a4 -EBUILD curtail-1.8.0-r1.ebuild 1307 BLAKE2B 54bd24a1f9ba26b0405bfa8257eabab3e196f86c30a3a3fb3ec3d665461b117ab3ac0c824ca630e4405e9d58145a88cdd047d2970d479b8a8ea5e1740a52e5c8 SHA512 3a70c2b738aead5a2c879fe8ef01481425378177c9483c08ad32301d91861237d7c48f4550731431d78bbe90cbf7259860fa9d53dcfb1ca9916ceeeb2f42565c +EBUILD curtail-1.10.0.ebuild 1319 BLAKE2B 132a30b13ac64d23700d239815535dc6c46a9f77b9ef12f447610ba0ea079bbc4077eeef67b21d70b3f9f1a9a4d7f44dfc8981c7bb5e9e6110b2a37b0d93ca30 SHA512 952bc4042afc4eb286a9c688e2984f2bd682f17d561150def81dbf19fa4c6c54f0cac31a71a69049c1974fc4c2783d3f2f0493fe3bff57041a0dd6db4999533f EBUILD curtail-1.9.1.ebuild 1308 BLAKE2B 32b03b1e5cfd3fecbb26da094e2e2014494aaf443cde54a960d73a315d5977c79431b77b2d4883bea9d39936ba3dafb12c94c85b4143b269372855463ee58685 SHA512 786684d07b13960900f45419595ab8d217411d32d652521ef7a1b36e11c2666da887b266bfb6ca1f2de57de7dba92565dd1b68439f5d4f2ed9f4a68ebb7bc254 MISC metadata.xml 817 BLAKE2B ea01ae4c58024699aae770d6e7f21a03adfc8da5f5f658a0b1708824bfda730a2fce4557de4fbccbc079c66a11ab08d6faef020bf897d47870f6581b5e0d68e6 SHA512 3d573feda8c750a08903203c1d2f2e1385e17242356c6f319e29944e530b2199a27e4e432a806dfe1f2c8c783dd67c4fe347d5160d4df99911f67623a3168eee diff --git a/media-gfx/curtail/curtail-1.10.0.ebuild b/media-gfx/curtail/curtail-1.10.0.ebuild new file mode 100644 index 000000000000..8db3728be1ae --- /dev/null +++ b/media-gfx/curtail/curtail-1.10.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) + +inherit gnome2-utils meson python-single-r1 xdg + +DESCRIPTION="Image compressor, supporting PNG, JPEG and WebP" +HOMEPAGE="https://github.com/Huluti/Curtail/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/Huluti/${PN^}.git" +else + SRC_URI="https://github.com/Huluti/${PN^}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/${P^}" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="test" # Just desktop / schema / appstream file validation (fails). + +RDEPEND=" + ${PYTHON_DEPS} + gui-libs/gtk:4[introspection] + $(python_gen_cond_dep ' + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') +" +BDEPEND=" + ${RDEPEND} + dev-libs/appstream-glib + dev-util/desktop-file-utils +" +RDEPEND+=" + >=gui-libs/libadwaita-1.3.1 + media-gfx/jpegoptim + media-gfx/oxipng + media-gfx/pngquant + media-libs/libwebp +" + +DOCS=( CHANGELOG.md README.md ) + +src_prepare() { + sed -i "s|@PYTHON@|${PYTHON}|" "${S}/src/${PN}.in" || die + + default +} + +src_install() { + meson_src_install + python_optimize +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} diff --git a/media-gfx/curtail/curtail-1.8.0-r1.ebuild b/media-gfx/curtail/curtail-1.8.0-r1.ebuild deleted file mode 100644 index 34d23e02e28d..000000000000 --- a/media-gfx/curtail/curtail-1.8.0-r1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) - -inherit gnome2-utils meson python-single-r1 xdg - -DESCRIPTION="Image compressor, supporting PNG, JPEG and WebP" -HOMEPAGE="https://github.com/Huluti/Curtail/" - -if [[ ${PV} == *9999* ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/Huluti/${PN^}.git" -else - SRC_URI="https://github.com/Huluti/${PN^}/archive/${PV}.tar.gz - -> ${P}.tar.gz" - S="${WORKDIR}"/${P^} - KEYWORDS="amd64 ~x86" -fi - -LICENSE="GPL-3+" -SLOT="0" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RESTRICT="test" # Just desktop / schema / appstream file validation (fails). - -RDEPEND=" - ${PYTHON_DEPS} - gui-libs/gtk:4[introspection] - $(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]') -" -BDEPEND=" - ${RDEPEND} - dev-libs/appstream-glib - dev-util/desktop-file-utils -" -RDEPEND+=" - >=gui-libs/libadwaita-1.3.1 - media-gfx/jpegoptim - media-gfx/oxipng - media-gfx/pngquant - media-libs/libwebp -" - -DOCS=( CHANGELOG.md README.md ) - -src_prepare() { - sed -i "s|@PYTHON@|${PYTHON}|" "${S}"/src/${PN}.in || die - - default -} - -src_install() { - meson_src_install - python_optimize -} - -pkg_postinst() { - xdg_pkg_postinst - gnome2_schemas_update -} - -pkg_postrm() { - xdg_pkg_postrm - gnome2_schemas_update -} -- cgit v1.2.3