Skip to content

Commit

Permalink
fix: elementary-photos (#1349) (#1352)
Browse files Browse the repository at this point in the history
Remove patches

Signed-off-by: madomado <[email protected]>
(cherry picked from commit d714015)

Co-authored-by: madomado <[email protected]>
  • Loading branch information
raboneko and madonuko authored Jun 13, 2024
1 parent 9d948fc commit c10f5ee
Showing 1 changed file with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,14 @@ License: LGPL-2.0-or-later
URL: https://github.com/elementary/photos
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz

# RIP the publishing plugins (sorry for the "wide" patch, having issues with just the relevant commits)
Patch0: https://github.com/elementary/photos/compare/7261606a05d1f41116aba5c86b62d1f739419ed1..09e55943b266bc2861b913251cb834169d81743e.patch

BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: meson >= 0.46.0
BuildRequires: vala
BuildRequires: fdupes
BuildRequires: git-core
BuildRequires: cmake

BuildRequires: pkgconfig(gee-0.8) >= 0.8.5
BuildRequires: pkgconfig(geocode-glib-2.0)
Expand All @@ -43,6 +41,8 @@ BuildRequires: pkgconfig(libhandy-1)
BuildRequires: pkgconfig(libraw) >= 0.13.2
BuildRequires: pkgconfig(libwebp) >= 0.4.4
BuildRequires: pkgconfig(sqlite3) >= 3.5.9
BuildRequires: pkgconfig(libportal)
BuildRequires: pkgconfig(libportal-gtk3)

Requires: hicolor-icon-theme

Expand All @@ -53,7 +53,6 @@ Foundation.

%prep
%autosetup -n %{srcname}-%{version} -N
git apply %PATCH0 # The .patch file has Git binary patches, so we need to apply it manually with Git


%build
Expand All @@ -75,10 +74,10 @@ desktop-file-validate \
%{buildroot}/%{_datadir}/applications/%{appname}.desktop

desktop-file-validate \
%{buildroot}/%{_datadir}/applications/%{appname}-viewer.desktop
%{buildroot}/%{_datadir}/applications/%{appname}.viewer.desktop

appstream-util validate-relax --nonet \
%{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml
%{buildroot}/%{_datadir}/metainfo/%{appname}.metainfo.xml


%files -f %{appname}.lang
Expand All @@ -92,11 +91,11 @@ appstream-util validate-relax --nonet \
%{_libexecdir}/%{appname}/

%{_datadir}/applications/%{appname}.desktop
%{_datadir}/applications/%{appname}-viewer.desktop
%{_datadir}/applications/%{appname}.viewer.desktop
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
%{_datadir}/icons/hicolor/*/apps/%{appname}.svg
%{_datadir}/icons/hicolor/*/apps/%{appname}-viewer.svg
%{_datadir}/metainfo/%{appname}.appdata.xml
%{_datadir}/icons/hicolor/*/apps/%{appname}.viewer.svg
%{_datadir}/metainfo/%{appname}.metainfo.xml


%changelog
Expand Down

0 comments on commit c10f5ee

Please sign in to comment.