Skip to content
This repository has been archived by the owner on Apr 2, 2022. It is now read-only.

Commit

Permalink
Add packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
cassidyjames committed Sep 19, 2019
1 parent f9be85f commit a7ee40c
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 0 deletions.
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
com.github.cassidyjames.settings-shim (0.0.1) xenial; urgency=medium

* Initial release

-- Cassidy James Blaede <c@ssidyjam.es> Thu, 19 Aug 2019 14:39:42 -0700
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
15 changes: 15 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Source: com.github.cassidyjames.settings-shim
Section: x11
Priority: extra
Maintainer: Cassidy James Blaede <c@ssidyjam.es>
Build-Depends: debhelper (>= 9),
libgtk-3-dev,
meson,
valac
Standards-Version: 3.9.3

Package: com.github.cassidyjames.settings-shim
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: Calculate display info like DPI and aspect ratio
Input a few simple details and figure out the aspect ratio, DPI, and other details of any display.
24 changes: 24 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Format: http://dep.debian.net/deps/dep5
Upstream-Name: settings-shim
Source: https://github.com/cassidyjames/settings-shim

Files: src/* data/* debian/*
Copyright: 2019 Cassidy James Blaede
License: GPL-3.0+

License: GPL-3.0+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
29 changes: 29 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
dh $@

override_dh_auto_clean:
rm -rf debian/build

override_dh_auto_configure:
mkdir -p debian/build
cd debian/build && meson --prefix=/usr ../..

override_dh_auto_build:
cd debian/build && ninja -v

override_dh_auto_test:
cd debian/build && ninja test

override_dh_auto_install:
cd debian/build && DESTDIR=${CURDIR}/debian/com.github.cassidyjames.settings-shim ninja install
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (native)

0 comments on commit a7ee40c

Please sign in to comment.