From 970360fbd26f3614f9f96e69d86024db1f498178 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 31 Jan 2014 16:25:42 +0100 Subject: explicitely enable vorbis/lame --- package/xbmc/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package/xbmc') diff --git a/package/xbmc/Makefile b/package/xbmc/Makefile index 05026e12b..581f3134f 100644 --- a/package/xbmc/Makefile +++ b/package/xbmc/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:= xbmc PKG_VERSION:= 12.3 -PKG_RELEASE:= 2 +PKG_RELEASE:= 3 PKG_MD5SUM:= 7ae385ebf8e5cfcb917393235e6efbdb PKG_DESCR:= software media player PKG_SECTION:= multimedia @@ -58,6 +58,8 @@ CONFIGURE_ENV+= DESTDIR='${WRKINST}' \ TEXTUREPACKER_NATIVE_ROOT='$(STAGING_HOST_DIR)/usr' CONFIGURE_ARGS+= --disable-optical-drive \ --disable-mysql \ + --enable-libmp3lame \ + --enable-libvorbisenc \ --enable-samba \ --enable-ssh \ --enable-nfs \ -- cgit v1.2.3 From 8654ad5356bbdf44558f041b0d63c14320d6834f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 31 Jan 2014 16:40:25 +0100 Subject: add missing source files --- .../powermanagement/linux/LinuxPowerSyscall.cpp | 56 ++++++++++++++++++++++ .../xbmc/powermanagement/linux/LinuxPowerSyscall.h | 45 +++++++++++++++++ 2 files changed, 101 insertions(+) create mode 100644 package/xbmc/src/xbmc/powermanagement/linux/LinuxPowerSyscall.cpp create mode 100644 package/xbmc/src/xbmc/powermanagement/linux/LinuxPowerSyscall.h (limited to 'package/xbmc') diff --git a/package/xbmc/src/xbmc/powermanagement/linux/LinuxPowerSyscall.cpp b/package/xbmc/src/xbmc/powermanagement/linux/LinuxPowerSyscall.cpp new file mode 100644 index 000000000..4b8b25efb --- /dev/null +++ b/package/xbmc/src/xbmc/powermanagement/linux/LinuxPowerSyscall.cpp @@ -0,0 +1,56 @@ +/* + * Copyright (C) 2014 Team XBMC + * http://www.xbmc.org + * + * This Program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This Program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with XBMC; see the file COPYING. If not, see + * . + * + */ + +#if defined (_LINUX) + +#include +#include "LinuxPowerSyscall.h" +#include "utils/log.h" + +CLinuxPowerSyscall::CLinuxPowerSyscall() +{ + CLog::Log(LOGINFO, "Selected LinuxPower as PowerSyscall"); +} + +CLinuxPowerSyscall::~CLinuxPowerSyscall() +{ } + +bool CLinuxPowerSyscall::Powerdown() +{ + system("/sbin/poweroff -F"); + return 0; +} + +bool CLinuxPowerSyscall::Reboot() +{ + system("/sbin/reboot -F"); + return 0; +} + +int CLinuxPowerSyscall::BatteryLevel(void) +{ } + +bool CLinuxPowerSyscall::PumpPowerEvents(IPowerEventsCallback *callback) +{ + return true; +} + +#endif + diff --git a/package/xbmc/src/xbmc/powermanagement/linux/LinuxPowerSyscall.h b/package/xbmc/src/xbmc/powermanagement/linux/LinuxPowerSyscall.h new file mode 100644 index 000000000..959a8119b --- /dev/null +++ b/package/xbmc/src/xbmc/powermanagement/linux/LinuxPowerSyscall.h @@ -0,0 +1,45 @@ +#pragma once +/* + * Copyright (C) 2014 Team XBMC + * http://www.xbmc.org + * + * This Program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This Program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with XBMC; see the file COPYING. If not, see + * . + * + */ + +#if defined (_LINUX) +#include "powermanagement/IPowerSyscall.h" + +class CLinuxPowerSyscall : public CPowerSyscallWithoutEvents +{ +public: + CLinuxPowerSyscall(); + ~CLinuxPowerSyscall(); + + virtual bool Powerdown(); + virtual bool Suspend(void) { return false; } + virtual bool Hibernate(void) { return false; } + virtual bool Reboot(); + + virtual bool CanPowerdown(void) { return true; } + virtual bool CanSuspend(void) { return false; } + virtual bool CanHibernate(void) { return false; } + virtual bool CanReboot(void) { return true; } + virtual int BatteryLevel(void); + + virtual bool PumpPowerEvents(IPowerEventsCallback *callback); +}; +#endif + -- cgit v1.2.3 From bc77b8037f471907136351867d1c88a6e92b3aee Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 31 Jan 2014 17:27:23 +0100 Subject: update taglib, enable midi support --- package/taglib/Makefile | 6 +++--- package/xbmc/Makefile | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'package/xbmc') diff --git a/package/taglib/Makefile b/package/taglib/Makefile index 402b89c7f..9f323fc54 100644 --- a/package/taglib/Makefile +++ b/package/taglib/Makefile @@ -4,15 +4,15 @@ include $(TOPDIR)/rules.mk PKG_NAME:= taglib -PKG_VERSION:= 1.8 +PKG_VERSION:= 1.9.1 PKG_RELEASE:= 1 -PKG_MD5SUM:= dcb8bd1b756f2843e18b1fdf3aaeee15 +PKG_MD5SUM:= 0d35df96822bbd564c5504cb3c2e4d86 PKG_DESCR:= Audio Meta-Data library PKG_SECTION:= libs PKG_DEPENDS:= zlib PKG_BUILDDEP:= cmake-host zlib PKG_URL:= http://taglib.github.com/ -PKG_SITES:= http://openadk.org/distfiles/ +PKG_SITES:= http://taglib.github.io/releases/ PKG_OPTS:= dev include $(TOPDIR)/mk/package.mk diff --git a/package/xbmc/Makefile b/package/xbmc/Makefile index 581f3134f..c368c4657 100644 --- a/package/xbmc/Makefile +++ b/package/xbmc/Makefile @@ -58,6 +58,7 @@ CONFIGURE_ENV+= DESTDIR='${WRKINST}' \ TEXTUREPACKER_NATIVE_ROOT='$(STAGING_HOST_DIR)/usr' CONFIGURE_ARGS+= --disable-optical-drive \ --disable-mysql \ + --enable-mid \ --enable-libmp3lame \ --enable-libvorbisenc \ --enable-samba \ -- cgit v1.2.3