Source
xxxxxxxxxx
# kate: backspace-indents true; indent-pasted-text true; indent-width 4; keep-extra-spaces true; remove-trailing-spaces modified; replace-tabs true; replace-tabs-save true; syntax Tcl/Tk; tab-indents true; tab-width 4;
# -*- coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup compiler_blacklist_versions 1.0
PortGroup active_variants 1.1
PortGroup conflicts_build 1.0
name VLC2
categories multimedia devel
maintainers {gmail.com:rjvbertin @RJVB} openmaintainer
description VLC is a cross-platform media player and streaming server
long_description VLC media player is a highly portable multimedia player for \
various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, \
mp3, ogg, ...) as well as DVDs, VCDs, and various streaming protocols. \
It can also be used as a server to stream in unicast or multicast \
in IPv4 or IPv6 on a high-bandwidth network.
homepage https://www.videolan.org
subport lib${name} {
description the core engine and interface to VLC's multimedia framework
long_description libVLC is the core engine and the interface to the multimedia \
framework on which VLC media player is based. It allows developers \
to create a wide range of multimedia applications using the VLC features.
conflicts ${name} VLC
# support libVLC2 up to 10.12
if {${os.major} > 15} {
replaced_by libVLC
PortGroup obsolete 1.0
patch {}
}
homepage https://www.videolan.org/vlc/libvlc.html
}
if {${subport} eq ${name}} {
if {${os.major} > 13} {
replaced_by VLC
PortGroup obsolete 1.0
# given the Portfile design it's easier to shunt the entire patch phase
# rather than trying to keep the patchfiles list empty.
patch {}
}
conflicts lib${name} libVLC
}
# VLC-2.1 and later are x86_64-only: https://trac.videolan.org/vlc/ticket/8161
universal_variant no
supported_archs x86_64
##
################### ports VLC2 and libVLC2 ###################
##
if {(${subport} eq ${name}) || (${subport} eq "lib${name}")} {
version 2.2.8
revision 4
license GPL-2+
platforms darwin
master_sites https://download.videolan.org/pub/videolan/vlc/${version}/
distname vlc-${version}
use_xz yes
use_xcode yes
checksums rmd160 4434e91384520fe1fe129a52f5d66d61e4404a9a \
sha256 9bf046848fb56d93518881b39099b8288ee005d5ba0ddf705b6f6643b8d562ec
depends_build port:pkgconfig
depends_lib-append port:ffmpeg \
port:a52dec \
port:avahi \
port:bzip2 \
port:faad2 \
port:flac \
port:fluidsynth \
port:fontconfig \
port:freetype \
port:fribidi \
port:gettext \
path:lib/pkgconfig/glib-2.0.pc:glib2 \
port:gmp \
port:gnutls \
port:jpeg \
port:lame \
port:libass \
port:libbluray \
port:libcddb \
port:libcdio \