automatic version update by autodist [release 7.24.1-1mamba;Tue Sep 17 2024]
This commit is contained in:
parent
38b99fb42b
commit
c4dfb88dc1
@ -1,5 +1,5 @@
|
|||||||
Name: signal-desktop
|
Name: signal-desktop
|
||||||
Version: 7.21.0
|
Version: 7.24.1
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: Signal Desktop links with Signal on Android or iOS and lets you message from your computers
|
Summary: Signal Desktop links with Signal on Android or iOS and lets you message from your computers
|
||||||
Group: Graphical Desktop/Applications/Internet
|
Group: Graphical Desktop/Applications/Internet
|
||||||
@ -13,7 +13,32 @@ Patch0: signal-desktop-5.40.1-expire-from-source-date-epoch.patch
|
|||||||
Patch1: signal-desktop-5.40.1-fix-better-sqlite-ssl-error.patch
|
Patch1: signal-desktop-5.40.1-fix-better-sqlite-ssl-error.patch
|
||||||
License: Affero GNU Public License
|
License: Affero GNU Public License
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libX11-devel
|
||||||
|
BuildRequires: libXcomposite-devel
|
||||||
|
BuildRequires: libXdamage-devel
|
||||||
|
BuildRequires: libXext-devel
|
||||||
|
BuildRequires: libXfixes-devel
|
||||||
|
BuildRequires: libXrandr-devel
|
||||||
|
BuildRequires: libalsa-devel
|
||||||
|
BuildRequires: libat-spi2-core-devel
|
||||||
|
BuildRequires: libcairo-devel
|
||||||
|
BuildRequires: libcups-devel
|
||||||
|
BuildRequires: libdbus-devel
|
||||||
|
BuildRequires: libdrm-devel
|
||||||
|
BuildRequires: libexpat-devel
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libglib-devel
|
||||||
|
BuildRequires: libgtk3-devel
|
||||||
|
BuildRequires: libmesa-devel
|
||||||
|
BuildRequires: libnspr-devel
|
||||||
|
BuildRequires: libnss-devel
|
||||||
|
BuildRequires: libpango-devel
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
|
BuildRequires: libxcb-devel
|
||||||
|
BuildRequires: libxkbcommon-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: nodejs
|
||||||
BuildRequires: git-lfs
|
BuildRequires: git-lfs
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -21,43 +46,39 @@ Signal Desktop links with Signal on Android or iOS and lets you message from you
|
|||||||
|
|
||||||
%debug_package
|
%debug_package
|
||||||
|
|
||||||
|
# Don't clean build at the end
|
||||||
|
%global __spec_rmbuild_cmd /bin/true
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Signal-Desktop-%{version}
|
%setup -q -n Signal-Desktop-%{version}
|
||||||
#-D -T
|
#-D -T
|
||||||
#:<< _EOF
|
#:<< _EOF
|
||||||
|
|
||||||
%define _build_id_links none
|
%define _build_id_links none
|
||||||
%global __requires_exclude_from ^%{_libdir}/signal-desktop/.*$
|
%global __requires_exclude ^libffmpeg.so.*$
|
||||||
%global __provides_exclude_from ^%{_libdir}/signal-desktop/.*$
|
%global __provides_exclude_from ^%{_libdir}/signal-desktop/.*$
|
||||||
|
|
||||||
# Requires Nodejs 16.13.2
|
|
||||||
export PROFILE=/dev/null
|
|
||||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
|
|
||||||
export NVM_DIR="$HOME/.nvm"
|
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
|
||||||
nvm install 16.13.2
|
|
||||||
|
|
||||||
# git-lfs hook needs to be installed for one of the dependencies
|
# git-lfs hook needs to be installed for one of the dependencies
|
||||||
git lfs install
|
git lfs install
|
||||||
|
|
||||||
# Allow higher Node versions
|
# Allow higher Node versions
|
||||||
#sed 's#"node": "#&>=#' -i package.json
|
sed 's#"node": "#&>=#' -i package.json
|
||||||
|
|
||||||
#%patch0 -p1 -b .expire-from-source-date-epoch
|
# Install dependencies for sticker-creator
|
||||||
##%patch1 -p1
|
npm --prefix ./sticker-creator/ install
|
||||||
|
|
||||||
yarn install
|
# Install dependencies for signal-desktop
|
||||||
#--ignore-engines
|
npm install --ignore-engines
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#:<< _EOF
|
#:<< _EOF
|
||||||
export NVM_DIR="$HOME/.nvm"
|
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
|
||||||
|
|
||||||
export SOURCE_DATE_EPOCH=`date +%s`
|
export SOURCE_DATE_EPOCH=`date +%s`
|
||||||
|
|
||||||
yarn generate
|
# Build the sticker creator
|
||||||
yarn build
|
npm --prefix ./sticker-creator/ run build
|
||||||
|
|
||||||
|
# Build signal-desktop
|
||||||
|
npm run build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -65,6 +86,8 @@ install -d -m0755 %{buildroot}{%{_libdir},%{_bindir}}
|
|||||||
cp -a release/linux-unpacked %{buildroot}%{_libdir}/signal-desktop
|
cp -a release/linux-unpacked %{buildroot}%{_libdir}/signal-desktop
|
||||||
ln -s ../%{_lib}/signal-desktop/signal-desktop %{buildroot}%{_bindir}
|
ln -s ../%{_lib}/signal-desktop/signal-desktop %{buildroot}%{_bindir}
|
||||||
|
|
||||||
|
chmod u+s %{buildroot}%{_libdir}/signal-desktop/chrome-sandbox
|
||||||
|
|
||||||
install -D -m0644 %{SOURCE2} %{buildroot}%{_datadir}/applications/signal-desktop.desktop
|
install -D -m0644 %{SOURCE2} %{buildroot}%{_datadir}/applications/signal-desktop.desktop
|
||||||
|
|
||||||
for i in 16 24 32 48 64 128 256 512 1024; do
|
for i in 16 24 32 48 64 128 256 512 1024; do
|
||||||
@ -85,6 +108,9 @@ done
|
|||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 17 2024 Automatic Build System <autodist@openmamba.org> 7.24.1-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Thu Aug 22 2024 Automatic Build System <autodist@openmamba.org> 7.21.0-1mamba
|
* Thu Aug 22 2024 Automatic Build System <autodist@openmamba.org> 7.21.0-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user