From d1936220ccabc97c380ea75a8ff78fc92cb9a7bd Mon Sep 17 00:00:00 2001 From: ochibani <11yzyv86j@relay.firefox.com> Date: Fri, 1 Dec 2023 20:22:30 +0200 Subject: [PATCH] update --- packaging/arch/PKGBUILD | 3 +-- packaging/pkg/PKGBUILD | 41 ----------------------------------------- 2 files changed, 1 insertion(+), 43 deletions(-) delete mode 100755 packaging/pkg/PKGBUILD diff --git a/packaging/arch/PKGBUILD b/packaging/arch/PKGBUILD index 6a973a7..63814c1 100755 --- a/packaging/arch/PKGBUILD +++ b/packaging/arch/PKGBUILD @@ -8,8 +8,7 @@ arch=("x86_64") url="https://github.com/xlmnxp/blue-recorder" license=("GPL3") depends=("ffmpeg" "gstreamer" "gtk4" "pulseaudio" "xorg-xwininfo") -optdepends=() -makedepends=("cargo" "clang" "gettext" "git" "gtk3" "rust") +makedepends=("cargo" "clang" "gettext" "git" "gtk3") provides=("blue-recorder") conflicts=("blue-recorder") source=("$pkgname::git+https://github.com/xlmnxp/blue-recorder.git") diff --git a/packaging/pkg/PKGBUILD b/packaging/pkg/PKGBUILD deleted file mode 100755 index 6154eb9..0000000 --- a/packaging/pkg/PKGBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Maintainer: Salem Yaslem - -pkgname="blue-recorder" -pkgver=0.1.0.36.g4ad1619 -pkgrel=1 -pkgdesc="A simple desktop recorder for Linux systems. Built using Rust, GTK+ 3 and ffmpeg. It supports recording audio and video on almost all Linux interfaces with support for Wayland display server on GNOME session." -arch=("x86_64") -url="https://github.com/xlmnxp/blue-recorder" -license=("GPL3") -depends=("ffmpeg" "libappindicator-gtk3" "gtk3" "glib2" "xorg-xwininfo" "pulseaudio") -optdepends=() -makedepends=("rust" "cargo" "git" "libappindicator-gtk3" "clang" "gettext") -provides=("blue-recorder") -conflicts=("blue-recorder") -source=("$pkgname::git+https://github.com/xlmnxp/blue-recorder.git") -sha256sums=("SKIP") - -#prepare() { -# cd $pkgname -# sed -i 's+Icon=${SNAP}/meta/gui/blue-recorder.png+Icon=blue-recorder+g' data/blue-recorder.desktop -#} - -build() - { - cd $pkgname - cargo build --release --locked --all-features --target-dir=target - } - -package() { - cd "$pkgname" - - desktop-file-install -m 644 --dir "$pkgdir/usr/share/applications/" "$srcdir/$pkgname/data/blue-recorder.desktop" - - install -Dm755 "target/release/blue-recorder" "$pkgdir/opt/blue-recorder/blue-recorder" - mkdir -p "$pkgdir/usr/bin/" - ln -s "/opt/blue-recorder/blue-recorder" "$pkgdir/usr/bin/blue-recorder" - install -Dm644 "interfaces/main.ui" "$pkgdir/opt/blue-recorder/interfaces/main.ui" - cp -r "data" "$pkgdir/opt/blue-recorder/data/" - install -Dm644 "data/blue-recorder.png" "$pkgdir/usr/share/pixmaps/blue-recorder.png" - cp -r "po" "$pkgdir/opt/blue-recorder/po/" -}