1
0
Fork 0
mirror of https://github.com/kbumsik/VirtScreen.git synced 2025-03-09 15:40:18 +00:00

First complete Debian packaging system

This commit is contained in:
Bumsik Kim 2018-05-25 14:35:57 -04:00
parent 605f906371
commit 41c483764b
No known key found for this signature in database
GPG key ID: E31041C8EC5B01C6
10 changed files with 64 additions and 11 deletions

View file

@ -33,9 +33,13 @@ deb-docker-rm:
deb-make:
docker run --privileged --interactive --tty --rm -v $(shell pwd)/package/debian:/app debmake /app/debmake.sh
deb-build:
deb-build: deb-clean deb-make
package/debian/copy_debian.sh
docker run --privileged --interactive --tty --rm -v $(shell pwd)/package/debian:/app debmake /app/debuild.sh
deb-contents:
docker run --privileged --interactive --tty --rm -v $(shell pwd)/package/debian:/app debmake /app/contents.sh
deb-clean:
rm -rf package/debian/build

View file

@ -11,6 +11,7 @@ RUN apt-get update && \
ln /usr/bin/python3 /usr/bin/python && \
ln /usr/bin/pip3 /usr/bin/pip && \
rm -rf /var/cache/apt/archives/*.deb && \
pip install --upgrade pip setuptools && \
useradd -c Builder -m -U builder
USER builder

View file

@ -0,0 +1,8 @@
virtscreen for Debian
Please edit this to provide information specific to
this virtscreen Debian package.
(Automatically generated by debmake Version 4.2.9)
-- Bumsik Kim <k.bumsik@gmail.com> Fri, 25 May 2018 17:28:18 +0000

View file

@ -0,0 +1,7 @@
#!/bin/bash
PKGVER=0.1.3
# Required for debmake
DEBEMAIL="k.bumsik@gmail.com"
DEBFULLNAME="Bumsik Kim"
export PKGVER DEBEMAIL DEBFULLNAME

6
package/debian/contents.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
source _common.sh
cd build
dpkg -c virtscreen_$PKGVER-1_all.deb

16
package/debian/control Normal file
View file

@ -0,0 +1,16 @@
Source: virtscreen
Section: utils
Priority: optional
Maintainer: Bumsik Kim <k.bumsik@gmail.com>
Build-Depends: debhelper (>=9), dh-python, python3-all
Standards-Version: 3.9.8
Homepage: https://github.com/kbumsik/VirtScreen
X-Python3-Version: >= 3.6
Package: virtscreen
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}, ${python3:Depends}, x11vnc, python3-pyqt5, qtbase5-dev, python3-twisted, python3-netifaces
Description: Make your iPad/tablet/computer as a secondary monitor on Linux
VirtScreen is an easy-to-use Linux GUI app that creates a virtual
secondary screen and shares it through VNC.

7
package/debian/copy_debian.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $DIR/_common.sh
echo $DIR/{control,rules,README.Debian} $DIR/build/virtscreen-$PKGVER/debian
cp $DIR/{control,rules,README.Debian} $DIR/build/virtscreen-$PKGVER/debian

View file

@ -1,10 +1,6 @@
#!/bin/bash
PKGVER=0.1.2
# Required for debmake
DEBEMAIL="k.bumsik@gmail.com"
DEBFULLNAME="Bumsik Kim"
export DEBEMAIL DEBFULLNAME
source _common.sh
mkdir build
cd build

View file

@ -1,10 +1,6 @@
#!/bin/bash
PKGVER=0.1.2
# Required for debmake
DEBEMAIL="k.bumsik@gmail.com"
DEBFULLNAME="Bumsik Kim"
export DEBEMAIL DEBFULLNAME
source _common.sh
cd build
cd virtscreen-$PKGVER

12
package/debian/rules Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/make -f
# You must remove unused comment lines for the released package.
export DH_VERBOSE = 1
%:
dh $@ --with python3 --buildsystem=pybuild
#override_dh_auto_install:
# dh_auto_install -- prefix=/usr
#override_dh_install:
# dh_install --list-missing -X.pyc -X.pyo