omxplayer: unbreak on musl and fix omxplayer-dbus.

This commit is contained in:
Juan RP 2015-10-23 18:18:01 +02:00
parent 0f3b976f88
commit f90bf0579e
2 changed files with 5 additions and 2 deletions

View file

@ -101,5 +101,5 @@
-INCLUDES += -isystem$(SDKSTAGE)/opt/vc/include -isystem$(SYSROOT)/usr/include -isystem$(SDKSTAGE)/opt/vc/include/interface/vcos/pthreads -Ipcre/build -Iboost-trunk -Ifreetype2/include
+#STRIP := strip
+CFLAGS += -fomit-frame-pointer -mtune=arm1176jzf-s
+LDFLAGS += -L$(XBPS_CROSS_BASE)/opt/vc/lib/
+LDFLAGS += -L$(XBPS_CROSS_BASE)/opt/vc/lib/ -Wl,-R/opt/vc/lib
+INCLUDES += -I$(XBPS_CROSS_BASE)/opt/vc/include -I$(XBPS_CROSS_BASE)/opt/vc/include/interface/vmcs_host/linux -I$(XBPS_CROSS_BASE)/opt/vc/include/interface/vcos/pthreads -I$(XBPS_CROSS_BASE)/usr/include/freetype2 -I$(XBPS_CROSS_BASE)/usr/include/dbus-1.0 -I$(XBPS_CROSS_BASE)/usr/lib/dbus-1.0/include

View file

@ -1,7 +1,7 @@
# Template file for 'omxplayer'
pkgname=omxplayer
version=20150907
revision=2
revision=3
short_desc="Commandline OMX player for the Raspberry Pi"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
@ -24,3 +24,6 @@ do_build() {
mkdir -p /opt/vc/lib
make CC=$CC XBPS_CROSS_BASE=$XBPS_CROSS_BASE ${makejobs}
}
post_install() {
sed -i 's,omxplayer.bin,omxplayer,g' ${DESTDIR}/usr/bin/omxplayer-dbus
}