summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/gimp/gimp-2.99.14-r3.ebuild (renamed from media-gfx/gimp/gimp-2.99.14-r2.ebuild)6
-rw-r--r--media-gfx/gimp/gimp-9999.ebuild9
2 files changed, 9 insertions, 6 deletions
diff --git a/media-gfx/gimp/gimp-2.99.14-r2.ebuild b/media-gfx/gimp/gimp-2.99.14-r3.ebuild
index ef598098c880..a4f7e1dfed92 100644
--- a/media-gfx/gimp/gimp-2.99.14-r2.ebuild
+++ b/media-gfx/gimp/gimp-2.99.14-r3.ebuild
@@ -134,7 +134,7 @@ src_prepare() {
sed -i -e 's/@PYTHON_PATH@/'${EPYTHON}'/' plug-ins/python/pygimp.interp.in || die
# Set proper intallation path of documentation logo
- sed -i -e "s/'gimp-@0@'.format(gimp_app_version)/'gimp-@0@.@1@'.format(gimp_app_version, gimp_app_version_micro)/" data/images/meson.build || die
+ sed -i -e "s/'gimp-@0@'.format(gimp_app_version)/'gimp-${PVR}'/" data/images/meson.build || die
}
_adjust_sandbox() {
@@ -242,9 +242,9 @@ src_install() {
}
pkg_postinst() {
- xdg_desktop_database_update
+ xdg_pkg_postinst
}
pkg_postrm() {
- xdg_desktop_database_update
+ xdg_pkg_postrm
}
diff --git a/media-gfx/gimp/gimp-9999.ebuild b/media-gfx/gimp/gimp-9999.ebuild
index 705248ae1799..6ebeb03acdcb 100644
--- a/media-gfx/gimp/gimp-9999.ebuild
+++ b/media-gfx/gimp/gimp-9999.ebuild
@@ -131,7 +131,10 @@ src_prepare() {
# Fix pygimp.interp python implementation path.
# Meson @PYTHON_PATH@ use sandbox path e.g.:
# '/var/tmp/portage/media-gfx/gimp-2.99.12/temp/python3.10/bin/python3'
- sed -i -e 's:@PYTHON_PATH@:'${EPYTHON}':' plug-ins/python/pygimp.interp.in || die
+ sed -i -e 's/@PYTHON_PATH@/'${EPYTHON}'/' plug-ins/python/pygimp.interp.in || die
+
+ # Set proper intallation path of documentation logo
+ sed -i -e "s/'gimp-@0@'.format(gimp_app_version)/'gimp-${PVR}'/" data/images/meson.build || die
}
_adjust_sandbox() {
@@ -239,9 +242,9 @@ src_install() {
}
pkg_postinst() {
- xdg_desktop_database_update
+ xdg_pkg_postinst
}
pkg_postrm() {
- xdg_desktop_database_update
+ xdg_pkg_postrm
}