diff --git a/gpu-screen-recorder-notification/alr.sh b/gpu-screen-recorder-notification/alr.sh index c7da84b..50ade70 100644 --- a/gpu-screen-recorder-notification/alr.sh +++ b/gpu-screen-recorder-notification/alr.sh @@ -1,6 +1,6 @@ name='gpu-screen-recorder-notification' version='1.0.4' -release='1' +release='2' desc='Notification in the style of ShadowPlay.' desk_ru='Уведомления в стиле ShadowPlay' homepage='https://git.dec05eba.com/gpu-screen-recorder-notification' @@ -28,6 +28,7 @@ deps_arch=( build_deps=( "meson" + "ninja-build" "libglvnd-devel" "libX11-devel" "libXrandr-devel" @@ -36,6 +37,7 @@ build_deps=( ) build_deps_arch=( "meson" + "ninja" ) sources=("https://dec05eba.com/snapshot/gpu-screen-recorder-notification.git.${version}.tar.gz") @@ -43,18 +45,18 @@ checksums=('SKIP') build() { cd "$srcdir" - meson build - meson compile -C build -j $(($(nproc) - 1)) + meson setup build --prefix=/usr --buildtype=release -Dstrip=true + ninja -C build -j $(($(nproc) - 1)) } package() { cd "$srcdir" - meson install -C build --destdir "$pkgdir" + meson install -C build --destdir="$pkgdir" } files() { - echo ./usr/local/bin/gsr-notify - echo ./usr/local/share/gsr-notify/fonts/NotoSans-Bold.ttf - printf '"%s" ' ./usr/local/share/gsr-notify/images/* + echo ./usr/bin/gsr-notify + printf '"%s" ' ./usr/share/gsr-notify/fonts/* + printf '"%s" ' ./usr/share/gsr-notify/images/* } \ No newline at end of file diff --git a/gpu-screen-recorder/alr.sh b/gpu-screen-recorder/alr.sh index 0feca89..5a8609b 100644 --- a/gpu-screen-recorder/alr.sh +++ b/gpu-screen-recorder/alr.sh @@ -1,6 +1,6 @@ name='gpu-screen-recorder' version='5.3.3' -release='2' +release='3' desc='A shadowplay-like screen recorder for Linux. The fastest screen recorder for Linux.' desk_ru='Экранный рекордер, похожий на ShadowPlay для Linux. Самый быстрый экранный рекордер для Linux.' homepage='https://git.dec05eba.com/gpu-screen-recorder' @@ -44,6 +44,7 @@ deps_arch=( build_deps=( "meson" + "ninja-build" "vulkan-headers" "ffmpeg-devel" "libXcomposite-devel" @@ -57,6 +58,7 @@ build_deps=( ) build_deps_arch=( "meson" + "ninja" "vulkan-headers" ) @@ -69,19 +71,19 @@ scripts=( build() { cd "$srcdir" - meson build -Dsystemd=true - meson compile -C build -j $(($(nproc) - 1)) + meson setup build --prefix=/usr --buildtype=release -Dstrip=true + ninja -C build -j $(($(nproc) - 1)) } package() { cd "$srcdir" - meson install -C build --destdir "$pkgdir" + meson install -C build --destdir="$pkgdir" } files() { - echo ./usr/local/bin/gpu-screen-recorder - echo ./usr/local/bin/gsr-kms-server - echo ./usr/local/lib/modprobe.d/gsr-nvidia.conf - echo ./usr/local/lib/systemd/user/gpu-screen-recorder.service + echo ./usr/bin/gpu-screen-recorder + echo ./usr/bin/gsr-kms-server + echo ./usr/lib/modprobe.d/gsr-nvidia.conf + echo ./usr/lib/systemd/user/gpu-screen-recorder.service } \ No newline at end of file