diff -up gedit-3.38.2/build-aux/flatpak/org.gnome.gedit.yml.orig gedit-3.38.2/build-aux/flatpak/org.gnome.gedit.yml
--- gedit-3.38.2/build-aux/flatpak/org.gnome.gedit.yml.orig	2022-06-22 09:48:06.292000000 +0000
+++ gedit-3.38.2/build-aux/flatpak/org.gnome.gedit.yml	2022-06-22 09:51:00.972000000 +0000
@@ -70,7 +70,7 @@ modules:
     sources:
       - type: git
         url: https://gitlab.gnome.org/GNOME/tepl.git
-        branch: tepl-5-0
+        branch: master
 
   - name: gedit
     buildsystem: meson
diff -up gedit-3.38.2/docs/reference/meson.build.orig gedit-3.38.2/docs/reference/meson.build
--- gedit-3.38.2/docs/reference/meson.build.orig	2022-06-22 09:46:55.960000000 +0000
+++ gedit-3.38.2/docs/reference/meson.build	2022-06-22 09:47:15.320000000 +0000
@@ -7,7 +7,7 @@ gdk_docpath = dependency('gdk-3.0').get_
 gtk_docpath = dependency('gtk+-3.0').get_pkgconfig_variable('prefix') / 'share/gtk-doc/html/gtk3'
 gsv_docpath = dependency('gtksourceview-4').get_pkgconfig_variable('prefix') / 'share/gtk-doc/html/gtksourceview-4.0'
 amtk_docpath = dependency('amtk-5').get_pkgconfig_variable('prefix') / 'share/gtk-doc/html/amtk-5.0'
-tepl_docpath = dependency('tepl-5').get_pkgconfig_variable('prefix') / 'share/gtk-doc/html/tepl-5'
+tepl_docpath = dependency('tepl-6').get_pkgconfig_variable('prefix') / 'share/gtk-doc/html/tepl-6'
 libpeas_docpath = dependency('libpeas-1.0').get_pkgconfig_variable('prefix') / 'share/gtk-doc/html/libpeas'
 
 gedit_doc_dep = declare_dependency(
diff -up gedit-3.38.2/meson.build.orig gedit-3.38.2/meson.build
--- gedit-3.38.2/meson.build.orig	2022-06-22 09:46:20.616000000 +0000
+++ gedit-3.38.2/meson.build	2022-06-22 09:46:38.328000000 +0000
@@ -45,7 +45,7 @@ gio_dep = dependency('gio-2.0', version:
 libgedit_public_deps = [
   gio_dep,
   dependency('gtk+-3.0', version: '>= 3.22'),
-  dependency('tepl-5', version: '>= 5.0'),
+  dependency('tepl-6', version: '>= 6.0.0'),
   dependency('libpeas-gtk-1.0'),
 ]
 
