Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kimi:zoom
zoom-appimage
debian.rules
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File debian.rules of Package zoom-appimage
#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 # Add support for different Debian based distributions export VERSION_CODENAME = $(shell cat /etc/os-release | grep VERSION_CODENAME | awk -F= '{print $$2}') export VERSION_ID = $(shell cat /etc/os-release | grep VERSION_ID | awk -F= '{print $$2}') export PRETTY_NAME=$(shell cat /etc/*-release | egrep "PRETTY_NAME" | cut -d = -f 2) ifeq ($(findstring Raspbian,$(PRETTY_NAME)),Raspbian) # Found export PLATFORM=Raspbian export BUILDDIR=obj-arm-linux-gnueabihf export LIBDIR=lib/arm-linux-gnueabihf else # Not found export PLATFORM=DebianOrUbuntu export BUILDDIR=obj-x86_64-linux-gnu export LIBDIR=lib/x86_64-linux-gnu endif export TITLE="Zoom AppImage" export executable=zoom export executable_tag=appimage export launcher=$(executable)-$(executable_tag) #export architecture=$(shell uname -m) export architecture=$(shell lscpu | awk '/Architecture:/{print $2}') export webDir="https://download.opensuse.org/repositories/home:/kimi:/zoom/AppImage/" export APPIMAGE="$(webDir)$(executable)-latest-$(architecture).AppImage" export appimageDir=/opt/appimages export pkgname=$(executable)-$(executable_tag) export _topdir=/usr/src/packages export _builddir=$(_topdir)/BUILD export _sourcedir=$(_topdir)/SOURCES export srcdir=/usr/src/packages/SOURCES export pkgdir_head=/usr/src/packages/BUILD/debian #export pkgdir=$(pkgdir_head)/$(pkgname) export pkgdir=$(pkgdir_head)/tmp export buildroot=$(pkgdir) export uploaddir=/usr/src/packages/SOURCES export pkgver=$(shell head -6 $(uploaddir)/$(pkgname).dsc | grep Version | tr -d ' ' | cut -d: -f2 | cut -d- -f1) export pkgrel=1 export MAINTAINER=Kimi export MAINTAINEREMAIL=noreply@nodomain.org export CONTROLFILE=/usr/src/packages/BUILD/debian/changelog export DAY=$(shell LANG=en_us_88591; date +"%a") export DAYNUM=$(shell LANG=en_us_88591; date +"%d") export MONTH=$(shell LANG=en_us_88591; date +"%b") export YEAR=$(shell LANG=en_us_88591; date +"%Y") export TIMESTRING=$(shell LANG=en_us_88591; date +"%T") export HOUR=$(shell LANG=en_us_88591; date -d '1 hour ago' +"%H") export MINUTE=$(shell LANG=en_us_88591; date +"%M") export delaythis=$(shell sleep 2) export SECOND=$(shell LANG=en_us_88591; date +"%S") export TIMEZONE=$(shell LANG=en_us_88591; date +"%z") export icon=$(pkgdir)/usr/share/icons/hicolor/scalable/apps/$(pkgname).svg export script_one=$(pkgdir)/usr/local/bin/auto-start-$(executable)-$(executable_tag) export script_two=$(pkgdir)/usr/local/bin/remove-auto-start-$(executable)-$(executable_tag) export script_three=$(pkgdir)/usr/local/bin/$(executable)-$(executable_tag)-download export script_four=$(pkgdir)/usr/local/bin/firejail-$(executable)-allow-opengl export script_five=$(pkgdir)/usr/local/bin/firejail-$(executable)-allow-camera export script_six=$(pkgdir)/usr/local/bin/firejail-$(executable)-reset export proFile=\$HOME/.config/firejail/$(executable).local export script_seven="$(pkgdir)/usr/local/bin/$(executable)-$(executable_tag)-update" %: dh $@ override_dh_auto_configure: echo echo "--- Start override_dh_auto_configure: ---" echo echo echo "--- End override_dh_auto_configure: ---" echo override_dh_auto_build: echo echo "--- Start override_dh_auto_build: ---" echo #find /usr/src/packages echo echo "--- End override_dh_auto_build: ---" echo override_dh_auto_test: echo echo "--- Start override_dh_auto_test: ---" echo echo echo "--- End override_dh_auto_test: ---" echo override_dh_usrlocal: echo echo "--- Start override_dh_usrlocal: ---" echo echo echo "--- End override_dh_usrlocal: ---" echo override_dh_shlibdeps: echo echo "--- Start override_dh_shlibdeps: ---" echo echo echo "--- End override_dh_shlibdeps: ---" echo #override_dh_strip: # echo # echo "--- Start override_dh_strip: ---" # echo # echo # echo "--- End override_dh_strip: ---" # echo override_dh_auto_install: echo echo "--- Start override_dh_auto_build: ---" echo "Different Debian based distros need different patches and adjustments." echo PRETTY_NAME=$(PRETTY_NAME) echo PLATFORM=$(PLATFORM) echo VERSION_CODENAME=$(VERSION_CODENAME) echo VERSION_ID=$(VERSION_ID) echo BUILDDIR=$(BUILDDIR) echo LIBDIR=$(LIBDIR) echo echo pwd=$(shell pwd) echo echo "Builds $(pkgname)" echo _topdir=$(_topdir) echo _builddir=$(_builddir) echo _sourcedir=$(_sourcedir) echo uploaddir=$(uploaddir) echo srcdir=$(srcdir) echo buildroot=$(buildroot) echo "----------------------------------------" echo echo echo "--- Start override_dh_auto_install: ---" echo echo pwd=$(shell pwd) echo echo "Installs $(TITLE) version" echo srcdir=$(srcdir) echo pkgdir_head=$(pkgdir_head) echo pkgdir=$(pkgdir) echo pkgver=$(pkgver) sed -i "s|PACKAGEVERSION|$(pkgver)|g" "$(uploaddir)/debian.postinst" echo "cat $(uploaddir)/debian.postinst" echo "------------------------------" cat "$(uploaddir)/debian.postinst" echo "------------------------------" mkdir -p -v "$(pkgdir)$(appimageDir)" #touch "$(pkgdir)$(appimageDir)/$(executable).AppImage" #chmod 755 "$(pkgdir)$(appimageDir)/$(executable).AppImage" #install -Dm755 "$(srcdir)/$(executable).sh" "$(pkgdir)/usr/bin/$(executable)" install -dm755 "$(pkgdir)/usr/share/icons/hicolor/scalable/apps" echo #cat <<EOF > "$(icon)" #echo "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1000 1000\">" > "$(icon)" #echo " <path fill=\"#f5f5f5\" d=\"M485.4 999.7a2 2 0 0 1 1.2 0c.4.1 0 .2-.6.2s-1 0-.6-.2zm28 0a2 2 0 0 1 1.2 0c.4.1 0 .2-.6.2s-1 0-.6-.2zm-23.5-37.5a2 2 0 0 1 1.2 0c.4.1 0 .2-.6.2s-1 0-.6-.2zm19.2 0a2.9 2.9 0 0 1 1.5 0c.4.1 0 .2-.9.2-.8 0-1-.1-.6-.3zm9-.6a2.9 2.9 0 0 1 1.5 0c.4.2 0 .3-.9.3-.8 0-1-.1-.6-.3zm-47.2-.5 1 .1c.1.2-.2.3-.7.3-.6 0-.7-.2-.3-.3zm92.5-3.4a2 2 0 0 1 1.2 0c.4.1 0 .2-.6.2s-1 0-.6-.2zm60.5-12.5c.4-.2.8-.2 1 0 .1.2-.2.3-.7.3-.6 0-.7-.2-.3-.3zM615 842.5a260 260 0 0 1-69-19.4 484 484 0 0 1-82.5-49.4c-44.1-33.2-94-86.7-149.5-160.4a420.7 420.7 0 0 0-11.5-15.2 6 6 0 0 0-1.4-2.2 28 28 0 0 1-2.3-3.2 25.9 25.9 0 0 0-2.6-3.7c-1-1.2-2.2-3-2.7-4s-2.3-3.4-4-5.5a42.2 42.2 0 0 1-3.8-5.5c-.5-.9-3.1-5.3-6-9.7a571.6 571.6 0 0 1-30.3-52.6 570.6 570.6 0 0 1-25.7-56 122 122 0 0 0-3.5-8.5c-.9-1.4-7.2-21-9.9-30.8a269.5 269.5 0 0 1-10.9-84.4c1.7-29 8.2-51 21.4-72.1 5.6-9 8.7-13 17.2-21.6l7.8-7.9 3 4a517 517 0 0 1 5.6 7 181.5 181.5 0 0 0 7.1 9.1l5.3 7.1 6 7.8a183.3 183.3 0 0 0 6.8 8.7 57.1 57.1 0 0 0 2.6 3.5 586.2 586.2 0 0 1 8.4 10.8 260.3 260.3 0 0 0 15.5 20 44 44 0 0 1 2.8 3.5c.4.8 1.4 2 2.1 2.9l2 2.5 3.9 5a529.3 529.3 0 0 1 11.3 14.7 332.5 332.5 0 0 0 7 9 711.7 711.7 0 0 0 12 15.3c7.7 9.8 10.3 12.8 10.8 12.4.3-.1.5.2.5.8 0 1.2.6 2.1 7.3 10.5l6.1 8 1.6 2.1-2 4a24 24 0 0 0-2 4.6c0 .5-.2.8-.5.8s-.5.2-.4.4c0 .2-.4 2-1 3.9-4.3 13.2-1.2 35 7.4 52.2 14 27.8 70.3 104 112 151.5 7.3 8.2 19.8 20.7 26 26l5.5 4.6a81.5 81.5 0 0 0 22 12.8c0 1.3 13.9 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 1.2 0c.4.2 0 .3-.6.3s-1-.1-.6-.2zm28.5 0a2 2 0 0 1 1.2 0c.4.2 0 .3-.6.3s-1-.1-.6-.2z\"/>" >> "$(icon)" #echo " <path fill=\"#00242c\" d=\"M473.8 999a506.4 506.4 0 0 1-218.6-63.5A500 500 0 0 1 95.4 792.9a544.8 544.8 0 0 1-32.9-51.6 812.4 812.4 0 0 1-20-40.5 506.6 506.6 0 0 1-39-256 499.6 499.6 0 0 1 160.1-314.1A499.3 499.3 0 0 1 438.5 4.3c24.2-3 43-4 69-3.6 19.8.2 30.8.9 48 2.8 89.1 10 175 44.2 246.5 98.5a472 472 0 0 1 31.7 26.2c7.1 6.3 33 32.3 39.9 40a502.5 502.5 0 0 1 110.5 208.3A508.5 508.5 0 0 1 999 477a500.5 500.5 0 0 1-459.3 521 630.3 630.3 0 0 1-66 1z\"/>" >> "$(icon)" #echo " <path fill=\"#056e80\" d=\"M501 38.6a392 392 0 0 0-45.8 1.3 473.2 473.2 0 0 0-126 30.8 450 450 0 0 0-55 26.8c-1 1-2.1 1.8-2.3 1.6-1.2-1.2-31.4 18-48 30.5a494.8 494.8 0 0 0-69.1 63.6A462.8 462.8 0 0 0 76 316.7a464.6 464.6 0 0 0-36 138.1c-1.8 17-2 69.2-.5 85.9a478.9 478.9 0 0 0 32.3 132.8A462.5 462.5 0 0 0 472.6 961c6.3.3 11.5.7 11.7.9.8.7 45.9-.7 57.6-1.9a453 453 0 0 0 143.2-36.8 642 642 0 0 0 53.2-27.5 470 470 0 0 0 145.4-138.5 491.3 491.3 0 0 0 53.7-108.5 463.3 463.3 0 0 0 17.1-231.6 463.4 463.4 0 0 0-57.8-153.8l-5.3-8.9c-7.5-12.5-25-36.5-38.7-52.8a480.7 480.7 0 0 0-88-80.3A467.8 467.8 0 0 0 576 44.2a357.3 357.3 0 0 0-75-5.6ZM498.5 54a377 377 0 0 1 87.1 7.7 466.7 466.7 0 0 1 96.2 29.8 284.4 284.4 0 0 1 26.5 13c8.4 4.3 7.5 3.8 24.7 14.2a450.4 450.4 0 0 1 146 144.6 440.8 440.8 0 0 1 67.1 237.3c0 34-1.5 50.4-7 81a521 521 0 0 1-25.4 87.8c-.6 1.6-1.6 3.9-6 13.6a28.2 28.2 0 0 0-2.1 5.6c0 .4-.8 1.8-1.6 3a32.8 32.8 0 0 0-3 5.8 35.5 35.5 0 0 1-2.8 5.7 80.7 80.7 0 0 0-3.8 6.8 455.4 455.4 0 0 1-45.1 69.3 493.8 493.8 0 0 1-81.4 78.7 446.7 446.7 0 0 1-218 86.1c-6 .7-19.6 1.6-30.3 2-18.4.8-33 .9-42.1.3A445 445 0 0 1 304 901.5a445.8 445.8 0 0 1-192-179.4 230.9 230.9 0 0 0-4-7.3 605.6 605.6 0 0 1-18.7-38l-3.5-9a439.5 439.5 0 0 1-32.2-157.5c-.8-36 2.2-69.3 9.1-102a487 487 0 0 1 30-92.8c2.1-4.8 13.1-27 14.3-28.9l13.6-23.3c.7-1.1 2.7-4.4 4.6-7.1a452.4 452.4 0 0 1 139.1-135.8 139.9 139.9 0 0 0 15-10.1c0 .3 6.5-2.8 14.4-6.8 21-10.7 20.4-10.4 33.4-15.6A449 449 0 0 0 339 83a398 398 0 0 1 36.9-12.1c25-7.2 48-11.7 76.9-15a355 355 0 0 1 45.7-2zm117.2 31.2c-2.2.4-5.6 8.7-7.3 17.7-4.4 22.6-6.5 55.8-12.3 197.2-4.4 108.7-6.3 135-10.2 141.1-1.3 2.2-2.2 2.3-3.9.6-3.3-3.4-4.2-15.4-5.7-80.5-1.3-54.8-2.4-81.4-3.7-93.6-2.5-22.7-9-32.4-14.4-21.6-4.5 8.9-5.7 25.7-7.8 105.8-1.2 44.3-2 61.5-3.3 64.7-.8 2-2.7 1.7-3.5-.5-1.2-3.2-1.7-11.7-3-49.6-1.6-52.5-2.2-59-5.7-65-3.4-5.8-6.6-6.4-9.8-1.6-4.2 6.2-5.3 16.5-7.1 68.2-1.8 51.7-2.8 60.9-6.7 62.4-2.2.8-5.4-2.3-6.8-6.6-3-8.8-4.3-22.8-10-106-5.8-83.8-8-102.3-13.7-113.7-2.3-4.5-4.5-6.1-7.4-5.4-4.4 1-7.5 8.4-22.7 53.1a520 520 0 0 1-20.1 53.9c-1 1.5-.4 2.7 6.5 12.5 4.2 6 8.7 13.1 10.1 15.9 2.3 4.7 2.4 5.1 1.3 7.7-.6 1.5-4 5.4-7.3 8.6a351 351 0 0 1-47.1 36 32 32 0 0 0-6.1 4.3 186 186 0 0 1-11.2 8.4c-7 5.1-8.3 6.3-8.3 8.2 0 1.2-.6 3.7-1.3 5.4-1 2.5-1.2 5-.9 12.8a81.8 81.8 0 0 0 9.5 35.7c14.2 28.5 72.1 106.8 113 152.5a97 97 0 0 0 9 9.4c.2-.4 1-8 2-17 1.9-19.5 3.4-27.8 5.8-32.7 2.9-5.8 7-5.5 8.7.7a280 280 0 0 1 3.2 45l.5 23.4 5.6 3.9c6 4.1 14.3 8.8 15.6 8.8.5 0 1-9.2 1.4-23 .6-26.5 1.7-44.4 3-48.1 1.6-5.1 3.4-2.6 4.3 6.3.4 4.6 2.9 59 2.9 65 0 2.1.1 2.2 4.4 2.2 4.8 0 4.6.1 16.9-11.3l3.9-3.7.7-26.7a464 464 0 0 1 3.3-54c.9-3.4 2.6-5.1 4.4-4.5 3.3 1.3 4.9 11.7 7.6 50.2.9 12 1.7 22 1.9 22 .7.8 8.7-4 17-10.3 18.4-13.8 32.9-22.3 36.3-21.2.9.3 3.8 2.5 6.5 5l4.8 4.4v-5c0-14.1 1.7-48 2.5-51.8 1.5-6.8 4.7-6.3 6.8 1.1a89.7 89.7 0 0 1 2 11c1 8.2 3 38.4 3.6 52.6l.4 10 9.6 12.2 9.5 12.1.5-3.5c.3-2 .8-13.4 1-25.5 1.7-67 3.5-88.3 7.6-92.9 1.6-1.7 5.7-1.9 8-.2a13 13 0 0 1 3.4 5c3.6 8.4 5.4 22.4 8.7 67.5 3 42.1 4.7 53 8 53 3 0 8.9-14.4 11.3-28 1.6-8.4 2.6-21 4.2-51.3 2.4-46.4 2.7-48 8.4-47.2 1.7.2 6 2.1 9.5 4.2A35 35 0 0 0 782 537c5.1 0 8-1.6 33.6-19l18.7-12.6h9.9c14.9 0 55.7-1.5 66.1-2.4 10.3-1 13.1-1.9 11.3-3.7-2.2-2.2-13-3-61.6-4.4l-26.4-.8-19-12.7c-18.8-12.7-27.6-17.6-33-18.6-4-.8-9.1.8-17.4 5.5a36.7 36.7 0 0 1-10.7 4.5c-3.1.4-3.5.2-4.3-1.8-.4-1.2-1.7-17.6-2.8-36.3-2.5-41.5-3.3-51.2-5.3-61.8-2.8-14.4-8.2-27.5-11.1-26.9-3 .6-5 13.6-7.5 48.9-4.2 59.8-6.5 73.3-13.3 77.4-3.4 2.1-4.9 2-7.2-.9-3.8-4.5-4.7-13.8-6.6-67.6-2.3-65.3-3.9-78.5-9.4-81.4-2-1.2-4.4 0-6 3-2.8 5.6-4.4 20-7 62.2-2.5 43.7-3.7 56.2-5.8 62.3-1.2 3.4-3.1 4.5-5 3-2-1.8-2 .2-4.5-148-1.2-68.4-2.2-86.5-5.8-104a54.7 54.7 0 0 0-7.7-19.7 3.9 3.9 0 0 0-6.3.4c-3.5 5.4-4.2 18.2-5.7 95.4-1.4 71.4-2.4 97.2-3.9 101.7-1.2 3.6-3.3 5.3-4.7 3.8-2.3-2.2-2.7-24.1-1.6-87.3 1.6-97.8 2-168.4 1-182.5-1.3-16.5-4.4-28-7.3-27.5zM384.6 212.6l-.5.4c-1 1.2-2.2 8-3 18.8a66 66 0 0 1-1 8.6c-.1.3-.8-.3-2.5-2.4a14.2 14.2 0 0 0-2-2l2.2 3 3.5 4.7a216.8 216.8 0 0 0 7.6 9.8 4 4 0 0 0-.3-1.2c-.4-1-.5-2.2-1-11.7-.8-18.8-1-22.2-1.7-25.3-.4-1.4-1-2.7-1.3-2.7zM220.5 448.4l-1 4.8c-1.8 9.8-4.2 15.9-7.4 19.2l-3 3.2-6.4-.3c-9.8-.5-11.7-1.7-16.4-11.2-4.2-8.2-5.8-9.8-8.9-8.1-1.5.8-3 3.5-10.1 19.1l-3 6.6-10.7 5.4a78.5 78.5 0 0 1-15 6.2c-2.5.4-14.7 1.4-27.2 2-29.4 1.6-33.6 2.2-33.6 4.8 0 2.1 5.5 2.9 28.3 3.7 32 1.3 34.5 1.6 42 6 3.4 2 7.6 4 9.2 4.5 4.4 1.4 8 6.2 12.4 16.3 4.8 11.1 6.2 12.9 9.6 12.9 3.3 0 4.8-1.6 6.6-7.3a17.1 17.1 0 0 1 17-12.1c3.5 0 9 2.8 9.8 5 .2.8.8 1.4 1.2 1.4 1.4 0 4 7 5.2 14 .6 3.7 1.7 13.3 2.4 21.3 1.6 18.2 2.6 25 4.5 29.3 1.8 4.2 4.2 4.6 8 1.3 5.4-4.5 8-12.3 11.8-37a469 469 0 0 1 4.1-23c1.3-5 4.3-8.6 6.5-7.8.6.3 1.2.3 1.2 0l-10.4-20.9a579.2 579.2 0 0 1-23.2-50.4z\" style=\"-inkscape-stroke:none\"/>" >> "$(icon)" #echo " <path fill=\"#dfdfdf\" d=\"M612.3 842.1c-.2-.2-2.2-.6-4.4-.8a75.3 75.3 0 0 1-9.7-1.7 338 338 0 0 1-43-13 279.2 279.2 0 0 0-5.2-2A474.9 474.9 0 0 1 445.5 759a552 552 0 0 1-17-15.1 990 990 0 0 1-99.4-111.4 1392.2 1392.2 0 0 1-16.4-21.5 93.3 93.3 0 0 0-4-5.2 65 65 0 0 1-3.3-4.3 173 173 0 0 0-4.7-6 99 99 0 0 0-8.3-12.4 194 194 0 0 1-15.6-24 526 526 0 0 1-29.7-53 512.7 512.7 0 0 1-23.1-50.6 363.5 363.5 0 0 1-22-79.8l-1.2-9.3c-.4-3.6-1-13-1-21-.9-44.2 11.6-79.3 37.5-106l8.5-8.8 13.4 17.3a6674.4 6674.4 0 0 1 28.4 36.7l9.7 12.6 9.9 13a67 67 0 0 0 3.8 4.8 768.2 768.2 0 0 0 10.5 13.6l5 6.3a2632.4 2632.4 0 0 0 28 35.7 288.6 288.6 0 0 1 7.6 9.7l6.6 8.7c2.2 2.6 3.9 5.5 3.9 6.3 0 .8-1 3.6-2.3 6.2a61.3 61.3 0 0 0-3.5 8.6 83.7 83.7 0 0 0 2.2 36c1.7 7.6 11.4 26.3 19.4 37.6 1.6 2 2.8 4.2 2.8 4.6 0 .5.4.8.8.8.5 0 .8.5.8 1.2 0 .6.3 1.2.7 1.4a33 33 0 0 1 4.5 6l6.4 9.3a569.9 569.9 0 0 1 4.2 6.1l3.7 5.2 14.6 19.4a1491.2 1491.2 0 0 0 59 73.7l6.6 7.3a194.4 194.4 0 0 0 43.3 35.9c5.6 2.8 12.8 3.8 26.4 3.8h13.4l17.8 23.3c28.8 37.8 92.7 123 98.6 131.7 6.7 9.5 7 8.9-6 15.5a127.4 127.4 0 0 1-36 12c-7.6 1-36.8 2-37.7 1.1zm-230.5-460a196.3 196.3 0 0 1-8.8-9.9 504 504 0 0 0-9-10.8 92.1 92.1 0 0 0-2.4-2.9 466 466 0 0 1-7.4-9.4 245.1 245.1 0 0 0-8.3-10.3c-.9-1-1.7-2-1.7-2.3A7309 7309 0 0 1 258.4 222c0-.9 9.9-9.3 20.2-17.3 17.8-13.8 42.3-28.3 48-28.5 2.8-.1 4.1 1.4 25.7 29.8l20.5 26.8 37.2 49.4c30.4 40.3 39.4 54.1 38.4 58.3-.7 2.8-7.3 9.7-17.5 18.2-18.8 15.6-38.2 29.2-41.7 29.2-1.1 0-3.8-2.2-7.4-5.9zm325.7 427a218 218 0 0 1-12.9-15.3C662.6 753 595 664 587.2 652.5l-4.2-6.3 2.4-3.4c2-2.9 12.7-12.8 20-18.7 13.8-11 37-25.5 40.7-25.5 2.2 0 11 8 19 17.3l7.6 8.9c4.7 5.2 50.3 65.3 67.3 88.8a589 589 0 0 1 29.5 43l1.9 3.9-2.1 3a248.2 248.2 0 0 1-26 26.5c-13.2 11.4-28 21.6-31.5 21.6-.8 0-2.7-1.2-4.3-2.6z\" style=\"-inkscape-stroke:none\"/>" >> "$(icon)" #echo "</svg>" >> "$(icon)" echo "<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.2\" viewBox=\"0 0 128 128\"><path fill=\"#fefefe\" d=\"m58.347 126.765-4.154-.586A62.653 62.754 0 0 1 3.38 80.07a50.813 50.895 0 0 1-1.855-15.867c0-7.33.318-10.434 1.817-15.994A62.78 62.881 0 0 1 48.4 3.242c5.843-1.463 8.816-1.82 15.676-1.82 5.272 0 6.732.09 9.527.547a62.132 62.232 0 0 1 34.782 17.725 62.156 62.156 0 0 1 17.696 34.863c.495 3.143.635 6.337.546 9.517-.14 5.28-.318 9.836-1.817 15.74a62.78 62.881 0 0 1-44.893 45.093 53.392 53.478 0 0 1-14.863 1.858l-6.708-.039zm14.317-5.471a57.673 57.766 0 0 0 11.687-111.27A57.648 57.74 0 0 0 8.131 78.44a57.838 57.932 0 0 0 64.597 42.84ZM35.316 84.14a11.382 11.4 0 0 1-8.676-8.729c-.496-2.214-.56-29.226-.102-30.231.648-1.4-.101-1.375 21.85-1.336 21.9 0 22.13 0 24.733 1.297a12.106 12.126 0 0 1 4.485 4.263c1.562 2.646 1.6 2.926 1.6 19.073v14.53l-.711.713-.724.687H57.09c-11.395 0-21.177-.127-21.8-.254zm63.34.038c-.23-.063-4.193-2.926-8.817-6.26l-8.422-6.12V56.542l8.486-6.184a156.56 156.56 0 0 1 9.108-6.425 1.016 1.018 0 0 1 1.016.254c.356.37.42 2.125.42 19.913 0 17.406-.064 19.556-.382 19.875-.432.432-.724.496-1.397.203z\"/><path fill=\"#e8ecea\" d=\"M53.965 127.337A63.86 63.963 0 0 1 .839 74.241 56.492 56.583 0 0 1 .001 64.2c.127-5.456.609-10.52 2.134-16.22A64.088 64.192 0 0 1 48.11 2.046 67.328 67.436 0 0 1 64.077.01c3.264-.076 6.936.293 9.756.789a63.987 64.09 0 0 1 53.481 53.529c.457 2.837.686 6.515.686 9.772 0 3.27-.229 6.947-.686 9.785a63.987 64.09 0 0 1-53.15 53.49c-2.503.433-6.175.611-9.274.624-3.646.013-7.241-.09-10.925-.649zm19.97-1.158a62.78 62.881 0 0 0 50.876-46.365 65.537 65.642 0 0 0 1.957-15.74 62.208 62.309 0 0 0-18.382-44.38A61.967 62.067 0 0 0 73.579 1.969a53.443 53.53 0 0 0-9.502-.788c-5.272.127-9.82.56-15.676 2.06A62.78 62.881 0 0 0 3.329 48.196 59.515 59.611 0 0 0 1.22 64.19c.013 5.344.61 9.975 2.147 15.867a62.653 62.754 0 0 0 50.814 46.073c3.582.649 7.24.636 10.861.623 2.973-.013 6.479-.204 8.918-.585z\"/><path fill=\"#558dfe\" d=\"M59.326 121.777a57.737 57.83 0 1 1 13.338-.522c-3.646.548-10.086.815-13.338.484zm19.207-38.12.686-.726V68.426c0-16.083 0-16.414-1.626-19.022a12.106 12.126 0 0 0-4.459-4.263c-2.604-1.297-2.833-1.336-24.72-1.336-21.927 0-21.215-.063-21.825 1.298-.457 1.044-.432 28.056.064 30.308a11.382 11.4 0 0 0 8.676 8.704c.597.089 10.417.19 21.799.229h20.63zm21.532.318c.33-.319.394-2.469.394-19.875 0-17.788-.038-19.544-.42-19.938a.978.98 0 0 0-.977-.255c-.33.09-4.421 2.965-9.109 6.388l-8.524 6.247V71.76l8.46 6.133a298.63 299.112 0 0 0 8.779 6.285c.686.255.978.23 1.397-.203z\" style=\"fill:#b200f8;fill-opacity:1\"/></svg>" > "$(icon)" # install -Dm644 "$(srcdir)/launcher.desktop" "$(pkgdir)/usr/share/applications/$(executable).desktop" # # Create a DEBIAN/changelog file echo CONTROLFILE=$(CONTROLFILE) echo DAY=$(DAY) echo DAYNUM=$(DAYNUM) echo MONTH=$(MONTH) echo YEAR=$(YEAR) echo TIMESTRING=$(TIMESTRING) echo HOUR=$(HOUR) echo MINUTE=$(MINUTE) echo SECOND=$(SECOND) echo TIMEZONE=$(TIMEZONE) # #echo "$(pkgname) ($(pkgver)-$(pkgrel)) unstable; urgency=low" > $(CONTROLFILE) #echo >> $(CONTROLFILE) #echo " * Initial Release." >> $(CONTROLFILE) #echo >> $(CONTROLFILE) #echo " -- $(MAINTAINER) <$(MAINTAINEREMAIL)> $(DAY), $(DAYNUM) $(MONTH) $(YEAR) $(HOUR):$(MINUTE):$(SECOND) $(TIMEZONE)" >> $(CONTROLFILE) # echo echo "---$(CONTROLFILE)---" cat $(CONTROLFILE) echo "----------------------------------------" echo # Create script in /usr/local/bin/auto-start-$(executable)-$(executable_tag) #mkdir -p -v $(pkgdir)/usr/local/bin #echo "#!/bin/bash" > $(script_one) #echo >> $(script_one) #echo "# Create a script to auto-start $(executable)-$(executable_tag) at login" >> $(script_one) #echo >> $(script_one) #echo "# Remove all previous auto-start .desktop icons" >> $(script_one) #echo "find \"\$HOME/.config/autostart\" -name *$(executable)*.desktop -type f -exec rm -f {} + 2>/dev/null" >> $(script_one) #echo >> $(script_one) #echo "# This starts app minimized or --iconified" >> $(script_one) #echo "echo \"[Desktop Entry]\" > \$$HOME/.config/autostart/$(menuFileNameMinimized)" >> $(script_one) #echo "echo \"Encoding=UTF-8\" >> \$$HOME/.config/autostart/$(menuFileNameMinimized)" >> $(script_one) #echo "echo \"Name=Linphone\" >> \$$HOME/.config/autostart/$(menuFileNameMinimized)" >> $(script_one) #echo "echo \"Name[fr]=Linphone\" >> \$$HOME/.config/autostart/$(menuFileNameMinimized)" >> $(script_one) #echo "echo \"Name[sv]=Linphone\" >> \$$HOME/.config/autostart/$(menuFileNameMinimized)" >> $(script_one) #echo "echo \"Name[cs]=Linphone\" >> \$$HOME/.config/autostart/$(menuFileNameMinimized)" >> $(script_one) #echo "echo \"GenericName=SIP Phone\" >> \$$HOME/.config/autostart/$(menuFileNameMinimized)" >> $(script_one) #echo "echo \"Comment=A libre SIP client\" >> \$$HOME/.config/autostart/$(menuFileNameMinimized)" >> $(script_one) #echo "echo \"Comment[sv]=En fri SIP-telefon-klient\" >> \$$HOME/.config/autostart/$(menuFileNameMinimized)" >> $(script_one) #echo "echo \"Comment[fr]=Un libre SIP-client\" >> \$$HOME/.config/autostart/$(menuFileNameMinimized)" >> $(script_one) #echo "echo \"Comment[cs]=Libre SIP-klient\" >> \$$HOME/.config/autostart/$(menuFileNameMinimized)" >> $(script_one) #echo "echo \"Type=Application\" >> \$$HOME/.config/autostart/$(menuFileNameMinimized)" >> $(script_one) #echo "echo \"Icon=linphone\" >> \$$HOME/.config/autostart/$(menuFileNameMinimized)" >> $(script_one) #echo "echo \"Terminal=false\" >> \$$HOME/.config/autostart/$(menuFileNameMinimized)" >> $(script_one) #echo "echo \"Exec=/usr/bin/linphone --iconified 'call sip-address=%u'\" >> \$$HOME/.config/autostart/$(menuFileNameMinimized)" >> $(script_one) #echo "echo \"Exec=$(appimageDir)/$(executable).AppImage --iconified 'call sip-address=%u'\" >> \$$HOME/.config/autostart/$(menuFileNameMinimized)" >> $(script_one) #echo "echo \"MimeType=x-scheme-handler/sip;x-scheme-handler/sip-linphone;x-scheme-handler/sip;x-scheme-handler/sips-linphone;x-scheme-handler/sips;x-scheme-handler/tel;x-scheme-handler/callto;x-scheme-handler/linphone-config;\" >> \$$HOME/.config/autostart/$(menuFileNameMinimized)" >> $(script_one) #echo "echo \"X-PulseAudio-Properties=media.role=phone\" >> \$$HOME/.config/autostart/$(menuFileNameMinimized)" >> $(script_one) #echo "echo \"StartupWMClass=linphone;linphone\" >> \$$HOME/.config/autostart/$(menuFileNameMinimized)" >> $(script_one) #echo "echo \"Categories=Application;Network;Telephony;Internet\" >> \$$HOME/.config/autostart/$(menuFileNameMinimized)" >> $(script_one) #echo "chmod +x \"\$$HOME/.config/autostart/$(menuFileNameMinimized)\"" >> $(script_one) #echo >> $(script_one) #echo "echo \"[OK] $(TITLE) is now in auto-start mode.\"" >> $(script_one) #echo >> $(script_one) #echo "echo \"Done.\"" >> $(script_one) #echo "exit 0" >> $(script_one) #echo >> $(script_one) # # Make script executable #chmod +x $(script_one) # # Create a script to remove auto-start $(TITLE) # Create script in /usr/local/bin/remove-auto-start-$(executable)-$(executable_tag) # #echo "#!/bin/bash" > $(script_two) #echo >> $(script_two) #echo "# Create a script to remove auto-start $APP_NAME" >> $(script_two) #echo "rm -f \"\$$HOME/.config/autostart/$(menuFileNameMinimized)\"" >> $(script_two) #echo "echo" >> $(script_two) #echo "echo [OK] Zoom is no longer in auto-start mode." >> $(script_two) #echo "echo" >> $(script_two) #echo "echo \"Done.\"" >> $(script_two) #echo "exit 0" >> $(script_two) #echo >> $(script_two) # Make script executable #chmod +x $(script_two) # # Create a script to download $(TITLE) # Create script in /usr/local/bin/download-$(executable)-$(executable_tag) # mkdir -p -v $(pkgdir)/usr/local/bin echo "#!/bin/bash" > $(script_three) echo >> $(script_three) echo "echo \"Download $(TITLE) file to $(appimageDir)/\"" >> $(script_three) echo "echo \"Closing ${executable}.AppImage ...\"" >> $(script_three) echo "pkill AppRun.wrapped" >> $(script_three) echo "echo \"wait a few seconds to terminate ${executable}.AppImage ...\"" >> $(script_three) echo "sleep 5s" >> $(script_three) echo "sudo wget -O $(appimageDir)/$(executable).AppImage \"$(APPIMAGE)\"" >> $(script_three) echo "sudo chmod 755 $(appimageDir)/$(executable).AppImage" >> $(script_three) echo "echo \"Done.\"" >> $(script_three) echo "exit 0" >> $(script_three) # Make script executable chmod +x $(script_three) # # Create a script to update Zoom AppImage # Create script in /usr/local/bin/zoom-appimage-update mkdir -p $(pkgdir)/usr/local/bin #scriptFile="$(pkgdir)/usr/local/bin/$(executable)-$(executable_tag)-update" echo "#!/usr/bin/bash" > $(script_seven) echo "echo \"Closing $(executable).AppImage ...\"" >> $(script_seven) echo "pkill AppRun.wrapped" >> $(script_seven) echo "killall $(launcher)" >> $(script_seven) echo "echo \"wait a few seconds to terminate $(executable).AppImage ...\"" >> $(script_seven) echo "sleep 5s" >> $(script_seven) echo "# Remove traces of unfinished downloads" >> $(script_seven) echo "sudo rm -f /opt/appimages/*.AppImage.part*" >> $(script_seven) echo "echo \"Download Zoom AppImage file to $(appimageDir)/\"" >> $(script_seven) echo "file=$(appimageDir)/$(executable).AppImage" >> $(script_seven) echo "minimumsize=90" >> $(script_seven) echo "if [ -f \$$file ]; then" >> $(script_seven) echo " echo found \$$file" >> $(script_seven) echo " actualsize=\$$(du -k \$$file | cut -f 1)" >> $(script_seven) echo " if [ \$$actualsize -ge \$$minimumsize ]; then" >> $(script_seven) echo " #echo size is over \$$minimumsize kilobytes" >> $(script_seven) echo " echo appimageupdatetool \$$file" >> $(script_seven) echo " sleep 1" >> $(script_seven) echo " sudo appimageupdatetool \$$file" >> $(script_seven) echo " iFiles=`ls $(appimageDir) | grep '$(executable).*\.AppImage' | wc -l`" >> $(script_seven) echo " if [ \$$iFiles -gt 1 ]; then" >> $(script_seven) echo " sudo rm -f \$$file" >> $(script_seven) echo " sudo mv $(appimageDir)/$(executable)*.AppImage \$$file" >> $(script_seven) echo " fi" >> $(script_seven) echo " else" >> $(script_seven) echo " #echo echo size is under \$$minimumsize kilobytes" >> $(script_seven) echo " echo Downloading $(executable).AppImage..." >> $(script_seven) echo " sleep 1" >> $(script_seven) echo " sudo wget -O \$$file $(APPIMAGE)" >> $(script_seven) echo " fi" >> $(script_seven) echo "else" >> $(script_seven) echo " echo Downloading $(executable).AppImage..." >> $(script_seven) echo " sleep 1" >> $(script_seven) echo " sudo mkdir -p $(appimageDir)" >> $(script_seven) echo " sudo wget -O \$$file $(APPIMAGE)" >> $(script_seven) echo "fi" >> $(script_seven) echo "if [ -f \$$file ]; then" >> $(script_seven) echo " sudo chmod 755 \$$file" >> $(script_seven) echo "fi" >> $(script_seven) echo "echo" >> $(script_seven) echo "echo \"Done.\"" >> $(script_seven) echo "exit 0" >> $(script_seven) # Make script executable chmod +x "$(script_seven)" # ## Create a script to allow firejail openGL ## Create script in /usr/local/bin/firejail-zoom-allow-opengl #echo "#!/usr/bin/bash" > $(script_four) #echo "echo \"ignore no3d\" >> \"$(proFile)\"" >> $(script_four) #echo "echo \"added \\\"ignore no3d\\\" to \\\"$(proFile)\\\"\"" >> $(script_four) #echo "echo \"Done.\"" >> $(script_four) #echo "exit 0" >> $(script_four) ## Make script executable #chmod +x "$(script_four)" ## Create a script to allow firejail video ## Create script in /usr/local/bin/firejail-zoom-allow-camera #echo "#!/usr/bin/bash" > $(script_five) #echo "echo \"ignore novideo\" >> \"$(proFile)\"" >> $(script_five) #echo "echo \"added \\\"ignore novideo\\\" to \\\"$(proFile)\\\"\"" >> $(script_five) #echo "echo \"Done.\"" >> $(script_five) #echo "exit 0" >> $(script_five) ## Make script executable #chmod +x "$(script_five)" ## Create a script to allow firejail video ## Create script in /usr/local/bin/firejail-zoom-reset #echo "#!/usr/bin/bash" > $(script_six) #echo "rm -f \"$(proFile)\"" >> $(script_six) #echo "echo \"Removed \\\"${proFile}\\\"\"" >> $(script_six) #echo "echo \"Done.\"" >> $(script_six) #echo "exit 0" >> $(script_six) ## Make script executable ##chmod +x "$(script_six)" # # Create Debian DEB-package echo "Starting to create the DEB..." echo sleep 1 echo "..." echo echo echo echo "--- debian/changelog ---" cat $(pkgdir_head)/changelog echo "------------------------" echo echo "--- debian/prerm ---" if [ -f $(pkgdir_head)/prerm ]; then cat $(pkgdir_head)/prerm ; fi echo "------------------------" echo echo "--- debian/postinst ---" if [ -f $(pkgdir_head)/postinst ]; then cat $(pkgdir_head)/postinst ; fi echo "------------------------" echo echo "--- debian/postrm ---" if [ -f $(pkgdir_head)/postrm ]; then cat $(pkgdir_head)/postrm ; fi echo "------------------------" echo echo echo echo echo echo "--- Start list files that will be packaged ---" find $(pkgdir) | sed "s|$(pkgdir)||g" echo "--- End list files that will be packaged ---" echo echo "--- End override_dh_auto_install: ---" echo execute_after_dh_auto_install: echo "--- Start execute_after_dh_auto_install ---" echo "Different Debian based distros need different patches and adjustments." echo PRETTY_NAME=$(PRETTY_NAME) echo PLATFORM=$(PLATFORM) echo VERSION_CODENAME=$(VERSION_CODENAME) echo VERSION_ID=$(VERSION_ID) echo BUILDDIR=$(BUILDDIR) echo LIBDIR=$(LIBDIR) echo pkgdir=$(pkgdir) echo buildroot=$(buildroot) echo "----------------------------------------" echo echo "--- Files that will be packaged ---" find $(pkgdir) | sed "s|${pkgdir}||g" | sort echo "--- End files that will be packaged ---" echo "--- End execute_after_dh_auto_install ---"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor