Skip to content

Commit

Permalink
fix: elementary-files (#1828)
Browse files Browse the repository at this point in the history
* fix: elementary-files

Signed-off-by: madomado <[email protected]>

* Update elementary-files.spec

Signed-off-by: madomado <[email protected]>

* disable some Werror

Signed-off-by: madomado <[email protected]>

* Update elementary-files.spec

Signed-off-by: madomado <[email protected]>

* files?

Signed-off-by: madomado <[email protected]>

* Update elementary-files.spec

Signed-off-by: madomado <[email protected]>

---------

Signed-off-by: madomado <[email protected]>
(cherry picked from commit 6658a74)
  • Loading branch information
madonuko authored and raboneko committed Aug 4, 2024
1 parent 2de67da commit 5fc1a9b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions anda/desktops/elementary/elementary-files/elementary-files.spec
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ BuildRequires: pkgconfig(pango) >= 1.1.2
BuildRequires: pkgconfig(plank) >= 0.10.9
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(systemd) >= 206
BuildRequires: pkgconfig(libportal)
BuildRequires: pkgconfig(libportal-gtk3)

Requires: contractor
Requires: file-roller
Expand Down Expand Up @@ -76,6 +78,7 @@ This package contains the development headers.


%build
CFLAGS="$CFLAGS -Wno-implicit-function-declaration"
%meson -Dwith-zeitgeist=disabled
%meson_build

Expand All @@ -85,11 +88,6 @@ This package contains the development headers.

%find_lang %{appname}

%fdupes %buildroot%_datadir/icons/hicolor/

# remove unused pixmaps
rm -r %{buildroot}/%{_datadir}/pixmaps

# install file-roller contracts
mkdir -p %{buildroot}/%{_datadir}/contractor
cp -pav %{SOURCE1} %{buildroot}/%{_datadir}/contractor/
Expand Down Expand Up @@ -120,7 +118,7 @@ appstream-util validate-relax --nonet \
%{_bindir}/%{appname}-pkexec

%{_libdir}/%{appname}/
%{_libdir}/libpantheon-files-core.so.6*
%{_libdir}/libpantheon-files-core.so.*

%{_datadir}/applications/%{appname}.desktop
%{_datadir}/contractor/*.contract
Expand Down

0 comments on commit 5fc1a9b

Please sign in to comment.