diff --git a/anda/apps/telegram-desktop/anda.hcl b/anda/apps/telegram-desktop/anda.hcl new file mode 100644 index 0000000000..71e94b64de --- /dev/null +++ b/anda/apps/telegram-desktop/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "telegram-desktop.spec" + } +} diff --git a/anda/apps/telegram-desktop/telegram-desktop.spec b/anda/apps/telegram-desktop/telegram-desktop.spec new file mode 100644 index 0000000000..014cd4622b --- /dev/null +++ b/anda/apps/telegram-desktop/telegram-desktop.spec @@ -0,0 +1,32 @@ +Name: telegram-desktop +Version: 6.2.3 +Release: 1%?dist +Summary: Telegram Desktop messaging app +License: GPL-3.0-or-later WITH OpenSSL-exception +URL: https://desktop.telegram.org +Packager: madonuko +BuildRequires: boost-regex +BuildRequires: cmake +BuildRequires: cmake(ada) +BuildRequires: cmake(Qt6Core) +BuildRequires: cmake(OpenAL) +BuildRequires: cmake(KF6CoreAddons) +BuildRequires: pkgconfig(protobuf) +BuildRequires: pkgconfig(opus) + +%description +%summary. + +%prep +%git_clone https://github.com/telegramdesktop/tdesktop v%version + +%build +%cmake -DTD_E2E_ONLY=ON -DDESKTOP_APP_DISABLE_AUTOUPDATE=ON +%cmake_build + +%install +%cmake_install + +%files +%doc README.md changelog.txt +%license LICENSE LEGAL diff --git a/anda/apps/telegram-desktop/update.rhai b/anda/apps/telegram-desktop/update.rhai new file mode 100644 index 0000000000..e69de29bb2