diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..a79f8b6 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +hyprutils (0.1.2-1) unstable; urgency=medium + + * Initial release. (Closes: #1073158) + + -- Alan M Varghese (NyxTrail) Fri, 14 Jun 2024 05:01:57 +0000 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..c5ac8a7 --- /dev/null +++ b/debian/control @@ -0,0 +1,37 @@ +Source: hyprutils +Section: libs +Priority: optional +Maintainer: Alan M Varghese (NyxTrail) +Rules-Requires-Root: no +Build-Depends: + debhelper-compat (= 13), + cmake, +Standards-Version: 4.6.2 +Homepage: https://github.com/hyprwm/hyprutils +Vcs-Browser: https://salsa.debian.org/NyxTrail/hyprutils +Vcs-Git: https://salsa.debian.org/NyxTrail/hyprutils.git + +Package: libhyprutils-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Depends: + libhyprutils0 (= ${binary:Version}), + ${misc:Depends}, +Description: Utilities used across the Hyprland ecosystem (development files) + Hyprutils is a small C++ library for utilities used across the Hyprland + window manager ecosystem. + . + This package contains the development files. + +Package: libhyprutils0 +Architecture: any +Multi-Arch: same +Depends: + ${shlibs:Depends}, + ${misc:Depends}, +Description: Utilities used across the Hyprland ecosystem (library) + Hyprutils is a small C++ library for utilities used across the Hyprland + window manager ecosystem. + . + This package contains the binary shared library. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..09c1c1a --- /dev/null +++ b/debian/copyright @@ -0,0 +1,42 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: https://github.com/hyprwm/hyprutils +Upstream-Name: hyprutils +Upstream-Contact: vaxerski + +Files: + * +Copyright: + 2024, Hypr Development +License: BSD-3-Clause + +Files: + debian/* +Copyright: + 2024 Alan M Varghese (NyxTrail) +License: BSD-3-Clause + +License: BSD-3-Clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + . + 1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + . + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + . + 3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/debian/libhyprutils-dev.dirs b/debian/libhyprutils-dev.dirs new file mode 100644 index 0000000..4418816 --- /dev/null +++ b/debian/libhyprutils-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include diff --git a/debian/libhyprutils-dev.install b/debian/libhyprutils-dev.install new file mode 100644 index 0000000..7df81cd --- /dev/null +++ b/debian/libhyprutils-dev.install @@ -0,0 +1,3 @@ +usr/include/* +usr/lib/*/lib*.so +usr/lib/*/pkgconfig/* diff --git a/debian/libhyprutils0.dirs b/debian/libhyprutils0.dirs new file mode 100644 index 0000000..6845771 --- /dev/null +++ b/debian/libhyprutils0.dirs @@ -0,0 +1 @@ +usr/lib diff --git a/debian/libhyprutils0.install b/debian/libhyprutils0.install new file mode 100644 index 0000000..3ddde58 --- /dev/null +++ b/debian/libhyprutils0.install @@ -0,0 +1 @@ +usr/lib/*/lib*.so.* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..73b7533 --- /dev/null +++ b/debian/rules @@ -0,0 +1,26 @@ +#!/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 + + +%: + 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/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..e1e435f --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,4 @@ +Bug-Database: https://github.com/hyprwm/hyprutils/issues +Bug-Submit: https://github.com/hyprwm/hyprutils/issues/new +Repository-Browse: https://github.com/hyprwm/hyprutils +Repository: https://github.com/hyprwm/hyprutils.git diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..af6886d --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 +opts="searchmode=html" \ + https://github.com/hyprwm/hyprutils/tags \ + https://github.com/hyprwm/hyprutils/archive/refs/tags/v(\d+)\.(\d+).tar\.gz