Skip to content

Commit

Permalink
update MacPorts
Browse files Browse the repository at this point in the history
  • Loading branch information
devernay committed Sep 11, 2023
1 parent 60ec0a9 commit fc5bc40
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 7 additions & 2 deletions tools/MacPorts/multimedia/ffmpeg/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -310,10 +310,13 @@ platform darwin {

# Available on 10.6+
if {(${os.major} >= 10) && (${configure.build_arch} ne "ppc")} {
configure.args-append \
# Only enable 'rav1e', for non-slim installation
if {![variant_isset slim]} {
configure.args-append \
--enable-librav1e
depends_lib-append \
depends_lib-append \
port:rav1e
}
}
}

Expand Down Expand Up @@ -573,6 +576,8 @@ variant nonfree description {enable nonfree code, libraries and binaries will no
port:libfdk-aac
}

variant slim description {Trim dependencies slightly, without significantly impacting overall feature set} {}

if {[variant_isset nonfree]} {
notes "
This build of ${name} includes nonfree code as follows:
Expand Down
9 changes: 7 additions & 2 deletions tools/MacPorts/multimedia/ffmpeg/Portfile.orig
Original file line number Diff line number Diff line change
Expand Up @@ -298,10 +298,13 @@ platform darwin {

# Available on 10.6+
if {(${os.major} >= 10) && (${configure.build_arch} ne "ppc")} {
configure.args-append \
# Only enable 'rav1e', for non-slim installation
if {![variant_isset slim]} {
configure.args-append \
--enable-librav1e
depends_lib-append \
depends_lib-append \
port:rav1e
}
}
}

Expand Down Expand Up @@ -473,6 +476,8 @@ variant nonfree description {enable nonfree code, libraries and binaries will no
port:libfdk-aac
}

variant slim description {Trim dependencies slightly, without significantly impacting overall feature set} {}

if {[variant_isset nonfree]} {
notes "
This build of ${name} includes nonfree code as follows:
Expand Down

0 comments on commit fc5bc40

Please sign in to comment.