100% more icon (#1462)

This commit is contained in:
miqlas
2017-06-22 11:50:58 +02:00
committed by diversys
parent 1aeea57fef
commit 28d82dbc31
2 changed files with 142 additions and 0 deletions

View File

@@ -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
}