mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
100% more icon (#1462)
This commit is contained in:
@@ -27,6 +27,7 @@ SOURCE_URI="http://www.mplayerhq.hu/MPlayer/releases/MPlayer-$portVersion.tar.xz
|
||||
CHECKSUM_SHA256="3ad0846c92d89ab2e4e6fb83bf991ea677e7aa2ea775845814cbceb608b09843"
|
||||
SOURCE_DIR="MPlayer-$portVersion"
|
||||
PATCHES="mplayer_x86-1.3.0.patchset"
|
||||
ADDITIONAL_FILES="mplayer.rdef.in"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
@@ -183,4 +184,15 @@ INSTALL()
|
||||
{
|
||||
make install
|
||||
strip $binDir/*
|
||||
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
||||
sed \
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
-e "s|@MINOR@|$MINOR|" \
|
||||
$portDir/additional-files/mplayer.rdef.in > mplayer.rdef
|
||||
|
||||
addResourcesToBinaries mplayer.rdef $binDir/mplayer
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user