Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
leleliu008 committed Jan 29, 2025
1 parent 3f10c8a commit ad85b93
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 12 deletions.
2 changes: 1 addition & 1 deletion formula/appimagetool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ summary: A command-line tool to generate an AppImage from an existing AppDir
git-url: https://github.com/AppImage/appimagetool
dep-pkg: glib libcurl libgpgme argp-standalone
bsystem: cmake
ldflags: -static-libstdc++ -static-libgcc

prepare: |
if [ "$TARGET_PLATFORM_VERS" = musl ] ; then
export PROXIED_CC_ARGS="$PROXIED_CC_ARGS -L$argp_standalone_LIBRARY_DIR -largp -lintl -liconv"
Expand Down
2 changes: 1 addition & 1 deletion formula/chafa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ src-sha: 7b5b384d5fb76a641d00af0626ed2115fb255ea371d9bef11f8500286a7b09e5
license: LGPL-3.0-or-later
dep-pkg: libavif librsvg.a
dep-lib: -lsharpyuv
ldflags: -static-libstdc++ -static-libgcc

install: configure --enable-static --disable-shared
1 change: 1 addition & 0 deletions formula/fish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ src-url: https://github.com/fish-shell/fish-shell/releases/download/3.7.1/fish-3
src-sha: 614c9f5643cd0799df391395fa6bbc3649427bb839722ce3b114d3bbc1a3b250
license: GPL-2.0-or-later
dep-pkg: libpcre2 libreadline
dopatch: gsed -i '/Fish does not support static linking/d' CMakeLists.txt
install: cmakew -DWITH_GETTEXT=OFF
1 change: 0 additions & 1 deletion formula/grpc-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ src-sha: d5509e40fb24f6390deeef8a88668124f4ec77d2ebb3b1a957b235a2f08b70c0
license: Apache-2.0
dep-pkg: libprotobuf.a libopenssl libcares libre2
dep-upp: grpc-plugins
ldflags: -static-libstdc++ -static-libgcc

install: |
cmakew \
Expand Down
1 change: 0 additions & 1 deletion formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ src-sha: e5d5e0dd96fe9452fe24cc8c827381dca484c54d171fb512a198025fec81a3c8
license: Apache-2.0
dep-pkg: libprotobuf.a libopenssl libcares libre2
dep-upp: grpc-plugins
ldflags: -static-libstdc++ -static-libgcc

install: |
cmakew \
Expand Down
1 change: 0 additions & 1 deletion formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ src-sha: 79ed4ab72fa9589b20f8b0b76c16e353e4cfec1d773d33afad605d97b5682c61
license: Apache-2.0
dep-pkg: libprotobuf.a libopenssl libcares libre2
dep-upp: grpc-plugins
ldflags: -static-libstdc++ -static-libgcc

install: |
cmakew \
Expand Down
1 change: 0 additions & 1 deletion formula/lcdf-typetools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ web-url: https://www.lcdf.org/type/
src-url: https://www.lcdf.org/type/lcdf-typetools-2.110.tar.gz
src-sha: 517f9ee879208679d3224a14d5e6eb20598fc648d5c3562708083d003088a934
license: GPL-2.0-or-later
ldflags: -static-libstdc++ -static-libgcc
install: configure --without-kpathsea
1 change: 0 additions & 1 deletion formula/mosh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ dep-pkg: libz libopenssl libncurses libprotobuf.a
dep-upp: perl

xxflags: -std=gnu++17
ldflags: -static-libstdc++ -static-libgcc

dopatch: gsed -i 's|if ( bind|if (::bind|' src/network/network.cc
install: configure --with-ncurses
2 changes: 0 additions & 2 deletions formula/opencolorio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ dep-pkg: libopenexr liblcms2 libexpat libyaml-cpp libpystring libminizip-ng sse2
dep-lib: OpenEXR
dep-upp: git

ldflags: -static-libstdc++ -static-libgcc

dopatch: |
if [ "$TARGET_PLATFORM_NAME" = macos ] ; then
export LDFLAGS="$LDFLAGS -framework CoreFoundation -framework Security"
Expand Down
1 change: 0 additions & 1 deletion formula/openexr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ src-url: https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
src-sha: 5013e964de7399bff1dd328cbf65d239a989a7be53255092fa10b85a8715744d
license: BSD-3-Clause
dep-pkg: libImath.a libz libdeflate
ldflags: -static-libstdc++ -static-libgcc

dopatch: |
gsed -i '/find_library(OPENEXR_EXTRA_MATH_LIB m)/c set(OPENEXR_EXTRA_MATH_LIB -lm)' cmake/CMakeLists.txt
Expand Down
1 change: 0 additions & 1 deletion formula/wabt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ summary: Web Assembly Binary Toolkit
src-url: https://github.com/WebAssembly/wabt/releases/download/1.0.35/wabt-1.0.35.tar.xz
src-sha: 87210f895044137c01a588e9f5b4d1b0ed143c8c666440d387a0b7d2c5eff012
license: Apache-2.0
ldflags: -static-libstdc++ -static-libgcc
install: cmakew -DBUILD_TESTS=OFF
1 change: 0 additions & 1 deletion formula/woff2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ src-sha: add272bb09e6384a4833ffca4896350fdb16e0ca22df68c0384773c67a175594
license: MIT
dep-pkg: libbrotli
dep-lib: -lbrotlicommon
ldflags: -static-libstdc++ -static-libgcc

dopatch: gsed -i '/^install(/,$d' CMakeLists.txt

Expand Down

0 comments on commit ad85b93

Please sign in to comment.