mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
media-plugins/gimp-resynthesizer: add 3.0.1_p20260408
Signed-off-by: dsaf <ghostyn678+git@gmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST gimp-resynthesizer-3.0.1_p20260408.tar.gz 19983798 BLAKE2B c31e13003594b8b5873663ad03d56ea107fa032af91cf09ae6f42088dedd478d9164d435db094de3f738217dadcff100a59445003ba2941ed98646bd9ba93b8d SHA512 d1c0f3cbda0d13b1dccd59f63c978df51aafdddc976138447aaf74451283fa79be8683680e4890b5721553efc672e65a9e1774e3e37a11c70602fba29f275397
|
||||
DIST gimp-resynthesizer-3.0_p20260320.tar.gz 19974426 BLAKE2B 0446020b5367ebc57ec1ab34c8956da4b89cadcd514cecb84daaacbb42323b9c19b7917c177c43b9380c736cf38ff3f4658a1fa9fb178177d634a0a5ad0673ae SHA512 d579b3e8e56d159d0e7169625c5efcb2469e05985d039a91b8938ba1b80aef8bd338658238451eb886285adb345da6190877e7e46010462b7ffafe06ec6091d7
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson
|
||||
|
||||
MY_COMMIT="8da0d0c17cfe1d6b30754275d88c076818b20886"
|
||||
|
||||
MY_PN="resynthesizer"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Suite of GIMP plugins for texture synthesis"
|
||||
HOMEPAGE="https://github.com/bootchk/resynthesizer"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/bootchk/resynthesizer.git"
|
||||
EGIT_BRANCH="resynthesizer3"
|
||||
elif [[ ${PV} == *_p* ]] ; then
|
||||
SRC_URI="https://github.com/bootchk/resynthesizer/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_PN}-${MY_COMMIT}"
|
||||
else
|
||||
SRC_URI="https://github.com/bootchk/resynthesizer/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
if [[ ${PV} != *9999* ]] ; then
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
IUSE="debug +glib threads +translations animate deep-progress"
|
||||
REQUIRED_USE="debug? ( glib )"
|
||||
RESTRICT="test" # broken upstream tests
|
||||
|
||||
DEPEND="
|
||||
>=media-gfx/gimp-3.0.0
|
||||
glib? ( dev-libs/glib:2 )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use debug synth-debug)
|
||||
$(meson_use glib synth-use-glib)
|
||||
$(meson_use threads synth-threaded)
|
||||
$(meson_use translations install-translations)
|
||||
$(meson_use animate synth-animate)
|
||||
$(meson_use deep-progress synth-deep-progress)
|
||||
)
|
||||
|
||||
# If using glib, we can choose glib threads, otherwise force posix
|
||||
if use glib && use threads; then
|
||||
emesonargs+=( -Dsynth-use-glib-threads=true )
|
||||
else
|
||||
emesonargs+=( -Dsynth-use-glib-threads=false )
|
||||
fi
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
addwrite "/usr/$(get_libdir)/gimp/3.0/plug-ins"
|
||||
|
||||
meson_src_install
|
||||
}
|
||||
Reference in New Issue
Block a user