diff --git a/debian/copyright b/debian/copyright index 09c1c1a..c6a1caf 100644 --- a/debian/copyright +++ b/debian/copyright @@ -6,13 +6,13 @@ Upstream-Contact: vaxerski Files: * Copyright: - 2024, Hypr Development + 2024-2025 Hypr Development License: BSD-3-Clause Files: debian/* Copyright: - 2024 Alan M Varghese (NyxTrail) + 2024-2025 Alan M Varghese (NyxTrail) License: BSD-3-Clause License: BSD-3-Clause diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..6f440a2 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,4 @@ +[DEFAULT] +debian-branch = debian/latest +upstream-branch = upstream/latest +pristine-tar = True \ No newline at end of file diff --git a/debian/rules b/debian/rules index 73b7533..5ac5481 100755 --- a/debian/rules +++ b/debian/rules @@ -1,26 +1,10 @@ #!/usr/bin/make -f -# See debhelper(7) (uncomment to enable). -# Output every command that modifies files on the build system. -#export DH_VERBOSE = 1 - - -# See FEATURE AREAS in dpkg-buildflags(1). export DEB_BUILD_MAINT_OPTIONS = hardening=+all -# See ENVIRONMENT in dpkg-buildflags(1). -# Package maintainers to append CFLAGS. -#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic -# Package maintainers to append LDFLAGS. -#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed - +ifeq ($(DEB_HOST_ARCH),i386) + export DEB_CXXFLAGS_MAINT_APPEND += -ffloat-store +endif %: dh $@ - - -override_dh_auto_configure: - dh_auto_configure -- \ - -DCMAKE_BUILD_TYPE:STRING=Release - -DCMAKE_INSTALL_PREFIX:PATH=/usr - # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml new file mode 100644 index 0000000..8424db4 --- /dev/null +++ b/debian/salsa-ci.yml @@ -0,0 +1,3 @@ +--- +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml diff --git a/debian/watch b/debian/watch index 7338efc..7ac8c31 100644 --- a/debian/watch +++ b/debian/watch @@ -1,4 +1,4 @@ version=4 -opts="searchmode=html" \ - https://github.com/hyprwm/hyprutils/tags \ - https://github.com/hyprwm/hyprutils/archive/refs/tags/v(\d+)\.(\d+)\.(\d+)?\.?tar\.gz +opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%" \ + https://github.com/hyprwm/hyprutils/tags \ + (?:.*?/)?v?(\d[\d.]*)\.tar\.gz