diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 000000000..7d87888a6 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,18 @@ +fastfetch (2.7.1ubuntu2) jammy; urgency=medium + + * Ignore .git + + -- Carter Li Wed, 07 Feb 2024 14:23:23 +0800 + +fastfetch (2.7.1ubuntu1) jammy; urgency=medium + + * Update build scripts + + -- Carter Li Wed, 07 Feb 2024 13:53:37 +0800 + +fastfetch (2.7.1) jammy; urgency=medium + + * Initial release. + + -- Carter Li Tue, 06 Feb 2024 15:01:11 +0800 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 000000000..48082f72f --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +12 diff --git a/debian/control b/debian/control new file mode 100644 index 000000000..262f6b944 --- /dev/null +++ b/debian/control @@ -0,0 +1,13 @@ +Source: fastfetch +Section: universe/utils +Priority: optional +Maintainer: Carter Li +Build-Depends: libvulkan-dev, libwayland-dev, libxrandr-dev, libxcb-randr0-dev, libdconf-dev, libdbus-1-dev, libmagickcore-dev, libxfconf-0-dev, libsqlite3-dev, librpm-dev, libegl-dev, libglx-dev, libosmesa6-dev, ocl-icd-opencl-dev, libnm-dev, libpulse-dev, libdrm-dev, libddcutil-dev, libchafa-dev, directx-headers-dev, pkgconf, cmake (>= 3.12), debhelper (>= 11.2), dh-cmake, dh-cmake-compat (= 1), dh-sequence-cmake, dh-sequence-ctest, ninja-build +Standards-Version: 4.0.0 +Homepage: https://github.com/fastfetch-cli/fastfetch + +Package: fastfetch +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Fastfetch is a neofetch-like tool for fetching system information and displaying them in a pretty way. + It is written mainly in C, with performance and customizability in mind. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 000000000..e09350013 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,11 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: fastfetch +Source: https://github.com/fastfetch-cli/fastfetch + +Files: * +Copyright: 2024 fastfetch-cli +License: Expat + +Files: src/3rdparty/yyjson/* +Copyright: 2020 YaoYuan +License: Expat diff --git a/debian/files b/debian/files new file mode 100644 index 000000000..497dd244b --- /dev/null +++ b/debian/files @@ -0,0 +1 @@ +fastfetch_2.7.1ubuntu2_source.buildinfo universe/utils optional diff --git a/debian/publish.sh b/debian/publish.sh new file mode 100755 index 000000000..a675a46ce --- /dev/null +++ b/debian/publish.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +debuild -S -i -I +dput ppa:zhangsongcui3371/fastfetch ~/fastfetch_*.changes diff --git a/debian/rules b/debian/rules new file mode 100755 index 000000000..eaa2bd152 --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ --buildsystem=cmake+ninja + +override_dh_ctest_configure: + dh_ctest_configure -- -DSET_TWEAK=OFF -DBUILD_TESTS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo diff --git a/debian/watch b/debian/watch new file mode 100644 index 000000000..e9b446ea1 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 +opts="filenamemangle=s%.*/@ANY_VERSION@%@PACKAGE@-$1.tar.gz%,searchmode=plain" \ +https://api.github.com/repos/fastfetch-cli/fastfetch/releases?per_page=100 \ +https://api.github.com/repos/fastfetch-cli/fastfetch/tarball/@ANY_VERSION@