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

bumped version

This commit is contained in:
Joel 2022-07-01 10:03:12 +09:30
parent 0bcdc8afab
commit d4ea69d16d
4 changed files with 16 additions and 16 deletions

View file

@ -1,6 +1,6 @@
# See https://packaging.python.org/tutorials/distributing-packages/#packaging-your-project # See https://packaging.python.org/tutorials/distributing-packages/#packaging-your-project
# for python packaging reference. # for python packaging reference.
VERSION ?= 0.3.1 VERSION ?= 0.3.2
DOCKER_NAME=kbumsik/virtscreen DOCKER_NAME=kbumsik/virtscreen
DOCKER_RUN=docker run --interactive --tty -v $(shell pwd):/app $(DOCKER_NAME) DOCKER_RUN=docker run --interactive --tty -v $(shell pwd):/app $(DOCKER_NAME)

View file

@ -1,7 +1,7 @@
# Maintainer: Bumsik Kim <k.bumsik@gmail.com> # Maintainer: Bumsik Kim <k.bumsik@gmail.com>
_pkgname_camelcase=VirtScreen _pkgname_camelcase=VirtScreen
pkgname=virtscreen pkgname=virtscreen
pkgver=0.3.1 pkgver=0.3.2
pkgrel=1 pkgrel=1
pkgdesc="Make your iPad/tablet/computer as a secondary monitor on Linux" pkgdesc="Make your iPad/tablet/computer as a secondary monitor on Linux"
arch=("i686" "x86_64") arch=("i686" "x86_64")
@ -11,7 +11,7 @@ groups=()
depends=('xorg-xrandr' 'x11vnc' 'python-pyqt5' 'qt5-quickcontrols2' 'python-qasync' 'python-netifaces') depends=('xorg-xrandr' 'x11vnc' 'python-pyqt5' 'qt5-quickcontrols2' 'python-qasync' 'python-netifaces')
makedepends=('python-pip' 'perl') makedepends=('python-pip' 'perl')
optdepends=( optdepends=(
'arandr: for display settings option' 'arandr: for display settings option'
) )
provides=($pkgname) provides=($pkgname)
conflicts=() conflicts=()
@ -27,9 +27,9 @@ md5sums=('SKIP')
prepare() { prepare() {
cd $srcdir/src cd $srcdir/src
# Delete PyQt5 from install_requires because python-pyqt5 does not have PyPI metadata. # Delete PyQt5 from install_requires because python-pyqt5 does not have PyPI metadata.
# See https://bugs.archlinux.org/task/58887 # See https://bugs.archlinux.org/task/58887
perl -pi -e "s/\'PyQt5>=\d+\.\d+\.\d+\',//" \ perl -pi -e "s/\'PyQt5>=\d+\.\d+\.\d+\',//" \
setup.py setup.py
} }
package() { package() {

View file

@ -1,12 +1,12 @@
#!/bin/bash #!/bin/bash
PKGVER=0.3.1 PKGVER=0.3.2
# Required for debmake # Required for debmake
DEBEMAIL="k.bumsik@gmail.com" DEBEMAIL="k.bumsik@gmail.com"
DEBFULLNAME="Bumsik Kim" DEBFULLNAME="Bumsik Kim"
export PKGVER DEBEMAIL DEBFULLNAME export PKGVER DEBEMAIL DEBFULLNAME
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
ROOT=$SCRIPT_DIR/../.. ROOT=$SCRIPT_DIR/../..
# Generate necessary files for package building (generated by debmake) # Generate necessary files for package building (generated by debmake)
@ -14,7 +14,7 @@ cd $ROOT/package/debian
cp $ROOT/virtscreen-$PKGVER.tar.gz . cp $ROOT/virtscreen-$PKGVER.tar.gz .
tar -xzmf virtscreen-$PKGVER.tar.gz tar -xzmf virtscreen-$PKGVER.tar.gz
cp $ROOT/package/debian/Makefile \ cp $ROOT/package/debian/Makefile \
$ROOT/package/debian/virtscreen-$PKGVER/Makefile $ROOT/package/debian/virtscreen-$PKGVER/Makefile
cd $ROOT/package/debian/virtscreen-$PKGVER cd $ROOT/package/debian/virtscreen-$PKGVER
debmake --yes -b':sh' debmake --yes -b':sh'
@ -22,18 +22,18 @@ debmake --yes -b':sh'
# debmake files # debmake files
mkdir -p $ROOT/package/debian/build mkdir -p $ROOT/package/debian/build
cp -R $ROOT/package/debian/virtscreen-$PKGVER/debian \ cp -R $ROOT/package/debian/virtscreen-$PKGVER/debian \
$ROOT/package/debian/build/debian $ROOT/package/debian/build/debian
cp $ROOT/package/debian/Makefile \ cp $ROOT/package/debian/Makefile \
$ROOT/package/debian/build/ $ROOT/package/debian/build/
cp $ROOT/package/debian/{control,README.Debian} \ cp $ROOT/package/debian/{control,README.Debian} \
$ROOT/package/debian/build/debian/ $ROOT/package/debian/build/debian/
# binary and data files # binary and data files
cp $ROOT/package/appimage/VirtScreen.AppImage \ cp $ROOT/package/appimage/VirtScreen.AppImage \
$ROOT/package/debian/build/ $ROOT/package/debian/build/
cp $ROOT/virtscreen.desktop \ cp $ROOT/virtscreen.desktop \
$ROOT/package/debian/build/ $ROOT/package/debian/build/
cp -R $ROOT/data \ cp -R $ROOT/data \
$ROOT/package/debian/build/ $ROOT/package/debian/build/
# Build .deb package # Build .deb package
cd $ROOT/package/debian/build cd $ROOT/package/debian/build
@ -41,4 +41,4 @@ dpkg-buildpackage -b
# cleanup # cleanup
rm -rf $ROOT/package/debian/virtscreen-$PKGVER \ rm -rf $ROOT/package/debian/virtscreen-$PKGVER \
$ROOT/package/debian/*.tar.gz $ROOT/package/debian/*.tar.gz

View file

@ -40,7 +40,7 @@ setup(
# For a discussion on single-sourcing the version across setup.py and the # For a discussion on single-sourcing the version across setup.py and the
# project code, see # project code, see
# https://packaging.python.org/en/latest/single_source_version.html # https://packaging.python.org/en/latest/single_source_version.html
version='0.3.1', # Required version='0.3.2', # Required
# This is a one-line description or tagline of what your project does. This # This is a one-line description or tagline of what your project does. This
# corresponds to the "Summary" metadata field: # corresponds to the "Summary" metadata field: