Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37735203
en ru br
ALT Linux repos
S:1.6.3-alt1

Group :: Networking/Instant messaging
RPM: whatsapp-for-linux

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: whatsapp-for-linux
Version: 1.6.3
Release: alt1

Summary: An unofficial WhatsApp linux client written in C++ with the help of gtkmm-3.0 and webkit2

License: GPL-3.0
Group: Networking/Instant messaging
Url: https://github.com/eneshecan/whatsapp-for-linux

# Source-url: https://github.com/eneshecan/whatsapp-for-linux/archive/v%version/%name-%version.tar.gz

Source: %name-%version.tar

BuildRequires(pre): rpm-macros-cmake
BuildRequires: cmake gcc-c++
#BuildRequires: pkgconfig(appindicator3-0.1)
BuildRequires: pkgconfig(ayatana-appindicator3-0.1)
BuildRequires: pkgconfig(webkit2gtk-4.0) >= 2.34
#BuildRequires: pkgconfig(webkit2gtk-4.1) >= 2.34
BuildRequires: pkgconfig(gtkmm-3.0)
BuildRequires: pkgconfig(libcanberra)

# just to hide Package libpcre was not found in the pkg-config search path.

BuildRequires: libpcre2-devel

%description
Whatsapp-for-linux is an unofficial WhatsApp linux client written in C++ with the help of gtkmm-3.0 and webkit2.

%prep
%setup
# disable hw-accel by default (ALT bug 43906)
#subst 's|"hw-accel", 1|"hw-accel", 0|' src/ui/WebView.cpp

%build
%cmake -DCMAKE_BUILD_TYPE=Release

%cmake_build

%install
%cmake_install
%find_lang %name
# FIXME:
rm -rv %buildroot%_datadir/locale/pt-br/

%files -f %name.lang
%doc README.md
%_bindir/whatsapp-for-linux
%_desktopdir/*.desktop
%_iconsdir/hicolor/*x*/apps/*.png
%_iconsdir/hicolor/*x*/status/*.png
/usr/share/metainfo/com.github.eneshecan.WhatsAppForLinux.appdata.xml

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin