chore: add lots of windows packages

This commit is contained in:
xeruf 2022-07-05 15:52:49 +02:00
parent 8bdbc527f0
commit 057394707f
53 changed files with 231 additions and 1 deletions

2
groups/dev/android Normal file
View File

@ -0,0 +1,2 @@
java
android-studio

2
groups/dev/java Normal file
View File

@ -0,0 +1,2 @@
java
intellijidea-ultimate

3
groups/dev/tools Normal file
View File

@ -0,0 +1,3 @@
sqlitebrowser
hxd
meld

3
groups/forensics Normal file
View File

@ -0,0 +1,3 @@
testdisk
recuva
sandboxie

2
groups/gamecraft Normal file
View File

@ -0,0 +1,2 @@
minecraft
minetest

4
groups/gamelan Normal file
View File

@ -0,0 +1,4 @@
teeworlds
0ad
warzone2100
sauerbraten

2
groups/gaming Normal file
View File

@ -0,0 +1,2 @@
steam
discord

4
groups/java Normal file
View File

@ -0,0 +1,4 @@
git
jdk8
openjdk
gradle

4
groups/media/audio Normal file
View File

@ -0,0 +1,4 @@
vlc
aimp
clementine
foobar2000

4
groups/media/tag Normal file
View File

@ -0,0 +1,4 @@
vlc
audacity
ffmpeg
mp3tag

2
groups/media/video Normal file
View File

@ -0,0 +1,2 @@
kdenlive
obs-studio

3
groups/node Normal file
View File

@ -0,0 +1,3 @@
nodejs
yarn
npm

View File

@ -1,2 +1,4 @@
firefox
libreoffice libreoffice
okular
zathura zathura

4
groups/teamchat Normal file
View File

@ -0,0 +1,4 @@
signal
franz
slack
zulip

9
groups/win/base Normal file
View File

@ -0,0 +1,9 @@
chocolateygui
7zip
k-litecodecpack-standard
everything
screentogif
notepadplusplus
pinta
gimp
bulkrenameutility.install

3
groups/win/office Normal file
View File

@ -0,0 +1,3 @@
office
thunderbird
files

4
groups/win/quickie Normal file
View File

@ -0,0 +1,4 @@
win/tweaker
transmission
jdownloader
open-shell

3
groups/win/sysinfo Normal file
View File

@ -0,0 +1,3 @@
winaudit
hwininfo
windirstat

7
groups/win/tweaker Normal file
View File

@ -0,0 +1,7 @@
win/base
win/sysinfo
winaero-tweaker
linkshellextension
espanso
wox
mpw

View File

@ -4,3 +4,4 @@ script
zsh zsh
linux linux
cargo cargo
git

View File

@ -0,0 +1 @@
powershell

View File

@ -44,7 +44,7 @@ installpkg() {
set -e set -e
local name="$(basename $pkg)" local name="$(basename $pkg)"
local base="${name%_*}" local base="${name%_*}"
for dependency in $(cat "${pkgdir}dependencies" "${pkgdir}${base}_dependencies" 2>/dev/null) for dependency in $(cat "${pkgdir}depends" "${pkgdir}${base}_depends" 2>/dev/null)
do runinstalee $dependency do runinstalee $dependency
done done

0
packages/audacity/arch Normal file
View File

View File

@ -0,0 +1,2 @@
audacity
audacity-lame

View File

@ -0,0 +1,141 @@
Param(
[string]$Loc
)
$Delay = 2
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole(
[Security.Principal.WindowsBuiltInRole] 'Administrator')
)
{
Write-Host "Not elevated, restarting in $Delay seconds ..."
$Loc = Get-Location
Start-Sleep -Seconds $Delay
$Arguments = @(
'-NoProfile',
'-ExecutionPolicy Bypass',
'-NoExit',
'-File',
"`"$($MyInvocation.MyCommand.Path)`"",
"\`"$Loc\`""
)
Start-Process -FilePath PowerShell.exe -Verb RunAs -ArgumentList $Arguments
Break
}
else
{
Write-Host "Already elevated, exiting in $Delay seconds..."
Start-Sleep -Seconds $Delay
}
if($Loc.Length -gt 1){
Set-Location $Loc.Substring(1,$Loc.Length-1)
}
# https://github.com/lukegackle/PowerShell-Self-Elevate-Keeping-Current-Directory/blob/master/Self%20Elevate%20Keeping%20Directory.ps1
function Install-ChocolateyFromPackage {
param (
[string]$chocolateyPackageFilePath = ''
)
if ($chocolateyPackageFilePath -eq $null -or $chocolateyPackageFilePath -eq '') {
throw "You must specify a local package to run the local install."
}
if (!(Test-Path($chocolateyPackageFilePath))) {
throw "No file exists at $chocolateyPackageFilePath"
}
$chocTempDir = Join-Path $env:TEMP "chocolatey"
$tempDir = Join-Path $chocTempDir "chocInstall"
if (![System.IO.Directory]::Exists($tempDir)) {[System.IO.Directory]::CreateDirectory($tempDir)}
$file = Join-Path $tempDir "chocolatey.zip"
Copy-Item $chocolateyPackageFilePath $file -Force
# unzip the package
Write-Output "Extracting $file to $tempDir..."
if ($unzipMethod -eq '7zip') {
$7zaExe = Join-Path $tempDir '7za.exe'
if (-Not (Test-Path ($7zaExe))) {
Write-Output 'Downloading 7-Zip commandline tool prior to extraction.'
# download 7zip
Download-File $7zipUrl "$7zaExe"
}
$params = "x -o`"$tempDir`" -bd -y `"$file`""
# use more robust Process as compared to Start-Process -Wait (which doesn't
# wait for the process to finish in PowerShell v3)
$process = New-Object System.Diagnostics.Process
$process.StartInfo = New-Object System.Diagnostics.ProcessStartInfo($7zaExe, $params)
$process.StartInfo.RedirectStandardOutput = $true
$process.StartInfo.UseShellExecute = $false
$process.StartInfo.WindowStyle = [System.Diagnostics.ProcessWindowStyle]::Hidden
$process.Start() | Out-Null
$process.BeginOutputReadLine()
$process.WaitForExit()
$exitCode = $process.ExitCode
$process.Dispose()
$errorMessage = "Unable to unzip package using 7zip. Perhaps try setting `$env:chocolateyUseWindowsCompression = 'true' and call install again. Error:"
switch ($exitCode) {
0 { break }
1 { throw "$errorMessage Some files could not be extracted" }
2 { throw "$errorMessage 7-Zip encountered a fatal error while extracting the files" }
7 { throw "$errorMessage 7-Zip command line error" }
8 { throw "$errorMessage 7-Zip out of memory" }
255 { throw "$errorMessage Extraction cancelled by the user" }
default { throw "$errorMessage 7-Zip signalled an unknown error (code $exitCode)" }
}
} else {
if ($PSVersionTable.PSVersion.Major -lt 5) {
try {
$shellApplication = new-object -com shell.application
$zipPackage = $shellApplication.NameSpace($file)
$destinationFolder = $shellApplication.NameSpace($tempDir)
$destinationFolder.CopyHere($zipPackage.Items(),0x10)
} catch {
throw "Unable to unzip package using built-in compression. Set `$env:chocolateyUseWindowsCompression = 'false' and call install again to use 7zip to unzip. Error: `n $_"
}
} else {
Expand-Archive -Path "$file" -DestinationPath "$tempDir" -Force
}
}
# Call Chocolatey install
Write-Output 'Installing chocolatey on this machine'
$toolsFolder = Join-Path $tempDir "tools"
$chocInstallPS1 = Join-Path $toolsFolder "chocolateyInstall.ps1"
& $chocInstallPS1
Write-Output 'Ensuring chocolatey commands are on the path'
$chocInstallVariableName = 'ChocolateyInstall'
$chocoPath = [Environment]::GetEnvironmentVariable($chocInstallVariableName)
if ($chocoPath -eq $null -or $chocoPath -eq '') {
$chocoPath = 'C:\ProgramData\Chocolatey'
}
$chocoExePath = Join-Path $chocoPath 'bin'
if ($($env:Path).ToLower().Contains($($chocoExePath).ToLower()) -eq $false) {
$env:Path = [Environment]::GetEnvironmentVariable('Path',[System.EnvironmentVariableTarget]::Machine);
}
Write-Output 'Ensuring chocolatey.nupkg is in the lib folder'
$chocoPkgDir = Join-Path $chocoPath 'lib\chocolatey'
$nupkg = Join-Path $chocoPkgDir 'chocolatey.nupkg'
if (!(Test-Path $nupkg)) {
Write-Output 'Copying chocolatey.nupkg is in the lib folder'
if (![System.IO.Directory]::Exists($chocoPkgDir)) { [System.IO.Directory]::CreateDirectory($chocoPkgDir); }
Copy-Item "$file" "$nupkg" -Force -ErrorAction SilentlyContinue
}
}
$ChocoInstallPath = "$($env:SystemDrive)\ProgramData\Chocolatey\bin"
# Idempotence - do not install Chocolatey if it is already installed
if (!(Test-Path $ChocoInstallPath)) {
# Install Chocolatey
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
# TODO If offline:
#Install-ChocolateyFromPackage 'chocolatey.0.11.2.nupkg'
}

3
packages/doom/git Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
~/.emacs.d/bin/doom install

View File

@ -0,0 +1,4 @@
emacs
ripgrep
fd
llvm

View File

1
packages/franz/aur Normal file
View File

@ -0,0 +1 @@
ferdium-bin

View File

View File

@ -0,0 +1,2 @@
lilypond
frescobaldi

1
packages/mp3tag/arch Normal file
View File

@ -0,0 +1 @@
puddletag

View File

0
packages/musescore/arch Normal file
View File

View File

1
packages/obs-studio/arch Normal file
View File

@ -0,0 +1 @@
obs-studio

0
packages/okular/arch Normal file
View File

1
packages/okular/aur Normal file
View File

@ -0,0 +1 @@
okular-no-purpose

0
packages/ripgrep/apt Normal file
View File

1
packages/ripgrep/arch Normal file
View File

@ -0,0 +1 @@
ripgrep-all

View File

1
packages/signal/arch Normal file
View File

@ -0,0 +1 @@
signal-desktop

1
packages/slack/aur Normal file
View File

@ -0,0 +1 @@
slack-electron

View File

0
packages/testdisk/arch Normal file
View File

View File

@ -0,0 +1 @@
testdisk-photorec

0
packages/zoom/aur Normal file
View File

1
packages/zulip/aur Normal file
View File

@ -0,0 +1 @@
zulip-desktop-bin