From 4b178c489e8f401d80695cc7db28fafb789c24cb Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sat, 12 Mar 2022 03:57:34 +0000 Subject: [PATCH] removed community/libtg_owt --- community/libtg_owt/PKGBUILD | 61 ------------------------------------ 1 file changed, 61 deletions(-) delete mode 100644 community/libtg_owt/PKGBUILD diff --git a/community/libtg_owt/PKGBUILD b/community/libtg_owt/PKGBUILD deleted file mode 100644 index 90723c9b9..000000000 --- a/community/libtg_owt/PKGBUILD +++ /dev/null @@ -1,61 +0,0 @@ -# Maintainer: Jiachen YANG -# Maintainer: Sven-Hendrik Haase - -# ALARM: Kevin Mihelich -# - disable neon (-DTG_OWT_ARCH_ARMV7_USE_NEON=OFF) - -pkgname=libtg_owt -# It seems the currently desired version can be gotten from -# https://github.com/telegramdesktop/tdesktop/blob/dev/Telegram/build/docker/centos_env/Dockerfile -_commit=1fd131d -pkgver=0.git11.${_commit} -pkgrel=1 -pkgdesc='WebRTC library' -arch=('x86_64') -url='https://github.com/desktop-app/tg_owt' -license=('BSD') -# libdrm is dynamically loaded via dlopen -depends=('libdrm') -makedepends=('git' 'ninja' 'unzip' 'cmake' 'protobuf' 'libxrandr' 'libxcomposite' 'openssl' 'glibc' - 'ffmpeg' 'libva' 'opus' 'yasm' 'libjpeg-turbo' 'pipewire' 'libxtst' 'abseil-cpp' 'libepoxy') -options=('staticlibs') -source=("tg_owt::git+${url}.git#commit=${_commit}" - "libvpx::git+https://chromium.googlesource.com/webm/libvpx.git" - "libyuv::git+https://chromium.googlesource.com/libyuv/libyuv.git" - "pipewire::git+https://github.com/PipeWire/pipewire.git") -b2sums=('SKIP' - 'SKIP' - 'SKIP' - 'SKIP') - -prepare() { - cd tg_owt - git submodule init - git config submodule.src/third_party/libvpx/source/libvpx.url "$srcdir"/libvpx - git config submodule.src/third_party/libyuv.url "$srcdir"/libyuv - git config submodule.src/third_party/pipewire.url "$srcdir"/pipewire - git submodule update -} - -build() { - cd tg_owt - - export CFLAGS+=" -ffat-lto-objects" - export CXXFLAGS+=" -ffat-lto-objects -I/usr/include/libdrm" - # Upstream stated that only static builds are really supported so that's what we'll do. - # https://github.com/desktop-app/tg_owt/issues/75#issuecomment-992061171 - cmake \ - -B build \ - -G Ninja \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DBUILD_SHARED_LIBS=OFF \ - -DTG_OWT_ARCH_ARMV7_USE_NEON=OFF - ninja -C build -} - -package() { - cd tg_owt - DESTDIR="${pkgdir}/" ninja -C build install - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -}