Skip to content

Commit

Permalink
legcord: new port
Browse files Browse the repository at this point in the history
  • Loading branch information
akierig committed Dec 30, 2024
1 parent 3cb43df commit d67d539
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions net/Legcord/Portfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

Check warning on line 1 in net/Legcord/Portfile

View workflow job for this annotation

GitHub Actions / macos-14

port test Legcord: Warning: Legcord is configured to build no architecture-specific files, but installed Mach-O files built for the following archs: Warning: arm64: Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Helpers/chrome_crashpad_handler Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libEGL.dylib Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libGLESv2.dylib Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libffmpeg.dylib Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libvk_swiftshader.dylib Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Legcord Helper (GPU).app/Contents/MacOS/Legcord Helper (GPU) Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Legcord Helper (Plugin).app/Contents/MacOS/Legcord Helper (Plugin) Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Legcord Helper (Renderer).app/Contents/MacOS/Legcord Helper (Renderer) Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Legcord Helper.app/Contents/MacOS/Legcord Helper Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Mantle.framework/Versions/A/Mantle Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/ReactiveObjC.framework/Versions/A/ReactiveObjC Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Squirrel.framework/Versions/A/Resources/ShipIt Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Squirrel.framework/Versions/A/Squirrel Warning: /Applications/MacPorts/Legcord.app/Contents/MacOS/Legcord Warning:

Check warning on line 1 in net/Legcord/Portfile

View workflow job for this annotation

GitHub Actions / macos-15

port test Legcord: Warning: Legcord is configured to build no architecture-specific files, but installed Mach-O files built for the following archs: Warning: arm64: Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Helpers/chrome_crashpad_handler Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libEGL.dylib Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libGLESv2.dylib Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libffmpeg.dylib Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libvk_swiftshader.dylib Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Legcord Helper (GPU).app/Contents/MacOS/Legcord Helper (GPU) Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Legcord Helper (Plugin).app/Contents/MacOS/Legcord Helper (Plugin) Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Legcord Helper (Renderer).app/Contents/MacOS/Legcord Helper (Renderer) Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Legcord Helper.app/Contents/MacOS/Legcord Helper Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Mantle.framework/Versions/A/Mantle Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/ReactiveObjC.framework/Versions/A/ReactiveObjC Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Squirrel.framework/Versions/A/Resources/ShipIt Warning: /Applications/MacPorts/Legcord.app/Contents/Frameworks/Squirrel.framework/Versions/A/Squirrel Warning: /Applications/MacPorts/Legcord.app/Contents/MacOS/Legcord Warning:

PortSystem 1.0
PortGroup github 1.0

github.setup Legcord Legcord 1.0.5 v
github.tarball_from archive
distname ${github.project}-${github.version}

categories net
maintainers {@akierig fastmail.de:akierig} openmaintainer
revision 0

checksums rmd160 0edc06299eb127ff3af513bd7ee935f3202d90f5 \
sha256 d3d3cb08fd0b858150b3a2ed696d461490b36714e4096f79097e4242f4772424 \
size 1601307

description lightweight alternative to the regular Discord application
long_description ${name} is a {*}${description}. It wraps the Discord web \
client in a version of Chromium fully optimized for use \
with Discord's web interface, blocks trackers by default,\
and supports a variety of client plugin frameworks.

supported_archs noarch
platforms {darwin any}
license OSL-3.0

depends_build port:pnpm

use_configure no

build {
system -W ${worksrcpath} "pnpm install"
system -W ${worksrcpath} "pnpm run build"
system -W ${worksrcpath} "node_modules/.bin/electron-builder -m zip"
}

destroot {
file copy ${worksrcpath}/dist/mac-${build_arch}/Legcord.app ${destroot}${applications_dir}
}

0 comments on commit d67d539

Please sign in to comment.