mirror of
				https://github.com/kbumsik/VirtScreen.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Created AUR package and a desktop entry
This commit is contained in:
		
							parent
							
								
									99936f6e00
								
							
						
					
					
						commit
						570a58243d
					
				
					 4 changed files with 91 additions and 6 deletions
				
			
		
							
								
								
									
										26
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										26
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -1,19 +1,33 @@
 | 
			
		|||
# See https://packaging.python.org/tutorials/distributing-packages/#packaging-your-project
 | 
			
		||||
# for python packaging reference.
 | 
			
		||||
 | 
			
		||||
.PHONY: wheel install clean
 | 
			
		||||
.PHONY:
 | 
			
		||||
 | 
			
		||||
wheel:
 | 
			
		||||
python-wheel:
 | 
			
		||||
	python setup.py bdist_wheel --universal
 | 
			
		||||
 | 
			
		||||
upload:
 | 
			
		||||
python-install:
 | 
			
		||||
	python setup.py install --user
 | 
			
		||||
 | 
			
		||||
pip-upload:
 | 
			
		||||
	twine upload dist/*
 | 
			
		||||
 | 
			
		||||
install:
 | 
			
		||||
	python setup.py install --user
 | 
			
		||||
.ONESHELL:
 | 
			
		||||
 | 
			
		||||
arch-update:
 | 
			
		||||
	cd package/archlinux
 | 
			
		||||
	makepkg --printsrcinfo > .SRCINFO
 | 
			
		||||
 | 
			
		||||
arch-install: arch-update
 | 
			
		||||
	cd package/archlinux
 | 
			
		||||
	makepkg -si
 | 
			
		||||
 | 
			
		||||
arch-clean:
 | 
			
		||||
	cd package/archlinux
 | 
			
		||||
	rm -rf pkg src *.tar*
 | 
			
		||||
 | 
			
		||||
launch:
 | 
			
		||||
	./launch.sh
 | 
			
		||||
 | 
			
		||||
clean:
 | 
			
		||||
clean: arch-clean
 | 
			
		||||
	rm -rf build dist virtscreen.egg-info
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										22
									
								
								package/archlinux/.SRCINFO
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								package/archlinux/.SRCINFO
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,22 @@
 | 
			
		|||
pkgbase = virtscreen
 | 
			
		||||
	pkgdesc = Make your iPad/tablet/computer as a secondary monitor on Linux
 | 
			
		||||
	pkgver = 0.1.1
 | 
			
		||||
	pkgrel = 1
 | 
			
		||||
	url = https://github.com/kbumsik/VirtScreen
 | 
			
		||||
	arch = i686
 | 
			
		||||
	arch = x86_64
 | 
			
		||||
	license = GPL
 | 
			
		||||
	makedepends = python-setuptools
 | 
			
		||||
	depends = xorg-xrandr
 | 
			
		||||
	depends = x11vnc
 | 
			
		||||
	depends = python-pyqt5
 | 
			
		||||
	depends = python-twisted
 | 
			
		||||
	depends = python-netifaces
 | 
			
		||||
	depends = python-qt5reactor
 | 
			
		||||
	optdepends = arandr: for display settings option
 | 
			
		||||
	provides = virtscreen
 | 
			
		||||
	source = https://github.com/kbumsik/VirtScreen/archive/0.1.1.tar.gz
 | 
			
		||||
	sha256sums = c584fe68ef296bced2ef5f3d88ffe81de1039c3062531c34547eeabd8c2f186d
 | 
			
		||||
 | 
			
		||||
pkgname = virtscreen
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										38
									
								
								package/archlinux/PKGBUILD
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								package/archlinux/PKGBUILD
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,38 @@
 | 
			
		|||
# Maintainer: Bumsik Kim <k.bumsik@gmail.com>
 | 
			
		||||
_pkgname_camelcase=VirtScreen
 | 
			
		||||
pkgname=virtscreen
 | 
			
		||||
pkgver=0.1.1
 | 
			
		||||
pkgrel=1
 | 
			
		||||
pkgdesc="Make your iPad/tablet/computer as a secondary monitor on Linux"
 | 
			
		||||
arch=("i686" "x86_64")
 | 
			
		||||
url="https://github.com/kbumsik/VirtScreen"
 | 
			
		||||
license=('GPL')
 | 
			
		||||
groups=()
 | 
			
		||||
depends=('xorg-xrandr' 'x11vnc' 'python-pyqt5' 'python-twisted' 'python-netifaces' 'python-qt5reactor')
 | 
			
		||||
makedepends=('python-setuptools')
 | 
			
		||||
optdepends=(
 | 
			
		||||
    'arandr: for display settings option'
 | 
			
		||||
)
 | 
			
		||||
provides=($pkgname)
 | 
			
		||||
conflicts=()
 | 
			
		||||
replaces=()
 | 
			
		||||
backup=()
 | 
			
		||||
options=()
 | 
			
		||||
install=
 | 
			
		||||
changelog=
 | 
			
		||||
source=(https://github.com/kbumsik/$_pkgname_camelcase/archive/$pkgver.tar.gz)
 | 
			
		||||
noextract=()
 | 
			
		||||
sha256sums=('c584fe68ef296bced2ef5f3d88ffe81de1039c3062531c34547eeabd8c2f186d')
 | 
			
		||||
 | 
			
		||||
build() {
 | 
			
		||||
  echo "$pkgdir"
 | 
			
		||||
  cd $_pkgname_camelcase-$pkgver
 | 
			
		||||
  python setup.py build
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
package() {
 | 
			
		||||
  cd $_pkgname_camelcase-$pkgver
 | 
			
		||||
  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
 | 
			
		||||
  install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
 | 
			
		||||
  install -Dm644 "$pkgname/icon/icon.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										11
									
								
								virtscreen.desktop
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										11
									
								
								virtscreen.desktop
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,11 @@
 | 
			
		|||
#!/usr/bin/env xdg-open
 | 
			
		||||
[Desktop Entry]
 | 
			
		||||
Encoding=UTF-8
 | 
			
		||||
Type=Application
 | 
			
		||||
Name=VirtScreen
 | 
			
		||||
Comment=Make your iPad/tablet/computer as a secondary monitor on Linux
 | 
			
		||||
Exec=virtscreen
 | 
			
		||||
Icon=virtscreen
 | 
			
		||||
Terminal=false
 | 
			
		||||
StartupNotify=false
 | 
			
		||||
Categories=Application;
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue