commit:     129805fab93b630d0fc74b1c79b1cb11d6289d01
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  2 11:02:33 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar  2 11:02:33 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=129805fa

app-editors/mousepad: Bump to 0.7.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 app-editors/mousepad/Manifest              |  1 +
 app-editors/mousepad/mousepad-0.7.0.ebuild | 59 ++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/app-editors/mousepad/Manifest b/app-editors/mousepad/Manifest
index 5c0bb1d8035c..9b59b27a893a 100644
--- a/app-editors/mousepad/Manifest
+++ b/app-editors/mousepad/Manifest
@@ -1 +1,2 @@
 DIST mousepad-0.6.5.tar.xz 461276 BLAKE2B 
9bf9e5256a43299814d33b4ec27caf96796d2e1735b26f01851d24c2be6fcd46a5e16eba439476edd1e5e856e0b63c62d5cd47f2c30b06a01eb98ba84726792a
 SHA512 
cd71e40c6b33707bf9955b792f5af8b72698efdf44014177380465522b0a0e3078e4a16d3b70dff22acbdacb57745469ca4302c7f2ec752f76a8ce35a0d7ee06
+DIST mousepad-0.7.0.tar.xz 466008 BLAKE2B 
a5685af7c8d1ac117acaa703c143dd89830018578a051e6bb470094bfe7c8eea1f048f241234eb803766d16b1836ba2b74f3226afaed2c69ff72537af2584575
 SHA512 
ac89e64b48e60643a3d261f80732551d014426ac851fc2f58cefc96f11b85ea0b2dcf6d890b257bbe02b79bf68e3204990b436da6c34deaa9bb676d399b310bb

diff --git a/app-editors/mousepad/mousepad-0.7.0.ebuild 
b/app-editors/mousepad/mousepad-0.7.0.ebuild
new file mode 100644
index 000000000000..d319c0c55df1
--- /dev/null
+++ b/app-editors/mousepad/mousepad-0.7.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic gnome2-utils meson xdg-utils
+
+DESCRIPTION="GTK+-based editor for the Xfce Desktop Environment"
+HOMEPAGE="
+       https://docs.xfce.org/apps/mousepad/start
+       https://gitlab.xfce.org/apps/mousepad/
+"
+SRC_URI="https://archive.xfce.org/src/apps/${PN}/${PV%.*}/${P}.tar.xz";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE="policykit spell +shortcuts X"
+
+DEPEND="
+       >=dev-libs/glib-2.56.2
+       >=x11-libs/gtk+-3.22.0:3[X?]
+       >=x11-libs/gtksourceview-4.0.0:4
+       policykit? ( >=sys-auth/polkit-0.102 )
+       spell? ( >=app-text/gspell-1.6.0:= )
+       shortcuts? ( >=xfce-base/libxfce4ui-4.17.5:= )
+"
+RDEPEND="
+       ${DEPEND}
+"
+BDEPEND="
+       sys-devel/gettext
+       virtual/pkgconfig
+"
+
+src_configure() {
+       # defang automagic dependencies
+       use X || append-flags -DGENTOO_GTK_HIDE_X11
+
+       local emesonargs=(
+               -Dgtksourceview4=enabled
+               $(meson_feature policykit polkit)
+               $(meson_feature spell gspell-plugin)
+               $(meson_feature shortcuts shortcuts-plugin)
+       )
+       meson_src_configure
+}
+
+pkg_postinst() {
+       gnome2_schemas_update
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_schemas_update
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}

Reply via email to