diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/bcm2835-firmware/Makefile | 6 | ||||
-rw-r--r-- | package/libcdio/Makefile | 4 | ||||
-rw-r--r-- | package/samba/Makefile | 24 | ||||
-rw-r--r-- | package/sdl/Makefile | 1 | ||||
-rw-r--r-- | package/xbmc/Makefile | 27 | ||||
-rw-r--r-- | package/xbmc/files/xbmc.init | 29 | ||||
-rw-r--r-- | package/xbmc/files/xbmc.postinst | 3 | ||||
-rw-r--r-- | package/xbmc/patches/patch-configure | 11 | ||||
-rw-r--r-- | package/xbmc/patches/patch-xbmc_Application_cpp | 2 |
9 files changed, 68 insertions, 39 deletions
diff --git a/package/bcm2835-firmware/Makefile b/package/bcm2835-firmware/Makefile index f88910535..18f9a3197 100644 --- a/package/bcm2835-firmware/Makefile +++ b/package/bcm2835-firmware/Makefile @@ -4,10 +4,10 @@ include ${TOPDIR}/rules.mk PKG_NAME:= bcm2835-firmware -# actually 5113ce63be622e50c1b3ec309798e5d091d219ac from 12.10.2013 -PKG_VERSION:= 0.4 +# actually f46e6d9cb9a6bf419fe2a428a8a586239e93aa2d from 07.01.2014 +PKG_VERSION:= 0.5 PKG_RELEASE:= 1 -PKG_MD5SUM:= e7f4caa11f26d5af07ae45128b2ac328 +PKG_MD5SUM:= 0de84bd4fe70b7767026aef5313dd868 PKG_DESCR:= firmware for raspberry pi (bcm2835) PKG_SECTION:= base PKG_SITES:= http://openadk.org/distfiles/ diff --git a/package/libcdio/Makefile b/package/libcdio/Makefile index c559391a9..5584063b1 100644 --- a/package/libcdio/Makefile +++ b/package/libcdio/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:= libcdio PKG_VERSION:= 0.90 -PKG_RELEASE:= 2 +PKG_RELEASE:= 3 PKG_MD5SUM:= 1b245b023fb03a58d030fd2800db3247 PKG_DESCR:= a library for CD-ROM and CD image access PKG_SECTION:= libs @@ -17,6 +17,8 @@ include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,LIBCDIO,libcdio,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) +TARGET_LDFLAGS+= -ltinfo + libcdio-install: $(INSTALL_DIR) $(IDIR_LIBCDIO)/usr/lib $(CP) $(WRKINST)/usr/lib/libcdio*.so* \ diff --git a/package/samba/Makefile b/package/samba/Makefile index 5c090d1b8..794bbb61f 100644 --- a/package/samba/Makefile +++ b/package/samba/Makefile @@ -31,7 +31,7 @@ $(eval $(call PKG_template,SAMBA_CLIENT,samba-client,${PKG_VERSION}-${PKG_RELEAS $(eval $(call PKG_template,SAMBA_PASSWD,samba-passwd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_SAMBA_PASSWD},${PKG_SECTION})) $(eval $(call PKG_template,SAMBA_LIB,samba-lib,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_SAMBA_LIB},${PKG_SECTION})) -TARGET_LDFLAGS+= -Wl,-rpath -Wl,/usr/lib/samba +#TARGET_LDFLAGS+= -Wl,-rpath -Wl,/usr/lib/samba CONFIGURE_ENV+= samba_cv_CC_NEGATIVE_ENUM_VALUES=no \ samba_cv_USE_SETRESUID=no \ ac_cv_lib_ext_nsl_connect=no \ @@ -39,7 +39,7 @@ CONFIGURE_ENV+= samba_cv_CC_NEGATIVE_ENUM_VALUES=no \ ac_cv_lib_ext_nsl_gethostbyname=no \ ac_cv_file__proc_sys_kernel_core_pattern=yes \ libreplace_cv_HAVE_GETADDRINFO=no -CONFIGURE_ARGS+= --libdir=/usr/lib/samba \ +CONFIGURE_ARGS+= --libdir=/usr/lib \ --localstatedir=/var/log/samba \ --with-configdir=/etc/samba \ --with-lockdir=/var/run/samba \ @@ -57,13 +57,13 @@ CONFIGURE_ARGS+= --libdir=/usr/lib/samba \ samba-install: ${INSTALL_DIR} ${IDIR_SAMBA}/etc/samba ${IDIR_SAMBA}/usr/sbin - ${INSTALL_DIR} ${IDIR_SAMBA}/usr/lib/samba/{charset,vfs} - ${INSTALL_DATA} ${WRKINST}/usr/lib/samba/charset/CP850.so \ - ${IDIR_SAMBA}/usr/lib/samba/charset + ${INSTALL_DIR} ${IDIR_SAMBA}/usr/lib/{charset,vfs} + ${INSTALL_DATA} ${WRKINST}/usr/lib/charset/CP850.so \ + ${IDIR_SAMBA}/usr/lib/charset ${INSTALL_DATA} ./files/smb.conf ${IDIR_SAMBA}/etc/samba ${INSTALL_BIN} ${WRKINST}/usr/sbin/{nmbd,smbd} ${IDIR_SAMBA}/usr/sbin - ${CP} ${WRKINST}/usr/lib/samba/vfs/*.so* ${IDIR_SAMBA}/usr/lib/samba/vfs - ${INSTALL_DATA} ${WRKINST}/usr/lib/samba/*.dat ${IDIR_SAMBA}/usr/lib/samba + ${CP} ${WRKINST}/usr/lib/vfs/*.so* ${IDIR_SAMBA}/usr/lib/vfs + ${INSTALL_DATA} ${WRKINST}/usr/lib/*.dat ${IDIR_SAMBA}/usr/lib samba-passwd-install: ${INSTALL_DIR} ${IDIR_SAMBA_PASSWD}/usr/bin @@ -76,10 +76,10 @@ samba-client-install: ${IDIR_SAMBA_CLIENT}/usr/bin samba-lib-install: - ${INSTALL_DIR} ${IDIR_SAMBA_LIB}/usr/lib/samba - ${CP} ${WRKINST}/usr/lib/samba/{libsmbclient,libsmbsharemodes,libnetapi}.so* \ - ${IDIR_SAMBA}/usr/lib/samba - $(CP) ${WRKINST}/usr/lib/samba/{libtalloc,libtdb,libtevent}.* \ - ${IDIR_SAMBA_LIB}/usr/lib/samba + ${INSTALL_DIR} ${IDIR_SAMBA_LIB}/usr/lib + ${CP} ${WRKINST}/usr/lib/{libsmbclient,libsmbsharemodes,libnetapi}.so* \ + ${IDIR_SAMBA_LIB}/usr/lib + $(CP) ${WRKINST}/usr/lib/{libtalloc,libtdb,libtevent}.* \ + ${IDIR_SAMBA_LIB}/usr/lib include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/sdl/Makefile b/package/sdl/Makefile index 3a76249ae..ec5e394d0 100644 --- a/package/sdl/Makefile +++ b/package/sdl/Makefile @@ -31,6 +31,7 @@ $(eval $(call HOST_template,LIBSDL,libsdl,$(PKG_VERSION)-${PKG_RELEASE})) $(eval $(call PKG_template,LIBSDL,libsdl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) HOST_STYLE:= auto +HOST_CONFIGURE_ARGS+= --without-x ifeq ($(ADK_PACKAGE_SDL_WITH_TSLIB),y) CONFIGURE_ARGS+= --enable-input-tslib diff --git a/package/xbmc/Makefile b/package/xbmc/Makefile index 236cd78b6..fe4aa15c2 100644 --- a/package/xbmc/Makefile +++ b/package/xbmc/Makefile @@ -4,27 +4,27 @@ include $(TOPDIR)/rules.mk PKG_NAME:= xbmc -PKG_VERSION:= 12.2 -PKG_RELEASE:= 3 -PKG_MD5SUM:= 489f3877decae4e265ece54f9eaef0ba +PKG_VERSION:= 12.3 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 7ae385ebf8e5cfcb917393235e6efbdb PKG_DESCR:= software media player PKG_SECTION:= multimedia PKG_DEPENDS:= boost libffmpeg python2 libstdcxx bcm2835-vc -PKG_DEPENDS+= libglew mesalib libass libmpeg2 libmad dbus +PKG_DEPENDS+= libglew mesalib libass libmpeg2 libmad PKG_DEPENDS+= libjpeg-turbo libogg libvorbis libmodplug libcurl PKG_DEPENDS+= libflac libopenssl libbz2 libtiff liblzo PKG_DEPENDS+= yajl tinyxml libsqlite libpcrecpp libpng PKG_DEPENDS+= libpcre libcdio libfreetype libsamplerate PKG_DEPENDS+= taglib libjasper libmp3lame libmicrohttpd -PKG_DEPENDS+= omxplayer libusb-compat libbluray libgpg-error -PKG_DEPENDS+= libssh libcec libnfs librtmp +PKG_DEPENDS+= omxplayer libbluray libgpg-error libudev +PKG_DEPENDS+= libssh libcec libnfs librtmp samba-lib libncurses PKG_BUILDDEP:= autotool boost ffmpeg python2 MesaLib libglew libass PKG_BUILDDEP+= libmpeg2 libmad libjpeg-turbo libogg libvorbis libmodplug PKG_BUILDDEP+= curl flac openssl bzip2 libtiff liblzo yajl PKG_BUILDDEP+= tinyxml sqlite pcre libpng libcdio freetype PKG_BUILDDEP+= libsamplerate taglib libjasper lame libmicrohttpd -PKG_BUILDDEP+= bcm2835-vc libgpg-error dbus libusb-compat libbluray -PKG_BUILDDEP+= libssh libcec libnfs samba rtmpdump +PKG_BUILDDEP+= bcm2835-vc libgpg-error libbluray +PKG_BUILDDEP+= libssh libcec libnfs samba rtmpdump systemd PKG_BUILDDEP+= swig-host sdl-host sdl-image-host liblzo-host PKG_URL:= http://xbmc.org/ PKG_SITES:= http://mirrors.xbmc.org/releases/source/ @@ -32,6 +32,8 @@ PKG_SITES:= http://mirrors.xbmc.org/releases/source/ PKG_SYSTEM_DEPENDS:= raspberry-pi PKG_LIBC_DEPENDS:= eglibc glibc musl +WRKDIST= $(WRKDIR)/$(PKG_NAME)-$(PKG_VERSION)-Frodo + include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,XBMC,xbmc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) @@ -53,20 +55,23 @@ CONFIGURE_ARGS+= --disable-optical-drive \ --enable-samba \ --enable-ssh \ --enable-nfs \ - --enable-libusb \ + --enable-udev \ --enable-libbluray \ --enable-external-libraries \ --enable-player=omxplayer \ --enable-gles \ --enable-rtmp \ + --disable-libusb \ + --disable-libcap \ --disable-sdl \ --disable-joystick \ --disable-dvdcss \ --disable-x11 \ + --disable-debug \ --with-platform=raspberry-pi -post-extract: - (cd $(WRKDIR) && ${BASH} $(TOPDIR)/scripts/xbmc-fix.sh) +pre-configure: + (cd $(WRKBUILD)/lib/cpluff && ./autogen.sh) xbmc-install: $(INSTALL_DIR) $(IDIR_XBMC)/usr/lib/xbmc diff --git a/package/xbmc/files/xbmc.init b/package/xbmc/files/xbmc.init new file mode 100644 index 000000000..ed8a49bd6 --- /dev/null +++ b/package/xbmc/files/xbmc.init @@ -0,0 +1,29 @@ +#!/bin/sh +#PKG xbmc +#INIT 95 + +. /etc/rc.conf + +case $1 in +autostop) ;; +autostart) + test x"${xbmc:-NO}" = x"NO" && exit 0 + exec sh $0 start + ;; +start) + export LD_LIBRARY_PATH=/opt/vc/lib + xbmc & + ;; +stop) + kill $(pgrep -f /usr/bin/xbmc) + ;; +restart) + sh $0 stop + sh $0 start + ;; +*) + echo "Usage: $0 {start | stop | restart}" + exit 1 + ;; +esac +exit $? diff --git a/package/xbmc/files/xbmc.postinst b/package/xbmc/files/xbmc.postinst new file mode 100644 index 000000000..60fffdadc --- /dev/null +++ b/package/xbmc/files/xbmc.postinst @@ -0,0 +1,3 @@ +#!/bin/sh +. $IPKG_INSTROOT/etc/functions.sh +add_rcconf xbmc xbmc NO diff --git a/package/xbmc/patches/patch-configure b/package/xbmc/patches/patch-configure deleted file mode 100644 index 23c0e4bdb..000000000 --- a/package/xbmc/patches/patch-configure +++ /dev/null @@ -1,11 +0,0 @@ ---- xbmc-12.2.orig/configure 2013-05-03 07:57:46.000000000 +0200 -+++ xbmc-12.2/configure 2013-07-31 14:45:10.000000000 +0200 -@@ -18629,7 +18629,7 @@ $as_echo "#define HAVE_LIBGLESV2 1" >>co - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: == WARNING: OpenGLES support is assumed." >&5 - $as_echo "== WARNING: OpenGLES support is assumed." >&6; } -- LIBS="$LIBS -lEGL -lGLESv2 -lbcm_host -lvcos -lvchiq_arm" -+ LIBS="$LIBS -lEGL -lGLESv2 -lbcm_host -lvcos -lvchiq_arm -lkhrn_static -lpthread -lm" - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lEGL" >&5 - $as_echo_n "checking for main in -lEGL... " >&6; } diff --git a/package/xbmc/patches/patch-xbmc_Application_cpp b/package/xbmc/patches/patch-xbmc_Application_cpp index dd350c3b6..26d7d800e 100644 --- a/package/xbmc/patches/patch-xbmc_Application_cpp +++ b/package/xbmc/patches/patch-xbmc_Application_cpp @@ -13,7 +13,7 @@ userName = "root"; CStdString userHome; -+ userHome = "/etc/xbmc"; ++ userHome = "/data/xbmc"; +/* if (getenv("HOME")) userHome = getenv("HOME"); |