From ded49f00d839a4060c1af00f6a970b397e6aba75 Mon Sep 17 00:00:00 2001 From: Elliot Date: Wed, 28 Feb 2024 22:31:12 -0500 Subject: [PATCH] New package: btrfs-assistant-1.9 --- .../btrfs-assistant/patches/remove-werror.patch | 10 ++++++++++ srcpkgs/btrfs-assistant/template | 16 ++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 srcpkgs/btrfs-assistant/patches/remove-werror.patch create mode 100644 srcpkgs/btrfs-assistant/template diff --git a/srcpkgs/btrfs-assistant/patches/remove-werror.patch b/srcpkgs/btrfs-assistant/patches/remove-werror.patch new file mode 100644 index 00000000000000..5247851e70465a --- /dev/null +++ b/srcpkgs/btrfs-assistant/patches/remove-werror.patch @@ -0,0 +1,10 @@ +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 269c01d..0bc471c 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -34,4 +34,4 @@ install(TARGETS btrfs-assistant-bin RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) + + find_library(BTRFSUTIL_LIB btrfsutil) + target_link_libraries(btrfs-assistant-bin PRIVATE Qt${QT_VERSION_MAJOR}::Widgets ${BTRFSUTIL_LIB}) +-target_compile_options(btrfs-assistant-bin PRIVATE -Werror -Wall -Wextra -Wconversion) ++target_compile_options(btrfs-assistant-bin PRIVATE -Wall -Wextra -Wconversion) diff --git a/srcpkgs/btrfs-assistant/template b/srcpkgs/btrfs-assistant/template new file mode 100644 index 00000000000000..eba68f52c5e753 --- /dev/null +++ b/srcpkgs/btrfs-assistant/template @@ -0,0 +1,16 @@ +# Template file for 'btrfs-assistant' +pkgname=btrfs-assistant +version=1.9 +revision=1 +build_style=cmake +hostmakedepends="qt5-host-tools qt5-qmake" +makedepends="libbtrfsutil-devel qt5-devel qt5-tools-devel" +depends="snapper" +short_desc="GUI management tool to make managing a Btrfs filesystem easier" +maintainer="Marcin Puc " +license="GPL-3.0-or-later" +homepage="https://gitlab.com/btrfs-assistant/btrfs-assistant" +changelog="https://gitlab.com/btrfs-assistant/btrfs-assistant/-/raw/main/changelog" +distfiles="https://gitlab.com/btrfs-assistant/btrfs-assistant/-/archive/${version}/btrfs-assistant-${version}.tar.gz" +checksum=2e82c5fca35e29452fc74a9ba17b987b03862dc2e8b3da02b351d9c763bf5cf5 +conf_files="/etc/btrfs-assistant.conf"