diff --git a/dev-util/flatpakify/Manifest b/dev-util/flatpakify/Manifest new file mode 100644 index 0000000000..c27f5eada3 --- /dev/null +++ b/dev-util/flatpakify/Manifest @@ -0,0 +1 @@ +DIST flatpakify-1.0.5.tar.gz 25809 BLAKE2B 09a1c071de15ccae3757cb9d5f3dc8ef435659e17b6e6b47acdc5af34ed5dbe9d1c10665c39ce0c0d06247270f60ed64f27ced90f8602153a70438ce0b3b03eb SHA512 b0023b8e5c0ec12a54da5c9151dc6c02fad44b667f009c8ebcc7c0ab17ab010d3ba3f8fb5c480923d17d5db5cb566876eafbafa89ba9ea81a82e2d370b35a784 diff --git a/dev-util/flatpakify/flatpakify-1.0.5.ebuild b/dev-util/flatpakify/flatpakify-1.0.5.ebuild new file mode 100644 index 0000000000..6b74b601c5 --- /dev/null +++ b/dev-util/flatpakify/flatpakify-1.0.5.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..14} ) + +inherit meson python-single-r1 + +DESCRIPTION="Tool to create Flatpak bundles from Portage ebuilds" +HOMEPAGE="https://github.com/StefanCristian/flatpakify" +SRC_URI="https://github.com/StefanCristian/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + || ( + app-admin/doas + kde-plasma/kdesu-gui + app-admin/sudo + ) + dev-util/flatpak-builder + sys-apps/flatpak + sys-apps/portage" +BDEPEND="dev-build/meson + ${PYTHON_DEPS}" diff --git a/dev-util/flatpakify/metadata.xml b/dev-util/flatpakify/metadata.xml new file mode 100644 index 0000000000..2117a3b0b7 --- /dev/null +++ b/dev-util/flatpakify/metadata.xml @@ -0,0 +1,19 @@ + + + + + stefan.cristian+git@rogentos.ro + Stefan Cristian B. + + Flatpakify is a small helper utility to produce or + normalize Flatpak manifests and metadata to ease packaging and + integration on Gentoo. This package provides the tools and helpers + required to create reproducible Flatpak metadata suitable for + use in overlays or local packaging workflows. It can generate + Flatpaks (with generated manifests) from existing ebuilds. + + + StefanCristian/flatpakify + StefanCristian/flatpakify + + diff --git a/media-plugins/gimp-resynthesizer/Manifest b/media-plugins/gimp-resynthesizer/Manifest new file mode 100644 index 0000000000..73416e61b2 --- /dev/null +++ b/media-plugins/gimp-resynthesizer/Manifest @@ -0,0 +1 @@ +DIST gimp-resynthesizer-3.0.tar.gz 19968926 BLAKE2B ebe345a961bd32beda617faf48984238263902517342dc3dd003193a00ae45b296f132aa32147abc35d2b686addab7effec6ac62a6b09502684b43d0627e0e75 SHA512 053b365bb4c1d8228a3fe1e67fb9758c67a4dc040801ab3179b2c973508137aa8995a6f3c51a270c61b9cd8019e755cb4e8e1650857e288c112a2948daf4fb66 diff --git a/media-plugins/gimp-resynthesizer/gimp-resynthesizer-3.0.ebuild b/media-plugins/gimp-resynthesizer/gimp-resynthesizer-3.0.ebuild new file mode 100644 index 0000000000..242041da18 --- /dev/null +++ b/media-plugins/gimp-resynthesizer/gimp-resynthesizer-3.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="Suite of GIMP plugins for texture synthesis" +HOMEPAGE="https://github.com/bootchk/resynthesizer" +SRC_URI="https://github.com/bootchk/resynthesizer/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +S="${WORKDIR}/resynthesizer-${PV}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="debug +glib threads test +translations animate deep-progress libheal" + +RESTRICT="!test? ( test )" + +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 test install-test) + $(meson_use translations install-translations) + $(meson_use animate synth-animate) + $(meson_use deep-progress synth-deep-progress) + $(meson_use libheal build-libheal) + ) + + # 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() { + # allow writing to GIMP plugin directory + addwrite /usr/lib64/gimp/3.0/plug-ins + addwrite /usr/lib32/gimp/3.0/plug-ins + addwrite /usr/lib/gimp/3.0/plug-ins + + meson_src_install +} diff --git a/media-plugins/gimp-resynthesizer/metadata.xml b/media-plugins/gimp-resynthesizer/metadata.xml new file mode 100644 index 0000000000..269169a326 --- /dev/null +++ b/media-plugins/gimp-resynthesizer/metadata.xml @@ -0,0 +1,20 @@ + + + + + ghostyn678+git@gmail.com + dsaf + + + Use GLib library for platform independence instead of direct system calls + Enable animation of the synthesis process for debugging. You may see a 'brushfire front' of pixels being synthesized. Note: may not work with threading enabled + Enable debug logging, call tree tracing, and algorithm statistics. Currently depends on GLib + Enable detailed progress reporting (percent processed) instead of shallow progress (per pass). Useful for slow motion animation + Build the simple API library that only provides healing functionality. Not needed for GIMP, only for external test harnesses + Enable threading support for approximately 2x performance speedup. Thread limit is hardcoded to 12 + Install translation files. + + + bootchk/resynthesizer + + diff --git a/media-sound/lms/lms-3.71.0-r1.ebuild b/media-sound/lms/lms-3.71.0-r1.ebuild new file mode 100644 index 0000000000..b1e7311317 --- /dev/null +++ b/media-sound/lms/lms-3.71.0-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake pam systemd + +DESCRIPTION="Lightweight Music Server." +HOMEPAGE="https://lms-demo.poupon.dev/ https://github.com/epoupon/lms" +SRC_URI="https://github.com/epoupon/lms/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test +stb" +RESTRICT="!test? ( test )" + +RDEPEND=" + app-arch/libarchive + acct-user/lms + dev-cpp/wt:= + dev-libs/boost:= + dev-libs/libconfig[cxx] + dev-libs/pugixml:= + media-libs/taglib:= + media-video/ffmpeg[lame,opus] + sys-libs/pam + + !stb? ( media-gfx/graphicsmagick ) + +" + +DEPEND=" + ${RDEPEND} + dev-libs/xxhash + stb? ( dev-libs/stb ) +" + +BDEPEND=" + test? ( dev-cpp/gtest ) +" + +src_configure() { + local mycmakeargs=( + -DLMS_IMAGE_BACKEND=$(usex stb stb graphicsmagick) + -DENABLE_TESTS=$(usex test) + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + systemd_newunit conf/systemd/default.service lms.service + newinitd "${FILESDIR}/lms.init" lms + dopamd conf/pam/lms + mv "${ED}/usr/share/lms/lms.conf" "${ED}/etc/lms.conf" || die + + # Already installed in the proper directory + rm "${ED}/usr/share/lms/default.service" || die + rm "${ED}/usr/share/lms/lms" || die + + keepdir /var/log/lms + fowners -R lms:lms /var/log/lms + + keepdir /var/lms + fowners lms:lms /var/lms +}