- fix build by using CFLAGS="-Wno-implicit-function-declaration"
- update spec file for Leap 16.0: * remove %suse_update_desktop_file * remove recommending lang package * use autosetup * remove HiDPI workaround OBS-URL: https://build.opensuse.org/package/show/X11:Pantheon:Apps/screencast?expand=0&rev=9
This commit is contained in:
parent
a87b8f12a6
commit
8265e0581c
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 24 09:58:43 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
|
||||
|
||||
- fix build by using CFLAGS="-Wno-implicit-function-declaration"
|
||||
- update spec file for Leap 16.0:
|
||||
* remove %suse_update_desktop_file
|
||||
* remove recommending lang package
|
||||
* use autosetup
|
||||
* remove HiDPI workaround
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 9 13:45:49 UTC 2021 - Alexei Podvalsky <avvissu@yandex.by>
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%define appid com.github.artemanufrij.screencast
|
||||
Name: screencast
|
||||
Version: 1.0.0
|
||||
Release: 0
|
||||
@ -23,12 +24,11 @@ Summary: A screencasting application
|
||||
License: GPL-3.0-or-later
|
||||
Group: Productivity/Multimedia/Video/Editors and Convertors
|
||||
URL: https://github.com/artemanufrij/screencast
|
||||
Source: https://github.com/artemanufrij/screencast/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: meson >= 0.40.0
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: vala
|
||||
BuildRequires: pkgconfig(appindicator3-0.1)
|
||||
BuildRequires: pkgconfig(gdk-x11-3.0)
|
||||
@ -39,7 +39,6 @@ BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(libwnck-3.0)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xtst)
|
||||
Recommends: %{name}-lang
|
||||
Recommends: gstreamer-plugins-base
|
||||
Recommends: gstreamer-plugins-good
|
||||
Recommends: gstreamer-plugins-ugly
|
||||
@ -47,7 +46,7 @@ Provides: eidete = %{version}
|
||||
Obsoletes: eidete < %{version}
|
||||
|
||||
%description
|
||||
A screencasting application for Elementary OS.
|
||||
A screencasting application for the Pantheon Desktop.
|
||||
|
||||
Current features:
|
||||
* encoding to WebM
|
||||
@ -58,42 +57,30 @@ Current features:
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup
|
||||
|
||||
install -m0644 debian/copyright COPYING
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -Wno-implicit-function-declaration"
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
%suse_update_desktop_file -r com.github.artemanufrij.screencast GTK AudioVideo Video Recorder
|
||||
%find_lang com.github.artemanufrij.screencast %{name}.lang
|
||||
%fdupes %{buildroot}%{_datadir}
|
||||
%find_lang %{appid}
|
||||
%fdupes %{buildroot}
|
||||
|
||||
# dirlist HiDPI icons (see: hicolor/index.theme)
|
||||
touch $PWD/dir.lst
|
||||
_dirlist=$PWD/dir.lst
|
||||
pushd %{buildroot}
|
||||
find ./ | while read _list; do
|
||||
echo $_list | grep '[0-9]\@[0-9]' || continue
|
||||
_path=$(echo $_list | sed 's/[^/]//')
|
||||
if ! ls ${_path%/*}; then
|
||||
grep -xqs "\%dir\ ${_path%/*}" $_dirlist || echo "%dir ${_path%/*}" >> $_dirlist
|
||||
fi
|
||||
done
|
||||
popd
|
||||
|
||||
%files -f dir.lst
|
||||
%files
|
||||
%license COPYING
|
||||
%doc README.md
|
||||
%{_bindir}/com.github.artemanufrij.screencast
|
||||
%{_datadir}/applications/com.github.artemanufrij.screencast.desktop
|
||||
%{_datadir}/glib-2.0/schemas/com.github.artemanufrij.screencast.gschema.xml
|
||||
%{_datadir}/icons/hicolor/*/*/com.github.artemanufrij.screencast.??g
|
||||
%{_datadir}/metainfo/com.github.artemanufrij.screencast.appdata.xml
|
||||
%{_bindir}/%{appid}
|
||||
%{_datadir}/applications/%{appid}.desktop
|
||||
%{_datadir}/glib-2.0/schemas/%{appid}.gschema.xml
|
||||
%{_datadir}/icons/hicolor/*/apps/%{appid}.svg
|
||||
%{_datadir}/metainfo/%{appid}.appdata.xml
|
||||
%dir %{_datadir}/icons/hicolor/{128x128@2,128x128@2/apps,32x32@2,32x32@2/apps,48x48@2,48x48@2/apps,64x64@2,64x64@2/apps}
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
%files lang -f %{appid}.lang
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user