mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
ytdl_gui: Bump to 2.5 (#6006)
This commit is contained in:
committed by
GitHub
parent
8cfdc36ca5
commit
a03e6f82f7
@@ -5,11 +5,11 @@ youtube-dl, a downloader for online media sharing services like YouTube,\
|
||||
simple-to-use, while still providing various options like file formats \
|
||||
and quality levels."
|
||||
HOMEPAGE="https://github.com/JaGoLi/ytdl-gui"
|
||||
COPYRIGHT="2020 JaGoLi"
|
||||
COPYRIGHT="2020-2021 JaGoLi"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/JaGoLi/ytdl-gui/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="59c60fc76344f8ef218fdda71818c6ec045e19964be507f265223db0b7f08b4e"
|
||||
CHECKSUM_SHA256="d725f94061819f9366e6a170e9cebd06dd6bf824d180a13976f7b1f9bd8e5754"
|
||||
SOURCE_FILENAME="ytdl-gui-$portVersion-tar.gz"
|
||||
SOURCE_DIR="ytdl-gui-$portVersion"
|
||||
ADDITIONAL_FILES="ytdl_gui.rdef.in"
|
||||
@@ -51,20 +51,22 @@ BUILD_PREREQUIRES="
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:lrelease$secondaryArchSuffix >= 5
|
||||
cmd:cmake
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:qmake$secondaryArchSuffix >= 5
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -B build $cmakeDirArgs \
|
||||
-DCMAKE_INSTALL_BINDIR=$appsDir
|
||||
rm -rf $dataDir
|
||||
make build
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
mv ./src/youtubedl-gui $appsDir/ytdl-gui
|
||||
make install -C build
|
||||
|
||||
local APP_SIGNATURE="application/x-vnd.ytdl_gui"
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
@@ -74,6 +76,6 @@ INSTALL()
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@LONG_INFO@|$LONG_INFO|" \
|
||||
$portDir/additional-files/ytdl_gui.rdef.in > $sourceDir/ytdl_gui.rdef
|
||||
addResourcesToBinaries $sourceDir/ytdl_gui.rdef $appsDir/ytdl-gui
|
||||
addAppDeskbarSymlink $appsDir/ytdl-gui "YouTubeDL-GUI"
|
||||
addResourcesToBinaries $sourceDir/ytdl_gui.rdef $appsDir/youtubedl-gui
|
||||
addAppDeskbarSymlink $appsDir/youtubedl-gui "YouTubeDL-GUI"
|
||||
}
|
||||
Reference in New Issue
Block a user