media-video/kikoplay: update live build to fit upstream

The patches have been merged to upstream.
Related about this package:
https://github.com/gentoo/guru/issues/7
https://bugs.gentoo.org/671248
https://bugs.gentoo.org/657722

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
Huang Rui
2020-04-20 03:21:19 +08:00
parent 6f3aef0ce6
commit ac4adf5977

View File

@@ -43,30 +43,9 @@ DEPEND="
"
BDEPEND="
media-gfx/imagemagick
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}"/${PN}-0.6.0-desktop.patch # Add a desktop file
"${FILESDIR}"/${PN}-0.6.0-home.patch # Fix config file path
)
src_prepare() {
default
# Fix lua link problem, link to lua5.3 to fix bug
sed -i "s/-llua/-llua5.3/" KikoPlay.pro || die "Could not fix lua link"
echo "target.path += /usr/bin" >> KikoPlay.pro || die "Could not fix install path"
echo "INSTALLS += target icons desktop" >> KikoPlay.pro || die "Could not fix install target"
echo "unix:icons.path = /usr/share/pixmaps" >> KikoPlay.pro || die "Could not fix install icon PATH"
echo "unix:desktop.path = /usr/share/applications" >> KikoPlay.pro || die "Could not fix install desktop PATH"
echo "unix:icons.files = kikoplay.png kikoplay.xpm" >> KikoPlay.pro || die "Could not fix install desktop PATH"
echo "unix:desktop.files = kikoplay.desktop" >> KikoPlay.pro || die "Could not fix install desktop PATH"
echo "DEFINES += CONFIG_HOME_DATA" >> KikoPlay.pro || die "Could not set defines"
convert kikoplay.ico kikoplay.png || die "Could not create PNG icon"
convert kikoplay.ico kikoplay.xpm || die "Could not create XPM icon"
}
src_configure() {
eqmake5 PREFIX="${D}"/usr
}