mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
VLC: add support integrate video in interface mode
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -5,7 +5,7 @@ VCDs, and various streaming protocols."
|
||||
HOMEPAGE="https://www.videolan.org/vlc/"
|
||||
COPYRIGHT="1998-2024 VideoLAN"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
SOURCE_URI="https://download.videolan.org/pub/videolan/vlc/$portVersion/vlc-$portVersion.tar.xz"
|
||||
SOURCE_DIR="vlc-$portVersion"
|
||||
CHECKSUM_SHA256="24dbbe1d7dfaeea0994d5def0bbde200177347136dbfe573f5b6a4cee25afbb0"
|
||||
@@ -19,10 +19,17 @@ ADDITIONAL_FILES="
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
commandSuffix=$secondaryArchSuffix
|
||||
commandBinDir=$binDir
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandSuffix=
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
PROVIDES="
|
||||
vlc$secondaryArchSuffix = $portVersion
|
||||
app:VLC = $portVersion
|
||||
cmd:vlc$secondaryArchSuffix = $portVersion
|
||||
cmd:vlc$commandSuffix = $portVersion
|
||||
lib:libvlc$secondaryArchSuffix = 5.6.1 compat >= 5
|
||||
lib:libvlccore$secondaryArchSuffix = 9.0.1 compat >= 9
|
||||
"
|
||||
@@ -174,7 +181,8 @@ BUILD()
|
||||
export CFLAGS="-lgnu -lnetwork"
|
||||
export CXXFLAGS="-lgnu -lnetwork"
|
||||
|
||||
runConfigure ./configure \
|
||||
runConfigure --omit-dirs binDir ./configure \
|
||||
--bindir="$commandBinDir" \
|
||||
--disable-rpath \
|
||||
--with-default-font=`finddir B_SYSTEM_FONTS_DIRECTORY`/ttfonts/NotoMono-Regular.ttf \
|
||||
--with-default-font-family=Sans \
|
||||
@@ -202,7 +210,8 @@ INSTALL()
|
||||
|
||||
mkdir -p $appsDir
|
||||
cp "haiku/VLC media player" $appsDir
|
||||
cp $binDir/vlc $appsDir/VLC
|
||||
mv $commandBinDir/vlc $commandBinDir/VLC
|
||||
ln -s $commandBinDir/VLC $commandBinDir/vlc
|
||||
|
||||
local APP_SIGNATURE="application/x-vnd.vlc"
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
@@ -217,7 +226,7 @@ INSTALL()
|
||||
-e "s|@LONG_INFO@|$LONG_INFO|" \
|
||||
$portDir/additional-files/vlc.rdef.in > vlc.rdef
|
||||
|
||||
addResourcesToBinaries vlc.rdef $appsDir/VLC
|
||||
addResourcesToBinaries vlc.rdef $commandBinDir/VLC
|
||||
|
||||
local APP_SIGNATURE="application/x-vnd.vlc-launcher"
|
||||
sed \
|
||||
|
||||
Reference in New Issue
Block a user