From 88b864ea3e8b5498be88d05d1bd39f90fd5ae8aa Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Mon, 25 Jul 2022 08:57:28 +0200 Subject: [PATCH] New package: btrfs-assistant-1.6.1 --- .../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 000000000000..7d6c423158a5 --- /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 ee71007..ae264f8 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -33,4 +33,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 000000000000..312382c024fc --- /dev/null +++ b/srcpkgs/btrfs-assistant/template @@ -0,0 +1,16 @@ +# Template file for 'btrfs-assistant' +pkgname=btrfs-assistant +version=1.6.1 +revision=1 +build_style=cmake +hostmakedepends="qt5-host-tools" +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=a5a9451905c79402f438e22013f03858ef977111f57019f7cc15efe829c38c5d +conf_files="/etc/btrfs-assistant.conf"