diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..a71b4bd --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,39 @@ +name: Build + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + debian: + name: Debian + runs-on: ubuntu-latest + container: docker.io/library/debian:sid + steps: + - name: Checkout Source + uses: actions/checkout@v2 + - name: Update repository + run: apt-get update -y + - name: Install the basic dev packages + run: apt-get install -y equivs curl git devscripts lintian build-essential automake autotools-dev cmake g++ + - name: Install build dependencies + run: mk-build-deps -i -t "apt-get --yes" -r + - name: Build Package + run: dpkg-buildpackage -b -uc -us -j$(nproc) + + ubuntu: + name: Ubuntu + runs-on: ubuntu-latest + steps: + - name: Checkout Source + uses: actions/checkout@v2 + - name: Update repository + run: sudo apt-get update -y + - name: Install the basic dev packages + run: sudo apt-get install -y equivs curl git devscripts lintian build-essential automake autotools-dev cmake g++ + - name: Install build dependencies + run: sudo mk-build-deps -i -t "apt-get --yes" -r + - name: Build Package + run: dpkg-buildpackage -b -uc -us -j$(nproc) diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..d923b4a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +cutefish-screenlocker (0.1) UNRELEASED; urgency=low + + * Initial release (CutefishOS) + + -- CutefishOS Thu, 16 Oct 2014 17:22:15 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..f91afd8 --- /dev/null +++ b/debian/control @@ -0,0 +1,31 @@ +Source: cutefish-screenlocker +Section: devel +Priority: optional +Maintainer: CutefishOS +Build-Depends: cmake, + debhelper (>= 9), + extra-cmake-modules, + qtbase5-dev, + qtdeclarative5-dev, + qtquickcontrols2-5-dev, + qttools5-dev, + qttools5-dev-tools, + libpam0g-dev, + libx11-dev +Standards-Version: 4.5.0 +Homepage: https://github.com/cutefishos/screenlocker + +Package: cutefish-screenlocker +Architecture: any +Depends: qml-module-qtquick-controls2, + qml-module-qtquick2, + qml-module-qtquick-layouts, + qml-module-qt-labs-platform, + qml-module-qt-labs-settings, + qml-module-qtqml, + qml-module-qtquick-window2, + qml-module-qtquick-shapes, + qml-module-qtquick-dialogs, + ${misc:Depends}, + ${shlibs:Depends} +Description: CutefishOS Screen Locker diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..716fe64 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,3 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: calamares +Source: diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..ab2f7c3 --- /dev/null +++ b/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +export QT_SELECT=5 + +%: + dh $@ + +override_dh_auto_configure: + dh_auto_configure -- -DEMBED_TRANSLATIONS=ON -DBUILD_TESTING=ON 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)