Skip to content

Commit fd44d0c

Browse files
madonukoraboneko
authored andcommitted
fix: elementary-files (#1828)
* 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)
1 parent 4e1c2fe commit fd44d0c

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

anda/desktops/elementary/elementary-files/elementary-files.spec

+4-6
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ BuildRequires: pkgconfig(pango) >= 1.1.2
4242
BuildRequires: pkgconfig(plank) >= 0.10.9
4343
BuildRequires: pkgconfig(sqlite3)
4444
BuildRequires: pkgconfig(systemd) >= 206
45+
BuildRequires: pkgconfig(libportal)
46+
BuildRequires: pkgconfig(libportal-gtk3)
4547

4648
Requires: contractor
4749
Requires: file-roller
@@ -76,6 +78,7 @@ This package contains the development headers.
7678

7779

7880
%build
81+
CFLAGS="$CFLAGS -Wno-implicit-function-declaration"
7982
%meson -Dwith-zeitgeist=disabled
8083
%meson_build
8184

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

8689
%find_lang %{appname}
8790

88-
%fdupes %buildroot%_datadir/icons/hicolor/
89-
90-
# remove unused pixmaps
91-
rm -r %{buildroot}/%{_datadir}/pixmaps
92-
9391
# install file-roller contracts
9492
mkdir -p %{buildroot}/%{_datadir}/contractor
9593
cp -pav %{SOURCE1} %{buildroot}/%{_datadir}/contractor/
@@ -120,7 +118,7 @@ appstream-util validate-relax --nonet \
120118
%{_bindir}/%{appname}-pkexec
121119

122120
%{_libdir}/%{appname}/
123-
%{_libdir}/libpantheon-files-core.so.6*
121+
%{_libdir}/libpantheon-files-core.so.*
124122

125123
%{_datadir}/applications/%{appname}.desktop
126124
%{_datadir}/contractor/*.contract

0 commit comments

Comments
 (0)