Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stardrop: init at 1.2.1 #350713

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20208,6 +20208,12 @@
githubId = 37938646;
matrix = "@sodiboo:arcticfoxes.net";
};
sofiedotcafe = {
email = "[email protected]";
github = "sofiedotcafe";
githubId = 122896463;
name = "Sofie";
};
softinio = {
email = "[email protected]";
github = "softinio";
Expand Down
92 changes: 92 additions & 0 deletions pkgs/by-name/st/stardrop/csproj-build.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
diff --git a/Stardrop/Stardrop.csproj b/Stardrop/Stardrop.csproj
index 3eb4c3a..7342618 100644
--- a/Stardrop/Stardrop.csproj
+++ b/Stardrop/Stardrop.csproj
@@ -82,87 +82,4 @@
<Generator>MSBuild:Compile</Generator>
</Content>
</ItemGroup>
-
- <ItemGroup Condition="$(Configuration)=='Release' And $(RuntimeIdentifier)=='linux-x64'">
- <WSL Include="wsl" Condition="$([MSBuild]::IsOSPlatform('Windows'))" />
- <BashScript Include="$(ProjectDir)\Assets\Stardrop.sh" />
- <RenameExecutableLinux Include="$(PublishDir)\Stardrop" />
- <RenameDatabaseLinux Include="$(PublishDir)\Stardrop.pdb" />
- <ZipName Include="Stardrop-linux-x64.zip" />
- </ItemGroup>
-
- <Target Name="FolderProfile - Linux" AfterTargets="Publish" Condition="$(Configuration)=='Release' And $(RuntimeIdentifier)=='linux-x64'">
- <Delete Files="$(PublishDir)/$(ZipName)" />
-
- <Copy SourceFiles="@(RenameExecutableLinux)" DestinationFiles="@(RenameExecutableLinux-&gt;Replace('Stardrop','Internal'))" />
- <Copy SourceFiles="@(RenameDatabaseLinux)" DestinationFiles="@(RenameDatabaseLinux-&gt;Replace('Stardrop','Internal'))" />
- <Delete Files="@(RenameExecutableLinux);@(RenameDatabaseLinux)" />
-
- <Copy SourceFiles="@(BashScript)" DestinationFolder="$(PublishDir)" />
-
- <Exec Command="@(WSL) mkdir Stardrop" WorkingDirectory="$(PublishDir)" />
-
- <Move SourceFiles="$(PublishDir)/Internal;$(PublishDir)/Internal.pdb;$(PublishDir)/Stardrop.sh" DestinationFolder="$(PublishDir)/Stardrop" />
- <Exec Command="@(WSL) mv Themes Stardrop" WorkingDirectory="$(PublishDir)" />
- <Exec Command="@(WSL) mv i18n Stardrop" WorkingDirectory="$(PublishDir)" />
-
- <Exec Command="@(WSL) chmod 755 Stardrop" WorkingDirectory="$(PublishDir)" />
- <Exec Command="@(WSL) chmod +x Stardrop.sh" WorkingDirectory="$(PublishDir)/Stardrop" />
- <Exec Command="@(WSL) chmod 644 Internal" WorkingDirectory="$(PublishDir)/Stardrop" />
- <Exec Command="@(WSL) chmod 644 Internal.pdb" WorkingDirectory="$(PublishDir)/Stardrop" />
- <Exec Command="@(WSL) zip -r @(ZipName) Stardrop" WorkingDirectory="$(PublishDir)" />
-
- <RemoveDir Directories="$(PublishDir)/Stardrop" />
- </Target>
-
- <ItemGroup Condition="$(Configuration)=='Release' And $(RuntimeIdentifier)=='osx-x64'">
- <WSL Include="wsl" />
- <TempFolderPath Include="Stardrop_Temp" />
- <AppFolderPath Include="$(ProjectDir)Assets\Stardrop.app" />
- <MacOSFolderPath Include="Stardrop.app\Contents\MacOS" />
- <InfoPath Include="$(ProjectDir)\Assets\Info.plist" />
- <IconPath Include="$(ProjectDir)\Assets\Stardrop.icns" />
- <ZipName Include="Stardrop-osx-x64.zip" />
- </ItemGroup>
-
- <Target Name="FolderProfile - MacOS" AfterTargets="Publish" Condition="$(Configuration)=='Release' And $(RuntimeIdentifier)=='osx-x64'">
- <Exec Command="del @(ZipName) 2&gt;nul" WorkingDirectory="$(PublishDir)" />
-
- <Exec Command="xcopy /E /I /Y &quot;@(AppFolderPath)&quot; Stardrop.app" WorkingDirectory="$(PublishDir)" />
-
- <Exec Command="move Themes @(MacOSFolderPath)" WorkingDirectory="$(PublishDir)" />
- <Exec Command="move i18n @(MacOSFolderPath)" WorkingDirectory="$(PublishDir)" />
- <Exec Command="move *.dylib @(MacOSFolderPath)" WorkingDirectory="$(PublishDir)" />
- <Exec Command="move Stardrop @(MacOSFolderPath)" WorkingDirectory="$(PublishDir)" />
- <Exec Command="move Stardrop.pdb @(MacOSFolderPath)" WorkingDirectory="$(PublishDir)" />
-
- <Copy SourceFiles="@(InfoPath)" DestinationFolder="$(PublishDir)/Stardrop.app/Contents" />
- <Copy SourceFiles="@(IconPath)" DestinationFolder="$(PublishDir)/Stardrop.app/Contents/Resources" />
-
- <Exec Command="@(WSL) chmod +x Stardrop" WorkingDirectory="$(PublishDir)@(MacOSFolderPath)" />
-
- <Exec Command="@(WSL) zip -r @(ZipName) Stardrop.app" WorkingDirectory="$(PublishDir)" />
- <Exec Command="rmdir Stardrop.app /S /Q" WorkingDirectory="$(PublishDir)" />
- </Target>
-
-
- <ItemGroup Condition="$(Configuration)=='Release' And $(RuntimeIdentifier)=='win-x64'">
- <WSL Include="wsl" />
- <TempFolderPath Include="Stardrop_Temp" />
- <ZipName Include="Stardrop-win-x64.zip" />
- </ItemGroup>
-
- <Target Name="FolderProfile - Windows" AfterTargets="Publish" Condition="$(Configuration)=='Release' And $(RuntimeIdentifier)=='win-x64'">
- <Exec Command="del @(ZipName) 2&gt;nul" WorkingDirectory="$(PublishDir)" />
-
- <Exec Command="@(WSL) mkdir @(TempFolderPath)" WorkingDirectory="$(PublishDir)" />
-
- <Exec Command="@(WSL) mv Themes @(TempFolderPath)" WorkingDirectory="$(PublishDir)" />
- <Exec Command="@(WSL) mv i18n @(TempFolderPath)" WorkingDirectory="$(PublishDir)" />
- <Exec Command="@(WSL) mv Stardrop.exe Stardrop.pdb @(TempFolderPath)" WorkingDirectory="$(PublishDir)" />
-
- <Exec Command="ren @(TempFolderPath) Stardrop" WorkingDirectory="$(PublishDir)" />
- <Exec Command="@(WSL) zip -r @(ZipName) Stardrop" WorkingDirectory="$(PublishDir)" />
- <Exec Command="rmdir Stardrop /S /Q" WorkingDirectory="$(PublishDir)" />
- </Target>
</Project>
Loading
Loading