diff --git a/pkgs/arch/PKGBUILD b/pkgs/arch/PKGBUILD index cfe5f321..c70ad9f2 100644 --- a/pkgs/arch/PKGBUILD +++ b/pkgs/arch/PKGBUILD @@ -27,13 +27,13 @@ arch=(any) url="https://github.com/Rafostar/clapper" license=("GPL-3.0") depends=( - "gtk3>=3.19.4" + "gtk4>=3.99.2" "hicolor-icon-theme" "gjs" "gst-plugins-base-libs" "gst-plugins-good" - "gst-plugins-bad-libs>=1.16.0" - "gst-plugin-gtk" + "gst-plugins-bad-libs>=1.18.0" + "gst-plugin-gtk4" ) makedepends=( "meson>=0.50" @@ -44,7 +44,7 @@ optdepends=( "gst-libav: Popular video decoders" "gstreamer-vaapi: Intel/AMD video acceleration" ) -source=("${pkgname%-git}::git+https://github.com/Rafostar/${pkgname%-git}.git#branch=master") +source=("${pkgname%-git}::git+https://github.com/Rafostar/${pkgname%-git}.git") provides=("${pkgname%-git}") replaces=("${pkgname%-git}") conflicts=("${pkgname%-git}") diff --git a/pkgs/deb/debian/control b/pkgs/deb/debian/control index ddc16735..a8e5ceeb 100644 --- a/pkgs/deb/debian/control +++ b/pkgs/deb/debian/control @@ -14,14 +14,14 @@ Build-Depends: debhelper (>= 10), Package: clapper Architecture: all Depends: gjs (>= 1.50), - gir1.2-gtk-3.0 (>= 3.19), + gir1.2-gtk-4.0 (>= 3.99.2), hicolor-icon-theme, libgstreamer1.0-0, gstreamer1.0-plugins-base, gstreamer1.0-plugins-good, - gstreamer1.0-plugins-bad (>= 1.16), + gstreamer1.0-plugins-bad (>= 1.18), gstreamer1.0-gl, - gstreamer1.0-gtk3 + gstreamer1.0-gtk4 Recommends: gstreamer1.0-libav, gstreamer1.0-pulseaudio Suggests: gstreamer-plugins-ugly, diff --git a/pkgs/rpm/clapper.spec b/pkgs/rpm/clapper.spec index c002bee0..4ce0e835 100644 --- a/pkgs/rpm/clapper.spec +++ b/pkgs/rpm/clapper.spec @@ -19,8 +19,8 @@ %global appname com.github.rafostar.Clapper -%global gst_version 1.16.0 -%global gtk3_version 3.19.4 +%global gst_version 1.18.0 +%global gtk4_version 3.99.2 Name: clapper Version: 0.0.0 @@ -39,7 +39,7 @@ BuildRequires: desktop-file-utils BuildRequires: hicolor-icon-theme Requires: gjs -Requires: gtk3 >= %{gtk3_version} +Requires: gtk4 >= %{gtk4_version} Requires: hicolor-icon-theme %if 0%{?suse_version} @@ -51,7 +51,7 @@ BuildRequires: update-desktop-files Requires: gstreamer Requires: gstreamer-plugins-base Requires: gstreamer-plugins-good -Requires: gstreamer-plugins-good-gtk +Requires: gstreamer-plugins-good-gtk4 Requires: gstreamer-plugins-bad Requires: libgstplayer-1_0-0 >= %{gst_version} @@ -62,14 +62,12 @@ Recommends: gstreamer-plugins-libav Suggests: gstreamer-plugins-ugly # Intel/AMD video acceleration Suggests: gstreamer-plugins-vaapi -%endif - -%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} +%else BuildRequires: glibc-all-langpacks Requires: gstreamer1 Requires: gstreamer1-plugins-base Requires: gstreamer1-plugins-good -Requires: gstreamer1-plugins-good-gtk +Requires: gstreamer1-plugins-good-gtk4 # Contains GstPlayer lib Requires: gstreamer1-plugins-bad-free >= %{gst_version} @@ -113,7 +111,11 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %{_datadir}/mime/packages/%{appname}.xml %changelog +* Wed Oct 14 2020 Rafostar - 0.0.0-3 +- Update to GTK4 + * Sat Sep 19 22:02:00 CEST 2020 sp1rit - 0.0.0-2 - Added suse_update_desktop_file macro for SuSE packages + * Fri Sep 18 2020 Rafostar - 0.0.0-1 - Initial package