diff options
| author | Lyes Saadi <dev@lyes.eu> | 2022-08-10 11:38:54 +0100 |
|---|---|---|
| committer | Lyes Saadi <dev@lyes.eu> | 2022-08-10 11:38:54 +0100 |
| commit | de96fe28744baef193d5b6f120378ddef9b073fe (patch) | |
| tree | b47772809d57d82e83a3d65bec7214d556c39755 /blackbox | |
| parent | c84f0b408fa69785f76760c199f60401bce33a86 (diff) | |
| download | spec-de96fe28744baef193d5b6f120378ddef9b073fe.tar.gz spec-de96fe28744baef193d5b6f120378ddef9b073fe.tar.xz spec-de96fe28744baef193d5b6f120378ddef9b073fe.zip | |
Adding BlackBox for f36
Diffstat (limited to 'blackbox')
| -rw-r--r-- | blackbox/blackbox-terminal-f36/blackbox-terminal.spec | 79 | ||||
| -rw-r--r-- | blackbox/blackbox-terminal-f36/blackbox_upstream_vte.patch | 25 |
2 files changed, 104 insertions, 0 deletions
diff --git a/blackbox/blackbox-terminal-f36/blackbox-terminal.spec b/blackbox/blackbox-terminal-f36/blackbox-terminal.spec new file mode 100644 index 0000000..6906e57 --- /dev/null +++ b/blackbox/blackbox-terminal-f36/blackbox-terminal.spec @@ -0,0 +1,79 @@ +%global forgeurl https://gitlab.gnome.org/raggesilver/blackbox +%global appname blackbox +%global appid com.raggesilver.BlackBox + +Name: blackbox-terminal +Version: 0.10.1 +Release: %autorelease +Summary: A beautiful GTK 4 terminal + +%global tag v%{version} +%forgemeta + +License: GPLv3+ +URL: %{forgeurl} +Source0: %{forgesource} +Patch0: blackbox_upstream_vte.patch + +BuildRequires: meson +BuildRequires: vala +BuildRequires: desktop-file-utils +BuildRequires: intltool +BuildRequires: libappstream-glib +BuildRequires: pkgconfig(gio-2.0) >= 2.50 +BuildRequires: pkgconfig(gtk4) >= 4.6.2 +BuildRequires: pkgconfig(libadwaita-1) +BuildRequires: pkgconfig(marble) >= 42 +BuildRequires: pkgconfig(vte-2.91-gtk4) >= 0.69.0 +BuildRequires: pkgconfig(json-glib-1.0) >= 1.4.4 +BuildRequires: pkgconfig(libpcre2-8) +BuildRequires: pkgconfig(libxml-2.0) >= 2.9.12 +BuildRequires: pkgconfig(librsvg-2.0) >= 2.54.0 +BuildRequires: pkgconfig(graphene-gobject-1.0) +Requires: hicolor-icon-theme + +%description +A beautiful GTK 4 terminal. + +Features: +* Theming (Tilix compatible color scheme support) +* Theme integration with the window decorations +* Custom fonts +* Tabs +* Headerbarless mode +* Ctrl + click to open links & files +* Drag files to paste their path + + +%prep +%forgeautosetup -p1 + + +%build +%meson +%meson_build + + +%install +%meson_install +%find_lang %{appname} + + +%check +appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/*.xml +desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop + + +%files -f %{appname}.lang +%license COPYING +%doc README.md CHANGELOG.md +%{_bindir}/%{appname} +%{_datadir}/appdata/%{appid}.appdata.xml +%{_datadir}/applications/%{appid}.desktop +%{_datadir}/%{appname} +%{_datadir}/glib-2.0/schemas/%{appid}.gschema.xml +%{_datadir}/icons/hicolor/scalable/*/*.svg + + +%changelog +%autochangelog diff --git a/blackbox/blackbox-terminal-f36/blackbox_upstream_vte.patch b/blackbox/blackbox-terminal-f36/blackbox_upstream_vte.patch new file mode 100644 index 0000000..162abf9 --- /dev/null +++ b/blackbox/blackbox-terminal-f36/blackbox_upstream_vte.patch @@ -0,0 +1,25 @@ +diff '--color=auto' -ur a/src/meson.build b/src/meson.build +--- a/src/meson.build 2022-08-10 11:19:51.755601046 +0100 ++++ b/src/meson.build 2022-08-10 11:36:17.349709480 +0100 +@@ -41,6 +41,9 @@ + add_project_arguments('--vapidir=' + vapi_dir, language: 'vala') + add_project_arguments('-DPCRE2_CODE_UNIT_WIDTH=0', language: 'c') + ++# This is required until VTE 0.70 is out ++add_project_arguments('--disable-since-check', language: 'vala') ++ + gnome = import('gnome') + + blackbox_sources += gnome.compile_resources('blackbox-resources', +diff '--color=auto' -ur a/src/widgets/Terminal.vala b/src/widgets/Terminal.vala +--- a/src/widgets/Terminal.vala 2022-08-10 11:19:51.755601046 +0100 ++++ b/src/widgets/Terminal.vala 2022-08-10 11:21:44.748457631 +0100 +@@ -432,7 +432,7 @@ + public void do_copy_clipboard () { + if (this.get_has_selection ()) { + Gdk.Display.get_default ().get_clipboard () +- .set_text (this.get_text_selected ()); ++ .set_text (this.get_text_selected (Vte.Format.TEXT)); + } + } + } |
