* [Buildroot] [PATCH v2 00/12] Introducing XBMC
@ 2014-01-16 0:15 Maxime Hadjinlian
2014-01-16 0:15 ` [Buildroot] [PATCH v2 01/12] libass: new package Maxime Hadjinlian
` (12 more replies)
0 siblings, 13 replies; 28+ messages in thread
From: Maxime Hadjinlian @ 2014-01-16 0:15 UTC (permalink / raw)
To: buildroot
This is the v2 of the series introducing XBMC with the different comments taken
into accounts.
Note that the packages already commited were ommited this time.
Maxime Hadjinlian (12):
libass: new package
libbluray: new package
libcdio: new package
libnfs: new package
libplist: new package
librtmp: new package
libshairplay: new package
tinyxml: new package
sdl: add host version
sdl_image: add host version
libenca: new package
xbmc: new package
package/Config.in | 10 +
package/libass/Config.in | 10 +
package/libass/libass.mk | 14 ++
package/libbluray/Config.in | 6 +
package/libbluray/libbluray.mk | 19 ++
package/libcdio/Config.in | 11 ++
package/libcdio/libcdio.mk | 18 ++
package/libenca/Config.in | 6 +
.../libenca/libenca-000-do-not-build-tools.patch | 44 +++++
.../libenca-001-fix-installation-error.patch | 44 +++++
...benca-002-remove-prefix-hack-in-configure.patch | 33 ++++
package/libenca/libenca.mk | 36 ++++
package/libnfs/Config.in | 11 ++
package/libnfs/libnfs.mk | 16 ++
package/libplist/Config.in | 12 ++
package/libplist/libplist.mk | 15 ++
package/librtmp/Config.in | 8 +
package/librtmp/librtmp.mk | 51 ++++++
package/libshairplay/Config.in | 12 ++
package/libshairplay/libshairplay.mk | 14 ++
package/sdl/sdl.mk | 2 +
package/sdl_image/sdl_image.mk | 11 ++
package/tinyxml/Config.in | 11 ++
package/tinyxml/tinyxml.mk | 15 ++
package/xbmc/Config.in | 202 +++++++++++++++++++++
package/xbmc/S99xbmc.default | 24 +++
package/xbmc/S99xbmc.raspberrypi | 31 ++++
package/xbmc/xbmc-0001-Fixup-include-path.patch | 79 ++++++++
.../xbmc-0002-RaspberryPi-Default-Settings.patch | 167 +++++++++++++++++
package/xbmc/xbmc.mk | 167 +++++++++++++++++
30 files changed, 1099 insertions(+)
create mode 100644 package/libass/Config.in
create mode 100644 package/libass/libass.mk
create mode 100644 package/libbluray/Config.in
create mode 100644 package/libbluray/libbluray.mk
create mode 100644 package/libcdio/Config.in
create mode 100644 package/libcdio/libcdio.mk
create mode 100644 package/libenca/Config.in
create mode 100644 package/libenca/libenca-000-do-not-build-tools.patch
create mode 100644 package/libenca/libenca-001-fix-installation-error.patch
create mode 100644 package/libenca/libenca-002-remove-prefix-hack-in-configure.patch
create mode 100644 package/libenca/libenca.mk
create mode 100644 package/libnfs/Config.in
create mode 100644 package/libnfs/libnfs.mk
create mode 100644 package/libplist/Config.in
create mode 100644 package/libplist/libplist.mk
create mode 100644 package/librtmp/Config.in
create mode 100644 package/librtmp/librtmp.mk
create mode 100644 package/libshairplay/Config.in
create mode 100644 package/libshairplay/libshairplay.mk
create mode 100644 package/tinyxml/Config.in
create mode 100644 package/tinyxml/tinyxml.mk
create mode 100644 package/xbmc/Config.in
create mode 100755 package/xbmc/S99xbmc.default
create mode 100755 package/xbmc/S99xbmc.raspberrypi
create mode 100644 package/xbmc/xbmc-0001-Fixup-include-path.patch
create mode 100644 package/xbmc/xbmc-0002-RaspberryPi-Default-Settings.patch
create mode 100644 package/xbmc/xbmc.mk
--
1.8.5.2
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 01/12] libass: new package
2014-01-16 0:15 [Buildroot] [PATCH v2 00/12] Introducing XBMC Maxime Hadjinlian
@ 2014-01-16 0:15 ` Maxime Hadjinlian
2014-01-17 8:08 ` Peter Korsgaard
2014-01-18 11:41 ` Bernd Kuhls
2014-01-16 0:15 ` [Buildroot] [PATCH v2 02/12] libbluray: " Maxime Hadjinlian
` (11 subsequent siblings)
12 siblings, 2 replies; 28+ messages in thread
From: Maxime Hadjinlian @ 2014-01-16 0:15 UTC (permalink / raw)
To: buildroot
libass is a portable subtitle renderer for the
ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: gimli <ebsi4711@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
Changes v2 -> v3
- Fix header
Changes v1 -> v2
- Bump version to 0.10.2 (Bernd Kuhls)
---
package/Config.in | 1 +
package/libass/Config.in | 10 ++++++++++
package/libass/libass.mk | 14 ++++++++++++++
3 files changed, 25 insertions(+)
create mode 100644 package/libass/Config.in
create mode 100644 package/libass/libass.mk
diff --git a/package/Config.in b/package/Config.in
index 2f62d6c..1d6c9c6 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -627,6 +627,7 @@ source "package/yajl/Config.in"
endmenu
menu "Multimedia"
+source "package/libass/Config.in"
source "package/libdvbsi/Config.in"
source "package/libdvdnav/Config.in"
source "package/libdvdread/Config.in"
diff --git a/package/libass/Config.in b/package/libass/Config.in
new file mode 100644
index 0000000..ff34b64
--- /dev/null
+++ b/package/libass/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_LIBASS
+ bool "libass"
+ select BR2_PACKAGE_FREETYPE
+ select BR2_PACKAGE_FONTCONFIG
+ select BR2_PACKAGE_LIBENCA
+ help
+ libass is a portable subtitle renderer for the ASS/SSA
+ (Advanced Substation Alpha/Substation Alpha) subtitle format
+
+ http://code.google.com/p/libass/
diff --git a/package/libass/libass.mk b/package/libass/libass.mk
new file mode 100644
index 0000000..854a7d5
--- /dev/null
+++ b/package/libass/libass.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# libass
+#
+################################################################################
+
+LIBASS_VERSION = 0.10.2
+LIBASS_SITE = http://libass.googlecode.com/files
+LIBASS_INSTALL_STAGING = YES
+LIBASS_DEPENDENCIES = freetype fontconfig libenca
+LIBASS_LICENSE = BSD-3c
+LIBASS_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))
--
1.8.5.2
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 02/12] libbluray: new package
2014-01-16 0:15 [Buildroot] [PATCH v2 00/12] Introducing XBMC Maxime Hadjinlian
2014-01-16 0:15 ` [Buildroot] [PATCH v2 01/12] libass: new package Maxime Hadjinlian
@ 2014-01-16 0:15 ` Maxime Hadjinlian
2014-01-16 0:15 ` [Buildroot] [PATCH v2 03/12] libcdio: " Maxime Hadjinlian
` (10 subsequent siblings)
12 siblings, 0 replies; 28+ messages in thread
From: Maxime Hadjinlian @ 2014-01-16 0:15 UTC (permalink / raw)
To: buildroot
LIBBLURAY is a client library for accessing bluray disks.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: gimli <ebsi4711@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
Changes v1 -> v2
- Bump version to 0.5.0 and add missing build dependency (Bernd Kuhls)
---
package/Config.in | 1 +
package/libbluray/Config.in | 6 ++++++
package/libbluray/libbluray.mk | 19 +++++++++++++++++++
3 files changed, 26 insertions(+)
create mode 100644 package/libbluray/Config.in
create mode 100644 package/libbluray/libbluray.mk
diff --git a/package/Config.in b/package/Config.in
index 1d6c9c6..0d3c0ce 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -628,6 +628,7 @@ endmenu
menu "Multimedia"
source "package/libass/Config.in"
+source "package/libbluray/Config.in"
source "package/libdvbsi/Config.in"
source "package/libdvdnav/Config.in"
source "package/libdvdread/Config.in"
diff --git a/package/libbluray/Config.in b/package/libbluray/Config.in
new file mode 100644
index 0000000..eeb93dc
--- /dev/null
+++ b/package/libbluray/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LIBBLURAY
+ bool "libbluray"
+ help
+ libbluray is a client library for accessing bluray disks.
+
+ http://www.videolan.org/developers/libbluray.html
diff --git a/package/libbluray/libbluray.mk b/package/libbluray/libbluray.mk
new file mode 100644
index 0000000..e1e6bdd
--- /dev/null
+++ b/package/libbluray/libbluray.mk
@@ -0,0 +1,19 @@
+################################################################################
+#
+# libbluray
+#
+################################################################################
+
+LIBBLURAY_VERSION = 0.5.0
+LIBBLURAY_SITE = ftp://ftp.videolan.org/pub/videolan/libbluray/$(LIBBLURAY_VERSION)
+LIBBLURAY_SOURCE = libbluray-$(LIBBLURAY_VERSION).tar.bz2
+LIBBLURAY_INSTALL_STAGING = YES
+LIBBLURAY_LICENSE = LGPLv2.1+
+LIBBLURAY_LICENSE_FILES = COPYING
+LIBBLURAY_DEPENDENCIES = host-pkgconf freetype bzip2 libxml2 zlib
+
+ifeq ($(BR2_PACKAGE_LIBICONV),y)
+ LIBBLURAY_DEPENDENCIES += libiconv
+endif
+
+$(eval $(autotools-package))
--
1.8.5.2
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 03/12] libcdio: new package
2014-01-16 0:15 [Buildroot] [PATCH v2 00/12] Introducing XBMC Maxime Hadjinlian
2014-01-16 0:15 ` [Buildroot] [PATCH v2 01/12] libass: new package Maxime Hadjinlian
2014-01-16 0:15 ` [Buildroot] [PATCH v2 02/12] libbluray: " Maxime Hadjinlian
@ 2014-01-16 0:15 ` Maxime Hadjinlian
2014-01-16 0:15 ` [Buildroot] [PATCH v2 04/12] libnfs: " Maxime Hadjinlian
` (9 subsequent siblings)
12 siblings, 0 replies; 28+ messages in thread
From: Maxime Hadjinlian @ 2014-01-16 0:15 UTC (permalink / raw)
To: buildroot
The GNU Compact Disc Input and Control library.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: gimli <ebsi4711@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
Changes v1 -> v2
- Bump version to 0.90 (Bernd Kuhls)
- Fix comment for requiring C++ (Peter Korsgaard)
---
package/Config.in | 1 +
package/libcdio/Config.in | 11 +++++++++++
package/libcdio/libcdio.mk | 18 ++++++++++++++++++
3 files changed, 30 insertions(+)
create mode 100644 package/libcdio/Config.in
create mode 100644 package/libcdio/libcdio.mk
diff --git a/package/Config.in b/package/Config.in
index 0d3c0ce..27592d7 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -451,6 +451,7 @@ source "package/celt051/Config.in"
source "package/fdk-aac/Config.in"
source "package/libao/Config.in"
source "package/libcdaudio/Config.in"
+source "package/libcdio/Config.in"
source "package/libcue/Config.in"
source "package/libcuefile/Config.in"
source "package/libid3tag/Config.in"
diff --git a/package/libcdio/Config.in b/package/libcdio/Config.in
new file mode 100644
index 0000000..d2d61e7
--- /dev/null
+++ b/package/libcdio/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_LIBCDIO
+ bool "libcdio"
+ select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
+ depends on BR2_INSTALL_LIBSTDCPP
+ help
+ The GNU Compact Disc Input and Control library.
+
+ http://www.gnu.org/software/libcdio/
+
+comment "libcdio needs a toolchain w/ C++"
+ depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/libcdio/libcdio.mk b/package/libcdio/libcdio.mk
new file mode 100644
index 0000000..a55c7b4
--- /dev/null
+++ b/package/libcdio/libcdio.mk
@@ -0,0 +1,18 @@
+################################################################################
+#
+# libcdio
+#
+################################################################################
+
+LIBCDIO_VERSION = 0.90
+LIBCDIO_SITE = $(BR2_GNU_MIRROR)/libcdio
+LIBCDIO_INSTALL_STAGING = YES
+LIBCDIO_LICENSE = GPLv3+
+LIBCDIO_LICENSE_FILES = COPYING
+LIBCDIO_CONF_OPT = --disable-example-progs
+
+ifeq ($(BR2_ENABLE_LOCALE),)
+LIBCDIO_DEPENDENCIES = libiconv
+endif
+
+$(eval $(autotools-package))
--
1.8.5.2
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 04/12] libnfs: new package
2014-01-16 0:15 [Buildroot] [PATCH v2 00/12] Introducing XBMC Maxime Hadjinlian
` (2 preceding siblings ...)
2014-01-16 0:15 ` [Buildroot] [PATCH v2 03/12] libcdio: " Maxime Hadjinlian
@ 2014-01-16 0:15 ` Maxime Hadjinlian
2014-01-16 0:15 ` [Buildroot] [PATCH v2 05/12] libplist: " Maxime Hadjinlian
` (8 subsequent siblings)
12 siblings, 0 replies; 28+ messages in thread
From: Maxime Hadjinlian @ 2014-01-16 0:15 UTC (permalink / raw)
To: buildroot
nfs userspace implementation.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: gimli <ebsi4711@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
Changes v1 -> v2
- Bump version to 1.8.0 (Bernd Kuhls)
- Fix comment on toolchain option needed (Peter Korsgaard)
---
package/Config.in | 1 +
package/libnfs/Config.in | 11 +++++++++++
package/libnfs/libnfs.mk | 16 ++++++++++++++++
3 files changed, 28 insertions(+)
create mode 100644 package/libnfs/Config.in
create mode 100644 package/libnfs/libnfs.mk
diff --git a/package/Config.in b/package/Config.in
index 27592d7..bd5bec1 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -514,6 +514,7 @@ source "package/libconfig/Config.in"
source "package/libconfuse/Config.in"
source "package/libfuse/Config.in"
source "package/liblockfile/Config.in"
+source "package/libnfs/Config.in"
source "package/libsysfs/Config.in"
source "package/lockdev/Config.in"
endmenu
diff --git a/package/libnfs/Config.in b/package/libnfs/Config.in
new file mode 100644
index 0000000..657bdda
--- /dev/null
+++ b/package/libnfs/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_LIBNFS
+ bool "libnfs"
+ depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
+ depends on BR2_LARGEFILE
+ help
+ nfs userspace implementation.
+
+ http://github.com/sahlberg/libnfs
+
+comment "libnfs needs a toolchain w/ RPC and LARGEFILE"
+ depends on !(BR2_TOOLCHAIN_HAS_NATIVE_RPC && BR2_LARGEFILE)
diff --git a/package/libnfs/libnfs.mk b/package/libnfs/libnfs.mk
new file mode 100644
index 0000000..a17d8c3
--- /dev/null
+++ b/package/libnfs/libnfs.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# libnfs
+#
+################################################################################
+
+LIBNFS_VERSION = libnfs-1.8.0
+LIBNFS_SITE = $(call github,sahlberg,libnfs,$(LIBNFS_VERSION))
+LIBNFS_INSTALL_STAGING = YES
+LIBNFS_AUTORECONF = YES
+LIBNFS_MAKE = $(MAKE1)
+LIBNFS_LICENSE = LGPLv2.1+
+LIBNFS_LICENSE_FILES = LICENCE-LGPL-2.1.txt
+LIBNFS_DEPENDENCIES = host-pkgconf
+
+$(eval $(autotools-package))
--
1.8.5.2
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 05/12] libplist: new package
2014-01-16 0:15 [Buildroot] [PATCH v2 00/12] Introducing XBMC Maxime Hadjinlian
` (3 preceding siblings ...)
2014-01-16 0:15 ` [Buildroot] [PATCH v2 04/12] libnfs: " Maxime Hadjinlian
@ 2014-01-16 0:15 ` Maxime Hadjinlian
2014-01-16 0:15 ` [Buildroot] [PATCH v2 06/12] librtmp: " Maxime Hadjinlian
` (7 subsequent siblings)
12 siblings, 0 replies; 28+ messages in thread
From: Maxime Hadjinlian @ 2014-01-16 0:15 UTC (permalink / raw)
To: buildroot
libplist is a client for manipulating Apple Property List (.plist) files
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: gimli <ebsi4711@gmail.com>
---
Changes v1 -> v2:
- Fix header (Yann E. Morin)
- Fix comments on toolchain option (Peter Korsgaard)
---
package/Config.in | 1 +
package/libplist/Config.in | 12 ++++++++++++
package/libplist/libplist.mk | 15 +++++++++++++++
3 files changed, 28 insertions(+)
create mode 100644 package/libplist/Config.in
create mode 100644 package/libplist/libplist.mk
diff --git a/package/Config.in b/package/Config.in
index bd5bec1..8aa4a2a 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -734,6 +734,7 @@ source "package/libical/Config.in"
source "package/liblog4c-localtime/Config.in"
source "package/libnspr/Config.in"
source "package/libpfm4/Config.in"
+source "package/libplist/Config.in"
source "package/libpthsem/Config.in"
source "package/libseccomp/Config.in"
source "package/libsigc/Config.in"
diff --git a/package/libplist/Config.in b/package/libplist/Config.in
new file mode 100644
index 0000000..c9d511b
--- /dev/null
+++ b/package/libplist/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_LIBPLIST
+ bool "libplist"
+ select BR2_PACKAGE_LIBXML2
+ depends on BR2_INSTALL_LIBSTDCPP
+ help
+ libplist is a client for manipulating Apple Property List
+ (.plist) files
+
+ http://cgit.sukimashita.com/libplist.git
+
+comment "libplist needs a toolchain w/ C++"
+ depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/libplist/libplist.mk b/package/libplist/libplist.mk
new file mode 100644
index 0000000..87f09c6
--- /dev/null
+++ b/package/libplist/libplist.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# libplist
+#
+################################################################################
+
+LIBPLIST_VERSION = 1.6
+LIBPLIST_SITE = http://cgit.sukimashita.com/libplist.git/snapshot
+LIBPLIST_DEPENDENCIES = libxml2
+LIBPLIST_INSTALL_STAGING = YES
+LIBPLIST_MAKE = $(MAKE1)
+LIBPLIST_LICENSE = LGPLv2.1+
+LIBPLIST_LICENSE_FILES = COPYING
+
+$(eval $(cmake-package))
--
1.8.5.2
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 06/12] librtmp: new package
2014-01-16 0:15 [Buildroot] [PATCH v2 00/12] Introducing XBMC Maxime Hadjinlian
` (4 preceding siblings ...)
2014-01-16 0:15 ` [Buildroot] [PATCH v2 05/12] libplist: " Maxime Hadjinlian
@ 2014-01-16 0:15 ` Maxime Hadjinlian
2014-01-18 18:55 ` Bernd Kuhls
2014-01-19 15:25 ` Yann E. MORIN
2014-01-16 0:15 ` [Buildroot] [PATCH v2 07/12] libshairplay: " Maxime Hadjinlian
` (6 subsequent siblings)
12 siblings, 2 replies; 28+ messages in thread
From: Maxime Hadjinlian @ 2014-01-16 0:15 UTC (permalink / raw)
To: buildroot
rtmpdump - RTMPDump Real-Time Messaging Protocol API
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>
Note that this package will only install librtmp in this state.
Hence the name librtmp instead of rtmpdump
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: gimli <ebsi4711@gmail.com>
---
package/Config.in | 1 +
package/librtmp/Config.in | 8 ++++++++
package/librtmp/librtmp.mk | 51 ++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 60 insertions(+)
create mode 100644 package/librtmp/Config.in
create mode 100644 package/librtmp/librtmp.mk
diff --git a/package/Config.in b/package/Config.in
index 8aa4a2a..a5a7572 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -548,6 +548,7 @@ source "package/libpng/Config.in"
source "package/libqrencode/Config.in"
source "package/libraw/Config.in"
source "package/librsvg/Config.in"
+source "package/librtmp/Config.in"
source "package/libsvg/Config.in"
source "package/libsvg-cairo/Config.in"
source "package/libsvgtiny/Config.in"
diff --git a/package/librtmp/Config.in b/package/librtmp/Config.in
new file mode 100644
index 0000000..b04b9f6
--- /dev/null
+++ b/package/librtmp/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LIBRTMP
+ bool "librtmp"
+ select BR2_PACKAGE_ZLIB
+ help
+ rtmpdump - RTMPDump Real-Time Messaging Protocol API
+ Only librtmp is installed by this package.
+
+ http://rtmpdump.mplayerhq.hu
diff --git a/package/librtmp/librtmp.mk b/package/librtmp/librtmp.mk
new file mode 100644
index 0000000..3cb1b91
--- /dev/null
+++ b/package/librtmp/librtmp.mk
@@ -0,0 +1,51 @@
+################################################################################
+#
+#librtmp
+#
+################################################################################
+
+LIBRTMP_VERSION = e0056c51cc1710c9a44d2a2c4e2f344fa9cabcf4
+LIBRTMP_SITE = git://git.ffmpeg.org/rtmpdump
+LIBRTMP_INSTALL_STAGING = YES
+# Note that LIBRTMP is GPLv2 but librtmp has its own license and since we only
+# care about the librtmp, it's LGPLv2.1+
+LIBRTMP_LICENSE = LGPLv2.1+
+LIBRTMP_LICENSE_FILES = librtmp/COPYING
+LIBRTMP_DEPENDENCIES = zlib
+ifeq ($(BR2_PACKAGE_GNUTLS),y)
+ LIBRTMP_DEPENDENCIES += gnutls
+else
+ ifeq ($(BR2_PACKAGE_POLARSSL),y)
+ LIBRTMP_DEPENDENCIES += polarssl
+ else
+ LIBRTMP_DEPENDENCIES += openssl
+ endif
+endif
+
+ifeq ($(BR2_PREFER_STATIC_LIB),y)
+ LIBRTMP_PIC =
+else
+ LIBRTMP_PIC = -fPIC
+endif
+
+define LIBRTMP_BUILD_CMDS
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) $(LIBRTMP_PIC)" CROSS_COMPILE="$(TARGET_CROSS)" -C $(@D)/librtmp
+endef
+
+define LIBRTMP_FIX_PREFIX
+ sed -ie "s|prefix=/usr/local|prefix=/usr|" $(@D)/librtmp/Makefile
+endef
+
+define LIBRTMP_INSTALL_STAGING_CMDS
+ mkdir -p $(STAGING_DIR)/usr/local/lib
+ $(MAKE) -C $(@D)/librtmp install DESTDIR=$(STAGING_DIR)
+endef
+
+define LIBRTMP_INSTALL_TARGET_CMDS
+ mkdir -p $(STAGING_DIR)/usr/local/lib
+ $(MAKE) -C $(@D)/librtmp install DESTDIR=$(TARGET_DIR)
+endef
+
+LIBRTMP_POST_EXTRACT_HOOKS += LIBRTMP_FIX_PREFIX
+
+$(eval $(generic-package))
--
1.8.5.2
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 07/12] libshairplay: new package
2014-01-16 0:15 [Buildroot] [PATCH v2 00/12] Introducing XBMC Maxime Hadjinlian
` (5 preceding siblings ...)
2014-01-16 0:15 ` [Buildroot] [PATCH v2 06/12] librtmp: " Maxime Hadjinlian
@ 2014-01-16 0:15 ` Maxime Hadjinlian
2014-01-19 15:32 ` Yann E. MORIN
2014-01-16 0:15 ` [Buildroot] [PATCH v2 08/12] tinyxml: " Maxime Hadjinlian
` (5 subsequent siblings)
12 siblings, 1 reply; 28+ messages in thread
From: Maxime Hadjinlian @ 2014-01-16 0:15 UTC (permalink / raw)
To: buildroot
libshairplay is a client library that emulates an airplay server
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: gimli <ebsi4711@gmail.com>
---
Changes v1 -> v2:
- Fix header (Yann E. Morin)
- Fix comment on toolchain option (Peter Korsgaard)
---
package/Config.in | 1 +
package/libshairplay/Config.in | 12 ++++++++++++
package/libshairplay/libshairplay.mk | 14 ++++++++++++++
3 files changed, 27 insertions(+)
create mode 100644 package/libshairplay/Config.in
create mode 100644 package/libshairplay/libshairplay.mk
diff --git a/package/Config.in b/package/Config.in
index a5a7572..59a75cd 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -682,6 +682,7 @@ source "package/liboping/Config.in"
source "package/libosip2/Config.in"
source "package/libpcap/Config.in"
source "package/librsync/Config.in"
+source "package/libshairplay/Config.in"
source "package/libsoup/Config.in"
source "package/libtirpc/Config.in"
source "package/libtorrent/Config.in"
diff --git a/package/libshairplay/Config.in b/package/libshairplay/Config.in
new file mode 100644
index 0000000..dd94ef2
--- /dev/null
+++ b/package/libshairplay/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_LIBSHAIRPLAY
+ bool "libshairplay"
+ select BR2_PACKAGE_OPENSSL
+ depends on BR2_INET_IPV6
+ help
+ libshairplay is a client library that emulates an airplay
+ server
+
+ https://github.com/juhovh/shairplay
+
+comment "libshairplay needs a toolchain w/ IPv6"
+ depends on !BR2_INET_IPV6
diff --git a/package/libshairplay/libshairplay.mk b/package/libshairplay/libshairplay.mk
new file mode 100644
index 0000000..3488c24
--- /dev/null
+++ b/package/libshairplay/libshairplay.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# libshairplay
+#
+################################################################################
+
+LIBSHAIRPLAY_VERSION = 139d5ef55564514c31f02dd82cef91236c9ff523
+LIBSHAIRPLAY_SITE = $(call github,juhovh,shairplay,$(LIBSHAIRPLAY_VERSION))
+LIBSHAIRPLAY_INSTALL_STAGING = YES
+LIBSHAIRPLAY_INSTALL_TARGET = YES
+LIBSHAIRPLAY_AUTORECONF = YES
+LIBSHAIRPORT_LICENSE = MIT
+
+$(eval $(autotools-package))
--
1.8.5.2
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 08/12] tinyxml: new package
2014-01-16 0:15 [Buildroot] [PATCH v2 00/12] Introducing XBMC Maxime Hadjinlian
` (6 preceding siblings ...)
2014-01-16 0:15 ` [Buildroot] [PATCH v2 07/12] libshairplay: " Maxime Hadjinlian
@ 2014-01-16 0:15 ` Maxime Hadjinlian
2014-01-19 15:41 ` Yann E. MORIN
2014-01-16 0:15 ` [Buildroot] [PATCH v2 09/12] sdl: add host version Maxime Hadjinlian
` (4 subsequent siblings)
12 siblings, 1 reply; 28+ messages in thread
From: Maxime Hadjinlian @ 2014-01-16 0:15 UTC (permalink / raw)
To: buildroot
Tiny XML Parser.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: gimli <ebsi4711@gmail.com>
---
Changes v1 -> v2:
- Fix header (Yann E. Morin)
- Fix comment on toolchain option (Peter Korsgaard)
---
package/Config.in | 1 +
package/tinyxml/Config.in | 11 +++++++++++
package/tinyxml/tinyxml.mk | 15 +++++++++++++++
3 files changed, 27 insertions(+)
create mode 100644 package/tinyxml/Config.in
create mode 100644 package/tinyxml/tinyxml.mk
diff --git a/package/Config.in b/package/Config.in
index 59a75cd..b5edacd 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -625,6 +625,7 @@ source "package/libxslt/Config.in"
source "package/libyaml/Config.in"
source "package/mxml/Config.in"
source "package/rapidjson/Config.in"
+source "package/tinyxml/Config.in"
source "package/xerces/Config.in"
source "package/yajl/Config.in"
endmenu
diff --git a/package/tinyxml/Config.in b/package/tinyxml/Config.in
new file mode 100644
index 0000000..33d87ca
--- /dev/null
+++ b/package/tinyxml/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_TINYXML
+ bool "tinyxml"
+ depends on BR2_INSTALL_LIBSTDCPP
+ help
+ TinyXML is a simple, small, C++ XML parser that can be
+ easily integrating into other programs.
+
+ https://github.com/leethomason/tinyxml2
+
+comment "tinyxml needs a toolchain w/ C++"
+ depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/tinyxml/tinyxml.mk b/package/tinyxml/tinyxml.mk
new file mode 100644
index 0000000..9622d36
--- /dev/null
+++ b/package/tinyxml/tinyxml.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# tinyxml
+#
+################################################################################
+
+TINYXML_VERSION = 2.6.2_2
+TINYXML_SITE = http://mirrors.xbmc.org/build-deps/sources
+# AUTORECONF is needed because the XBMC's version of TinyXML contains a
+# configure.ac which is not present in mainline.
+TINYXML_AUTORECONF = YES
+TINYXML_INSTALL_STAGING = YES
+TINYXML_LICENSE = zlib
+
+$(eval $(autotools-package))
--
1.8.5.2
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 09/12] sdl: add host version
2014-01-16 0:15 [Buildroot] [PATCH v2 00/12] Introducing XBMC Maxime Hadjinlian
` (7 preceding siblings ...)
2014-01-16 0:15 ` [Buildroot] [PATCH v2 08/12] tinyxml: " Maxime Hadjinlian
@ 2014-01-16 0:15 ` Maxime Hadjinlian
2014-01-19 15:47 ` Yann E. MORIN
2014-01-16 0:15 ` [Buildroot] [PATCH v2 10/12] sdl_image: " Maxime Hadjinlian
` (3 subsequent siblings)
12 siblings, 1 reply; 28+ messages in thread
From: Maxime Hadjinlian @ 2014-01-16 0:15 UTC (permalink / raw)
To: buildroot
Host version is needed to build xbmc
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
package/sdl/sdl.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/sdl/sdl.mk b/package/sdl/sdl.mk
index ba5fbca..0972acb 100644
--- a/package/sdl/sdl.mk
+++ b/package/sdl/sdl.mk
@@ -18,6 +18,7 @@ define SDL_RUN_AUTOGEN
endef
SDL_POST_PATCH_HOOKS += SDL_RUN_AUTOGEN
+HOST_SDL_POST_PATCH_HOOKS += SDL_RUN_AUTOGEN
SDL_DEPENDENCIES += host-automake host-autoconf host-libtool
@@ -80,3 +81,4 @@ endef
SDL_POST_INSTALL_STAGING_HOOKS += SDL_FIXUP_SDL_CONFIG
$(eval $(autotools-package))
+$(eval $(host-autotools-package))
--
1.8.5.2
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 10/12] sdl_image: add host version
2014-01-16 0:15 [Buildroot] [PATCH v2 00/12] Introducing XBMC Maxime Hadjinlian
` (8 preceding siblings ...)
2014-01-16 0:15 ` [Buildroot] [PATCH v2 09/12] sdl: add host version Maxime Hadjinlian
@ 2014-01-16 0:15 ` Maxime Hadjinlian
2014-01-19 15:53 ` Yann E. MORIN
2014-01-16 0:15 ` [Buildroot] [PATCH v2 11/12] libenca: new package Maxime Hadjinlian
` (2 subsequent siblings)
12 siblings, 1 reply; 28+ messages in thread
From: Maxime Hadjinlian @ 2014-01-16 0:15 UTC (permalink / raw)
To: buildroot
Host version is needed to build xbmc
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
package/sdl_image/sdl_image.mk | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/package/sdl_image/sdl_image.mk b/package/sdl_image/sdl_image.mk
index ba9751d..05b9a1f 100644
--- a/package/sdl_image/sdl_image.mk
+++ b/package/sdl_image/sdl_image.mk
@@ -38,4 +38,15 @@ SDL_IMAGE_DEPENDENCIES = sdl \
$(if $(BR2_PACKAGE_SDL_IMAGE_TIFF),tiff) \
$(if $(BR2_PACKAGE_SDL_IMAGE_WEBP),webp)
+HOST_SDL_IMAGE_CONF_OPT = --with-sdl-prefix=$(HOST_DIR)/usr \
+ --with-sdl-exec-prefix=$(HOST_DIR)/usr \
+ --disable-sdltest \
+ --disable-static \
+ --disable-jpg-shared \
+ --disable-png-shared \
+ --disable-tif-shared \
+
+HOST_SDL_IMAGE_DEPENDENCIES = host-libjpeg host-libpng host-sdl
+
$(eval $(autotools-package))
+$(eval $(host-autotools-package))
--
1.8.5.2
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 11/12] libenca: new package
2014-01-16 0:15 [Buildroot] [PATCH v2 00/12] Introducing XBMC Maxime Hadjinlian
` (9 preceding siblings ...)
2014-01-16 0:15 ` [Buildroot] [PATCH v2 10/12] sdl_image: " Maxime Hadjinlian
@ 2014-01-16 0:15 ` Maxime Hadjinlian
2014-01-17 8:10 ` Peter Korsgaard
2014-01-18 11:49 ` Bernd Kuhls
2014-01-16 0:15 ` [Buildroot] [PATCH v2 12/12] xbmc: " Maxime Hadjinlian
2014-01-18 9:20 ` [Buildroot] [PATCH v2 00/12] Introducing XBMC Bernd Kuhls
12 siblings, 2 replies; 28+ messages in thread
From: Maxime Hadjinlian @ 2014-01-16 0:15 UTC (permalink / raw)
To: buildroot
Extremely Naive Charset Analyser.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: gimli <ebsi4711@gmail.com>
---
Changes v3 --> v4:
- New patch against Makefile.am and do AUTORECONF (Thomas Petazzoni,
Yann E. Morin)
- Remove the uses of prefix by adding a patch which removes a hack in
the configure.ac (Yann E. Morin)
Changes v2 --> v3:
- Bump libenca to 1.15 (1.9 was 4 years ago)
- Rework the whole libenca.mk file
- Switch source to github
Changes v1 --> v2:
- Rename patch files (Thomas Petazzoni)
- Fix header of the mk files (Thomas Petazzoni)
- Fix indent (Thomas Petazzoni)
- Put LIBENCA_CONF_ENV on one line (Thomas Petazzoni)
---
package/Config.in | 1 +
package/libenca/Config.in | 6 +++
.../libenca/libenca-000-do-not-build-tools.patch | 44 ++++++++++++++++++++++
.../libenca-001-fix-installation-error.patch | 44 ++++++++++++++++++++++
...benca-002-remove-prefix-hack-in-configure.patch | 33 ++++++++++++++++
package/libenca/libenca.mk | 36 ++++++++++++++++++
6 files changed, 164 insertions(+)
create mode 100644 package/libenca/Config.in
create mode 100644 package/libenca/libenca-000-do-not-build-tools.patch
create mode 100644 package/libenca/libenca-001-fix-installation-error.patch
create mode 100644 package/libenca/libenca-002-remove-prefix-hack-in-configure.patch
create mode 100644 package/libenca/libenca.mk
diff --git a/package/Config.in b/package/Config.in
index b5edacd..66a91f5 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -772,6 +772,7 @@ menu "Text and terminal handling"
source "package/enchant/Config.in"
source "package/icu/Config.in"
source "package/libedit/Config.in"
+source "package/libenca/Config.in"
source "package/libfribidi/Config.in"
source "package/libiconv/Config.in"
source "package/linenoise/Config.in"
diff --git a/package/libenca/Config.in b/package/libenca/Config.in
new file mode 100644
index 0000000..5e951ed
--- /dev/null
+++ b/package/libenca/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LIBENCA
+ bool "libenca"
+ help
+ Extremely Naive Charset Analyser
+
+ http://cihar.com/software/enca/
diff --git a/package/libenca/libenca-000-do-not-build-tools.patch b/package/libenca/libenca-000-do-not-build-tools.patch
new file mode 100644
index 0000000..83db61b
--- /dev/null
+++ b/package/libenca/libenca-000-do-not-build-tools.patch
@@ -0,0 +1,44 @@
+From be1fe3e057ccb90fd476bf855f19ecbe97bf4e1e Mon Sep 17 00:00:00 2001
+From: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
+Date: Wed, 15 Jan 2014 00:18:34 +0100
+Subject: [PATCH 1/3] Do not build tools
+
+We don't want to build tools using buildroot because there is currently no
+support for cross compile.
+And we need to execute make_hash (which seems to be the only things that get
+compiled in tools) to create encodings.h which will later be used during the
+build process.
+Thus, we disable the build of the tools, and we do ourselves using a
+POST_CONFIGURE_HOOKS.
+
+Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
+---
+ Makefile.am | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index c9f203a..b5b50be 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,8 +1,8 @@
+ # @(#) $Id: Makefile.am,v 1.35 2005/11/24 10:21:32 yeti Exp $
+ if MAINTAINER_MODE
+-SUBDIRS = tools data script lib src devel-docs test
++SUBDIRS = data script lib src devel-docs test
+ else
+-SUBDIRS = tools script lib src devel-docs test
++SUBDIRS = script lib src devel-docs test
+ endif
+ man_MANS = man/enca.1
+
+@@ -19,7 +19,6 @@ M4TESTS = \
+ m4/localias.m4 \
+ m4/long-text.l2 \
+ m4/recode-bugs.m4 \
+- m4/tools.m4 \
+ m4/typevar.m4
+
+ EXTRA_DIST = \
+--
+1.8.5.2
+
diff --git a/package/libenca/libenca-001-fix-installation-error.patch b/package/libenca/libenca-001-fix-installation-error.patch
new file mode 100644
index 0000000..fc27841
--- /dev/null
+++ b/package/libenca/libenca-001-fix-installation-error.patch
@@ -0,0 +1,44 @@
+From 1ca09a1a8f3dd07e2805855a1f1a67a54e8d8adb Mon Sep 17 00:00:00 2001
+From: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
+Date: Wed, 15 Jan 2014 00:20:08 +0100
+Subject: [PATCH 2/3] Fix installation error
+
+ln will complain that the link already exists and will error.
+Adding the -f flag, force ln to recreate the link without failing the
+build.
+
+Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
+---
+ Makefile.am | 2 +-
+ src/Makefile.am | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index b5b50be..ddf1d5f 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -54,7 +54,7 @@ install-data-hook:
+ cd $(DESTDIR)$(man1dir); \
+ inst1=`echo enca | sed '$(transform)'`.1; \
+ inst2=`echo enconv | sed '$(transform)'`.1; \
+- $(LN_S) $$inst1 $$inst2
++ $(LN_S) -f $$inst1 $$inst2
+
+ uninstall-hook:
+ inst=`echo enconv | sed '$(transform)'`.1; \
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 2f01a12..3885137 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -47,7 +47,7 @@ install-exec-hook:
+ cd $(DESTDIR)$(bindir); \
+ inst1=`echo enca | sed '$(transform)'`; \
+ inst2=`echo enconv | sed '$(transform)'`; \
+- $(LN_S) $$inst1$(EXEEXT) $$inst2$(EXEEXT)
++ $(LN_S) -f $$inst1$(EXEEXT) $$inst2$(EXEEXT)
+
+ uninstall-hook:
+ inst=`echo enconv | sed '$(transform)'`; \
+--
+1.8.5.2
+
diff --git a/package/libenca/libenca-002-remove-prefix-hack-in-configure.patch b/package/libenca/libenca-002-remove-prefix-hack-in-configure.patch
new file mode 100644
index 0000000..45701f9
--- /dev/null
+++ b/package/libenca/libenca-002-remove-prefix-hack-in-configure.patch
@@ -0,0 +1,33 @@
+From 354a8217eb735c9678f42436d647571fcebc3ead Mon Sep 17 00:00:00 2001
+From: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
+Date: Wed, 15 Jan 2014 00:46:10 +0100
+Subject: [PATCH 3/3] Remove prefix hack in configure
+
+Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
+---
+ configure.ac | 9 ---------
+ 1 file changed, 9 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 9db3b21..9b99df4 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -100,15 +100,6 @@ gtk_CHECK_GTK_DOC
+ dnl Check for good random number sources
+ AC_CHECK_FILES(/dev/random /dev/urandom /dev/srandom /dev/arandom)
+
+-dnl Dirty path hack. Helps some people with badly set up search paths.
+-if test "$prefix" = "NONE"; then
+- LDFLAGS="$LDFLAGS -L$ac_default_prefix/lib"
+- CPPFLAGS="$CPPFLAGS -I$ac_default_prefix/include"
+-else
+- LDFLAGS="$LDFLAGS -L$prefix/lib"
+- CPPFLAGS="$CPPFLAGS -I$prefix/include"
+-fi
+-
+ dnl Checks for libraries.
+ ye_CHECK_LIBM
+
+--
+1.8.5.2
+
diff --git a/package/libenca/libenca.mk b/package/libenca/libenca.mk
new file mode 100644
index 0000000..e69c124
--- /dev/null
+++ b/package/libenca/libenca.mk
@@ -0,0 +1,36 @@
+################################################################################
+#
+# libenca
+#
+################################################################################
+
+LIBENCA_VERSION = 1.15
+LIBENCA_SITE = $(call github,nijel,enca,$(LIBENCA_VERSION))
+LIBENCA_INSTALL_STAGING = YES
+LIBENCA_AUTORECONF = YES
+LIBENCA_LICENSE = GPLv2
+LIBENCA_LICENSE_FILES = COPYING
+
+LIBENCA_CONF_ENV += ac_cv_file__dev_random=yes \
+ ac_cv_file__dev_urandom=yes \
+ ac_cv_file__dev_arandom=no \
+ ac_cv_file__dev_srandom=no
+
+define LIBENCA_MAKE_HOST_TOOL
+ cd $(@D)/tools && sed -e 's/^#define \([A-Z0-9_]*\) \(.*\)/@\1@ \2/' \
+ -e 's/"//g' \
+ -e 's/NULL$$//' \
+ -e 's/ /\//' \
+ -e 's/^\(.*\)$$/s\/\1\//' \
+ ../iconvenc.h >encodings.sed
+ cd $(@D)/tools && $(HOSTCC) -o make_hash make_hash.c
+ cd $(@D)/tools && sed -f encodings.sed ./encodings.dat | ./make_hash >encodings.h
+endef
+
+LIBENCA_POST_CONFIGURE_HOOKS += LIBENCA_MAKE_HOST_TOOL
+
+$(eval $(autotools-package))
+
+XERCES_CONF_OPT = --disable-threads \
+ --with-gnu-ld
+
--
1.8.5.2
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 12/12] xbmc: new package
2014-01-16 0:15 [Buildroot] [PATCH v2 00/12] Introducing XBMC Maxime Hadjinlian
` (10 preceding siblings ...)
2014-01-16 0:15 ` [Buildroot] [PATCH v2 11/12] libenca: new package Maxime Hadjinlian
@ 2014-01-16 0:15 ` Maxime Hadjinlian
2014-01-18 9:20 ` [Buildroot] [PATCH v2 00/12] Introducing XBMC Bernd Kuhls
12 siblings, 0 replies; 28+ messages in thread
From: Maxime Hadjinlian @ 2014-01-16 0:15 UTC (permalink / raw)
To: buildroot
XBMC is an award-winning free and open source (GPL) software media player and
entertainment hub for digital media.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: gimli <ebsi4711@gmail.com>
---
Changes v1 -> v2:
- Fix header (Yann E. Morin)
- Fix comment on toolchain option (Peter Korsgaard)
---
package/Config.in | 1 +
package/xbmc/Config.in | 202 +++++++++++++++++++++
package/xbmc/S99xbmc.default | 24 +++
package/xbmc/S99xbmc.raspberrypi | 31 ++++
package/xbmc/xbmc-0001-Fixup-include-path.patch | 79 ++++++++
.../xbmc-0002-RaspberryPi-Default-Settings.patch | 167 +++++++++++++++++
package/xbmc/xbmc.mk | 167 +++++++++++++++++
7 files changed, 671 insertions(+)
create mode 100644 package/xbmc/Config.in
create mode 100755 package/xbmc/S99xbmc.default
create mode 100755 package/xbmc/S99xbmc.raspberrypi
create mode 100644 package/xbmc/xbmc-0001-Fixup-include-path.patch
create mode 100644 package/xbmc/xbmc-0002-RaspberryPi-Default-Settings.patch
create mode 100644 package/xbmc/xbmc.mk
diff --git a/package/Config.in b/package/Config.in
index 66a91f5..d0428ac 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -26,6 +26,7 @@ source "package/tstools/Config.in"
source "package/vlc/Config.in"
source "package/vorbis-tools/Config.in"
source "package/wavpack/Config.in"
+source "package/xbmc/Config.in"
source "package/yavta/Config.in"
endmenu
diff --git a/package/xbmc/Config.in b/package/xbmc/Config.in
new file mode 100644
index 0000000..3e96189
--- /dev/null
+++ b/package/xbmc/Config.in
@@ -0,0 +1,202 @@
+comment "xbmc requires an OpenGL-capable backend"
+ depends on !(BR2_PACKAGE_HAS_OPENGL_EGL && BR2_PACKAGE_HAS_OPENGL_ES)
+
+# External toolchain are required because of a missing bitdefs.h
+comment "xbmc xbmc needs an (e)glibc external toolchain w/ C++ and WCHAR"
+ depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR) || BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_BUILDROOT
+
+menuconfig BR2_PACKAGE_XBMC
+ bool "xbmc"
+ select BR2_PACKAGE_BOOST
+ select BR2_PACKAGE_BOOST_THREAD
+ select BR2_PACKAGE_BZIP2
+ select BR2_PACKAGE_EXPAT
+ select BR2_PACKAGE_JASPER
+ select BR2_PACKAGE_LIBCDIO
+ select BR2_PACKAGE_LIBCURL
+ select BR2_PACKAGE_LIBFRIBIDI
+ select BR2_PACKAGE_LIBGCRYPT
+ select BR2_PACKAGE_LIBMODPLUG
+ select BR2_PACKAGE_LIBMPEG2
+ select BR2_PACKAGE_LIBUNGIF
+ select BR2_PACKAGE_LZO
+ select BR2_PACKAGE_OPENSSL
+ select BR2_PACKAGE_PCRE
+ select BR2_PACKAGE_PYTHON
+ select BR2_PACKAGE_PYTHON_BSDDB
+ select BR2_PACKAGE_PYTHON_BZIP2
+ select BR2_PACKAGE_PYTHON_CURSES
+ select BR2_PACKAGE_PYTHON_PYEXPAT
+ select BR2_PACKAGE_PYTHON_READLINE
+ select BR2_PACKAGE_PYTHON_SQLITE
+ select BR2_PACKAGE_PYTHON_SSL
+ select BR2_PACKAGE_PYTHON_UNICODEDATA
+ select BR2_PACKAGE_PYTHON_ZLIB
+ select BR2_PACKAGE_READLINE
+ select BR2_PACKAGE_SQLITE
+ select BR2_PACKAGE_TAGLIB
+ select BR2_PACKAGE_TIFF
+ select BR2_PACKAGE_TINYXML
+ select BR2_PACKAGE_YAJL
+ select BR2_PACKAGE_ZLIB
+ depends on BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && !BR2_TOOLCHAIN_USES_UCLIBC
+ depends on !BR2_TOOLCHAIN_USES_UCLIBC
+ help
+ XBMC is an award-winning free and open source (GPL) software
+ media player and entertainment hub for digital media.
+
+ http://xbmc.org
+
+if BR2_PACKAGE_XBMC
+
+config BR2_PACKAGE_XBMC_AVAHI
+ bool "avahi"
+ select BR2_PACKAGE_AVAHI
+ select BR2_PACKAGE_AVAHI_DAEMON
+ help
+ Enable Avahi support.
+ Select this if you want XBMC to support Bonjour protocol.
+
+config BR2_PACKAGE_XBMC_DBUS
+ bool "dbus"
+ select BR2_PACKAGE_DBUS
+ help
+ Enable DBUS support
+
+config BR2_PACKAGE_XBMC_FLAC
+ bool "flac"
+ select BR2_PACKAGE_FLAC
+ help
+ Enable flac input/streaming support.
+ Select this if you want to play back FLAC files.
+
+config BR2_PACKAGE_XBMC_LIBASS
+ bool "libass"
+ select BR2_PACKAGE_LIBASS
+ help
+ Enable ASS sublititles support
+
+config BR2_PACKAGE_XBMC_LIBBLURAY
+ bool "libbluray"
+ select BR2_PACKAGE_LIBBLURAY
+ help
+ Enable bluray input support.
+ Select this if you want to play back bluray content.
+
+config BR2_PACKAGE_XBMC_LIBCEC
+ bool "libcec"
+ select BR2_PACKAGE_LIBCEC
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_USE_WCHAR
+ help
+ Enable CEC support.
+ Select this if you want XBMC to support HDMI CEC.
+
+if BR2_PACKAGE_XBMC_LIBCEC && BR2_arm
+
+config BR2_PACKAGE_XBMC_LIBCEC_RBP
+ bool "rpi support"
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_LARGEFILE
+ select BR2_PACKAGE_RPI_USERLAND
+ select BR2_PACKAGE_LIBCEC_RBP
+ help
+ Enable RasberryPi support
+
+comment "rpi support requires a toolchain with C++ and LARGEFILE support"
+ depends on !(BR2_INSTALL_LIBSTDCPP && BR2_LARGEFILE)
+
+endif
+
+comment "libcec requires a toolchain with C++ and WCHAR support"
+ depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR)
+
+config BR2_PACKAGE_XBMC_LIBMICROHTTPD
+ bool "libmicrohttpd"
+ select BR2_PACKAGE_LIBMICROHTTPD
+ help
+ Enable webserver feature
+
+config BR2_PACKAGE_XBMC_LIBNFS
+ bool "libnfs"
+ select BR2_PACKAGE_LIBNFS
+ depends on BR2_LARGEFILE
+ depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
+ help
+ Enable NFS server support.
+
+comment "libnfs support requires a toolchain with LARGEFILE and RPC support"
+ depends on !(BR2_LARGEFILE && BR2_TOOLCHAIN_HAS_NATIVE_RPC)
+
+config BR2_PACKAGE_XBMC_LIBRTMP
+ bool "librtmp"
+ select BR2_PACKAGE_LIBRTMP
+ help
+ Enable rtmp input support.
+ Select this if you want to play back rtmp stream.
+
+config BR2_PACKAGE_XBMC_LIBSAMPLERATE
+ bool "libsamplerate"
+ select BR2_PACKAGE_LIBSAMPLERATE
+ help
+ Enable libsamplerate input support.
+ Select this for software sample rate conversion.
+
+config BR2_PACKAGE_XBMC_LIBSHAIRPLAY
+ bool "libshairport"
+ select BR2_PACKAGE_LIBSHAIRPLAY
+ depends on BR2_INET_IPV6
+ help
+ Enable shairport support.
+ Select this if you want to stream content from Apple device.
+
+comment "libshairport support requires a toolchain with IPV6 support"
+ depends on !(BR2_INET_IPV6)
+
+config BR2_PACKAGE_XBMC_LIBSMBCLIENT
+ bool "libsmbclient"
+ select BR2_PACKAGE_SAMBA
+ select BR2_PACKAGE_SAMBA_LIBSMBCLIENT
+ help
+ Enable Samba support
+
+config BR2_PACKAGE_XBMC_LIBTHEORA
+ bool "libtheora"
+ select BR2_PACKAGE_LIBTHEORA
+ help
+ Enable theora input support.
+ Select this if you want to play back OGG/OGV files (Video).
+
+config BR2_PACKAGE_XBMC_LIBUSB
+ bool "libusb"
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ select BR2_PACKAGE_LIBUSB
+ select BR2_PACKAGE_LIBUSB_COMPAT
+ help
+ Enable libusb support.
+
+config BR2_PACKAGE_XBMC_MAD
+ bool "mad"
+ select BR2_PACKAGE_LIBID3TAG
+ select BR2_PACKAGE_LIBMAD
+ help
+ Enable mad input support.
+ Select this if you want to play back MP3 files.
+
+config BR2_PACKAGE_XBMC_VORBIS
+ bool "vorbis"
+ select BR2_PACKAGE_LIBOGG
+ select BR2_PACKAGE_LIBVORBIS
+ help
+ Enable vorbis input/streaming support.
+ Select this if you want to play back OGG files on hardfloat
+ targets.
+
+config BR2_PACKAGE_XBMC_WAVPACK
+ bool "wavpack"
+ select BR2_PACKAGE_WAVPACK
+ help
+ Enable wavpack input support.
+ Select this if you want to play back WV files.
+
+endif
diff --git a/package/xbmc/S99xbmc.default b/package/xbmc/S99xbmc.default
new file mode 100755
index 0000000..a15d3f9
--- /dev/null
+++ b/package/xbmc/S99xbmc.default
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+NAME=xbmc.bin
+DAEMON=/usr/lib/xbmc/$NAME
+DAEMON_ARGS="--standalone -fs -n"
+PIDFILE=/var/run/xbmc.pid
+
+export HOME=/root
+
+case "$1" in
+ start)
+ echo $(start-stop-daemon -u root -m --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_ARGS; RETURN=$?; case $RETURN in 0 ) echo do normal exit.....; exit 0; ;; 64 ) echo do power off.....; halt ;; 66 ) echo do reboot.....; reboot; ;; esac || return 2) &exit
+ ;;
+ stop)
+ start-stop-daemon --stop --signal 9 --retry 5 --quiet --pidfile $PIDFILE
+ ;;
+ restart)
+ $0 stop
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
diff --git a/package/xbmc/S99xbmc.raspberrypi b/package/xbmc/S99xbmc.raspberrypi
new file mode 100755
index 0000000..833aea5
--- /dev/null
+++ b/package/xbmc/S99xbmc.raspberrypi
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+NAME=xbmc.bin
+DAEMON=/usr/lib/xbmc/$NAME
+DAEMON_ARGS="--standalone -fs -n"
+PIDFILE=/var/run/xbmc.pid
+
+XRES=1280
+YRES=720
+
+export LD_LIBRARY_PATH=$XBMC_BASE/lib:/opt/vc/lib:/usr/lib/mysql:$LD_LIBRARY_PATH
+export LD_PRELOAD=/usr/lib/libcofi_rpi.so
+export HOME=/root
+
+case "$1" in
+ start)
+ echo 0 > /sys/class/vtconsole/vtcon1/bind
+ fbset -xres 1 -yres 1 -vxres 1 -vyres 1
+ echo $(start-stop-daemon -u root -m --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_ARGS; RETURN=$?; case $RETURN in 0 ) echo do normal exit.....; exit 0; ;; 64 ) echo do power off.....; halt ;; 66 ) echo do reboot.....; reboot; ;; esac || return 2) &exit
+ ;;
+ stop)
+ start-stop-daemon --stop --signal 9 --retry 5 --quiet --pidfile $PIDFILE
+ ;;
+ restart)
+ $0 stop
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
diff --git a/package/xbmc/xbmc-0001-Fixup-include-path.patch b/package/xbmc/xbmc-0001-Fixup-include-path.patch
new file mode 100644
index 0000000..e4d6632
--- /dev/null
+++ b/package/xbmc/xbmc-0001-Fixup-include-path.patch
@@ -0,0 +1,79 @@
+From 63c255f1f5d68363f49193aceed343e602dc8bdf Mon Sep 17 00:00:00 2001
+From: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
+Date: Thu, 26 Dec 2013 21:17:10 +0100
+Subject: [PATCH] Fixup include path
+
+Patch originally taken from :
+http://repository.timesys.com/buildsources/x/xbmc/xbmc-11.0/xbmc-11.0-fixups.patch
+---
+ lib/enca/configure | 3 ---
+ lib/enca/configure.ac | 3 ---
+ lib/libdvd/libdvdread/misc/dvdread-config.sh | 6 +++---
+ lib/timidity/configure.in | 6 +++---
+ 4 files changed, 6 insertions(+), 12 deletions(-)
+
+diff --git a/lib/enca/configure b/lib/enca/configure
+index c839a51..7af5a09 100644
+--- a/lib/enca/configure
++++ b/lib/enca/configure
+@@ -12011,9 +12011,6 @@ fi
+ if test "$prefix" = "NONE"; then
+ LDFLAGS="$LDFLAGS -L$ac_default_prefix/lib"
+ CPPFLAGS="$CPPFLAGS -I$ac_default_prefix/include"
+-else
+- LDFLAGS="$LDFLAGS -L$prefix/lib"
+- CPPFLAGS="$CPPFLAGS -I$prefix/include"
+ fi
+
+
+diff --git a/lib/enca/configure.ac b/lib/enca/configure.ac
+index 41434df..47d5367 100644
+--- a/lib/enca/configure.ac
++++ b/lib/enca/configure.ac
+@@ -100,9 +100,6 @@ dnl Dirty path hack. Helps some people with badly set up search paths.
+ if test "$prefix" = "NONE"; then
+ LDFLAGS="$LDFLAGS -L$ac_default_prefix/lib"
+ CPPFLAGS="$CPPFLAGS -I$ac_default_prefix/include"
+-else
+- LDFLAGS="$LDFLAGS -L$prefix/lib"
+- CPPFLAGS="$CPPFLAGS -I$prefix/include"
+ fi
+
+ dnl Checks for libraries.
+diff --git a/lib/libdvd/libdvdread/misc/dvdread-config.sh b/lib/libdvd/libdvdread/misc/dvdread-config.sh
+index e170c7e..25ee893 100644
+--- a/lib/libdvd/libdvdread/misc/dvdread-config.sh
++++ b/lib/libdvd/libdvdread/misc/dvdread-config.sh
+@@ -48,9 +48,9 @@ if test "$echo_prefix" = "yes"; then
+ fi
+
+ if test "$echo_cflags" = "yes"; then
+- echo -I$prefix/include $extracflags
++ echo $extracflags
+ fi
+
+ if test "$echo_libs" = "yes"; then
+- echo -L$libdir $dvdreadlib
+-fi
++ echo $dvdreadlib
++fi
+diff --git a/lib/timidity/configure.in b/lib/timidity/configure.in
+index 9f2835b..733470a 100644
+--- a/lib/timidity/configure.in
++++ b/lib/timidity/configure.in
+@@ -100,9 +100,9 @@ done
+
+ # add $prefix if specified.
+ if test "x$prefix" != xNONE -a "x$prefix" != "x$ac_default_prefix" -a "x$prefix" != "x/usr"; then
+- LDFLAGS="-L$prefix/lib $LDFLAGS"
+- SHLDFLAGS="-L$prefix/lib $SHLDFLAGS"
+- CPPFLAGS="-I$prefix/include $CPPFLAGS"
++ LDFLAGS="$LDFLAGS"
++ SHLDFLAGS="$SHLDFLAGS"
++ CPPFLAGS="$CPPFLAGS"
+ fi
+
+ dnl add --with-includes, --with-libraries
+--
+1.8.5.2
+
diff --git a/package/xbmc/xbmc-0002-RaspberryPi-Default-Settings.patch b/package/xbmc/xbmc-0002-RaspberryPi-Default-Settings.patch
new file mode 100644
index 0000000..076da5a
--- /dev/null
+++ b/package/xbmc/xbmc-0002-RaspberryPi-Default-Settings.patch
@@ -0,0 +1,167 @@
+From 2541772a3ed71402a620466feb6a337b40f08880 Mon Sep 17 00:00:00 2001
+From: Maxime Hadjinlian <maximeh.hadjinlian@gmail.com>
+Date: Sat, 15 Dec 2012 23:41:06 +0100
+Subject: [PATCH] RaspberryPi Default Settings
+
+Add some default settings if the target platform is the RaspberryPi.
+Avoid the fact that the user _MUST_ have an advandcedsettings.xml to be able
+to use XBMC properly.
+
+---
+ xbmc/settings/AdvancedSettings.cpp | 31 +++++++++++++++++++++++++++
+ xbmc/settings/GUISettings.cpp | 8 +++----
+ xbmc/settings/GUIWindowSettingsCategory.cpp | 4 ++--
+ 3 files changed, 37 insertions(+), 6 deletions(-)
+
+diff --git a/xbmc/settings/AdvancedSettings.cpp b/xbmc/settings/AdvancedSettings.cpp
+index 2cbbf98..42ccabd 100644
+--- a/xbmc/settings/AdvancedSettings.cpp
++++ b/xbmc/settings/AdvancedSettings.cpp
+@@ -72,7 +72,11 @@ void CAdvancedSettings::Initialize()
+ m_karaokeAlwaysEmptyOnCdgs = 1;
+ m_karaokeUseSongSpecificBackground = 0;
+
++ #if defined(TARGET_RASPBERRY_PI)
++ m_audioDefaultPlayer = "omxplayer";
++ #else
+ m_audioDefaultPlayer = "paplayer";
++ #endif
+ m_audioPlayCountMinimumPercent = 90.0f;
+ m_audioHost = "default";
+
+@@ -93,8 +97,14 @@ void CAdvancedSettings::Initialize()
+ m_videoBlackBarColour = 0;
+ m_videoPPFFmpegDeint = "linblenddeint";
+ m_videoPPFFmpegPostProc = "ha:128:7,va,dr";
++
++ #if defined(TARGET_RASPBERRY_PI)
++ m_videoDefaultPlayer = "omxplayer";
++ m_videoDefaultDVDPlayer = "omxplayer";
++ #else
+ m_videoDefaultPlayer = "dvdplayer";
+ m_videoDefaultDVDPlayer = "dvdplayer";
++ #endif
+ m_videoIgnoreSecondsAtStart = 3*60;
+ m_videoIgnorePercentAtEnd = 8.0f;
+ m_videoPlayCountMinimumPercent = 90.0f;
+@@ -287,7 +297,11 @@ void CAdvancedSettings::Initialize()
+ m_alwaysOnTop = false;
+ #endif
+
++ #if defined(TARGET_RASPBERRY_PI)
++ m_bgInfoLoaderMaxThreads = 2;
++ #else
+ m_bgInfoLoaderMaxThreads = 5;
++ #endif
+
+ m_iPVRTimeCorrection = 0;
+ m_iPVRInfoToggleInterval = 3000;
+@@ -299,7 +313,12 @@ void CAdvancedSettings::Initialize()
+
+ m_measureRefreshrate = false;
+
++ #if defined(TARGET_RASPBERRY_PI)
++ m_cacheMemBufferSize = 1024 * 1024 * 10;
++ #else
+ m_cacheMemBufferSize = 1024 * 1024 * 20;
++ #endif
++
+ m_addonPackageFolderSize = 200;
+
+ m_jsonOutputCompact = true;
+@@ -509,11 +528,17 @@ void CAdvancedSettings::ParseSettingsFile(const CStdString &file)
+ RefreshOverride override = {0};
+
+ float fps;
++ #if defined(TARGET_RASPBERRY_PI)
++ fps = 23.976;
++ override.fpsmin = fps - 0.01f;
++ override.fpsmax = fps + 0.01f;
++ #else
+ if (XMLUtils::GetFloat(pRefreshOverride, "fps", fps))
+ {
+ override.fpsmin = fps - 0.01f;
+ override.fpsmax = fps + 0.01f;
+ }
++ #endif
+
+ float fpsmin, fpsmax;
+ if (XMLUtils::GetFloat(pRefreshOverride, "fpsmin", fpsmin) &&
+@@ -524,11 +549,17 @@ void CAdvancedSettings::ParseSettingsFile(const CStdString &file)
+ }
+
+ float refresh;
++ #if defined(TARGET_RASPBERRY_PI)
++ refresh = 24.0;
++ override.refreshmin = refresh - 0.01f;
++ override.refreshmax = refresh + 0.01f;
++ #else
+ if (XMLUtils::GetFloat(pRefreshOverride, "refresh", refresh))
+ {
+ override.refreshmin = refresh - 0.01f;
+ override.refreshmax = refresh + 0.01f;
+ }
++ #endif
+
+ float refreshmin, refreshmax;
+ if (XMLUtils::GetFloat(pRefreshOverride, "refreshmin", refreshmin) &&
+diff --git a/xbmc/settings/GUISettings.cpp b/xbmc/settings/GUISettings.cpp
+index c1820a7..c00fb18 100644
+--- a/xbmc/settings/GUISettings.cpp
++++ b/xbmc/settings/GUISettings.cpp
+@@ -537,11 +537,11 @@ void CGUISettings::Initialize()
+ AddInt(NULL, "input.appleremotesequencetime", 13603, 500, 50, 50, 1000, SPIN_CONTROL_INT_PLUS, MASK_MS, TEXT_OFF);
+ AddSeparator(in, "input.sep1");
+ #endif
+- AddBool(in, "input.remoteaskeyboard", 21449, false);
++ AddBool(in, "input.remoteaskeyboard", 21449, true);
+ #if defined(TARGET_DARWIN_IOS)
+ AddBool(NULL, "input.enablemouse", 21369, true);
+ #else
+- AddBool(in, "input.enablemouse", 21369, true);
++ AddBool(in, "input.enablemouse", 21369, false);
+ #endif
+ #if defined(HAS_SDL_JOYSTICK)
+ AddBool(in, "input.enablejoystick", 35100, true);
+@@ -831,7 +831,7 @@ void CGUISettings::Initialize()
+
+ #ifdef HAS_WEB_SERVER
+ CSettingsCategory* srvWeb = AddCategory(SETTINGS_SERVICE, "webserver", 33101);
+- AddBool(srvWeb, "services.webserver", 263, false);
++ AddBool(srvWeb, "services.webserver", 263, true);
+ AddString(srvWeb,"services.webserverport", 730, CUtil::CanBindPrivileged()?"80":"8080", EDIT_CONTROL_NUMBER_INPUT, false, 730);
+ AddString(srvWeb,"services.webserverusername",1048, "xbmc", EDIT_CONTROL_INPUT);
+ AddString(srvWeb,"services.webserverpassword",733, "", EDIT_CONTROL_HIDDEN_INPUT, true, 733);
+@@ -881,7 +881,7 @@ void CGUISettings::Initialize()
+ AddInt(laf, "lookandfeel.startupwindow",512,1, WINDOW_HOME, 1, WINDOW_PYTHON_END, SPIN_CONTROL_TEXT);
+ AddString(laf, "lookandfeel.soundskin",15108,"SKINDEFAULT", SPIN_CONTROL_TEXT);
+ AddSeparator(laf, "lookandfeel.sep2");
+- AddBool(laf, "lookandfeel.enablerssfeeds",13305, true);
++ AddBool(laf, "lookandfeel.enablerssfeeds",13305, false);
+ AddString(laf, "lookandfeel.rssedit", 21450, "", BUTTON_CONTROL_STANDARD);
+
+ CSettingsCategory* loc = AddCategory(SETTINGS_APPEARANCE, "locale", 14090);
+diff --git a/xbmc/settings/GUIWindowSettingsCategory.cpp b/xbmc/settings/GUIWindowSettingsCategory.cpp
+index b4cee69..a9bcb7a 100644
+--- a/xbmc/settings/GUIWindowSettingsCategory.cpp
++++ b/xbmc/settings/GUIWindowSettingsCategory.cpp
+@@ -1271,7 +1271,7 @@ void CGUIWindowSettingsCategory::OnSettingChanged(CBaseSettingControl *pSettingC
+ if (!g_application.StartWebServer())
+ {
+ CGUIDialogOK::ShowAndGetInput(g_localizeStrings.Get(33101), "", g_localizeStrings.Get(33100), "");
+- g_guiSettings.SetBool("services.webserver", false);
++ g_guiSettings.SetBool("services.webserver", true);
+ }
+ }
+ else if (strSetting.Equals("services.webserverusername") || strSetting.Equals("services.webserverpassword"))
+@@ -1292,7 +1292,7 @@ void CGUIWindowSettingsCategory::OnSettingChanged(CBaseSettingControl *pSettingC
+ else
+ {
+ g_application.StopAirplayServer(true);
+- g_guiSettings.SetBool("services.airplay", false);
++ g_guiSettings.SetBool("services.airplay", true);
+ CZeroconf::GetInstance()->Stop();
+ }
+ #endif
+--
+1.7.10.4
diff --git a/package/xbmc/xbmc.mk b/package/xbmc/xbmc.mk
new file mode 100644
index 0000000..a36ca10
--- /dev/null
+++ b/package/xbmc/xbmc.mk
@@ -0,0 +1,167 @@
+################################################################################
+#
+# xbmc
+#
+################################################################################
+
+XBMC_VERSION = 12.3-Frodo
+XBMC_SITE = $(call github,xbmc,xbmc,$(XBMC_VERSION))
+XBMC_LICENSE = GPLv2
+XBMC_LICENSE_FILES = LICENSE.GPL
+XBMC_DEPENDENCIES = host-lzo host-sdl_image host-swig
+XBMC_DEPENDENCIES += libmpeg2 bzip2 libcdio python lzo zlib libgcrypt openssl \
+ sqlite fontconfig freetype jasper jpeg libmodplug libpng libungif tiff \
+ libcurl boost libfribidi ncurses pcre libplist readline expat libxml2 yajl \
+ tinyxml taglib
+
+XBMC_CONF_ENV += PYTHON_VERSION="$(PYTHON_VERSION_MAJOR)"
+XBMC_CONF_ENV += PYTHON_LDFLAGS="-L$(STAGING_DIR)/usr/lib/ -lpython$(PYTHON_VERSION_MAJOR) -lpthread -ldl -lutil -lm"
+XBMC_CONF_ENV += PYTHON_CPPFLAGS="-I$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)"
+XBMC_CONF_ENV += PYTHON_SITE_PKG="$(STAGING_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages"
+XBMC_CONF_ENV += PYTHON_NOVERSIONCHECK="no-check"
+XBMC_CONF_ENV += TEXTUREPACKER_NATIVE_ROOT="$(HOST_DIR)/usr"
+
+XBMC_PLATFORM = default
+
+XBMC_MAKE=$(MAKE1)
+XBMC_CONF_OPT += --disable-sdl --disable-x11 --disable-xrandr --disable-openmax \
+ --disable-optical-drive --disable-dvdcss --disable-joystick \
+ --disable-debug --disable-crystalhd --disable-vtbdecoder --disable-vaapi \
+ --disable-vdpau --disable-pulse --disable-projectm --enable-optimizations \
+ --disable-alsa --disable-ssh --disable-hal --disable-mysql
+
+ifeq ($(BR2_arm),y)
+XBMC_CONF_OPT += --enable-gles --disable-gl
+endif
+
+ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
+XBMC_DEPENDENCIES += rpi-userland
+XBMC_CONF_OPT += --with-platform=raspberry-pi --enable-player=omxplayer
+XBMC_PLATFORM = raspberrypi
+XBMC_CONF_ENV += INCLUDES="-I$(STAGING_DIR)/usr/include/interface/vcos/pthreads \
+ -I$(STAGING_DIR)/usr/include/interface/vmcs_host/linux"
+endif
+
+ifeq ($(BR2_PACKAGE_DBUS),y)
+XBMC_DEPENDENCIES += dbus
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_LIBUSB),y)
+XBMC_DEPENDENCIES += libusb-compat
+XBMC_CONF_OPT += --enable-libusb
+else
+XBMC_CONF_OPT += --disable-libusb
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_LIBMICROHTTPD),y)
+XBMC_DEPENDENCIES += libmicrohttpd
+XBMC_CONF_OPT += --enable-webserver
+else
+XBMC_CONF_OPT += --disable-webserver
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_LIBSMBCLIENT),y)
+XBMC_DEPENDENCIES += samba
+XBMC_CONF_OPT += --enable-samba
+else
+XBMC_CONF_OPT += --disable-samba
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_VORBIS),y)
+XBMC_DEPENDENCIES += libogg libvorbis
+XBMC_CONF_OPT += --enable-libvorbisenc
+else
+XBMC_CONF_OPT += --disable-libvorbisenc
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_LIBNFS),y)
+XBMC_DEPENDENCIES += libnfs
+XBMC_CONF_OPT += --enable-nfs
+else
+XBMC_CONF_OPT += --disable-nfs
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_LIBRTMP),y)
+XBMC_DEPENDENCIES += librtmp
+XBMC_CONF_OPT += --enable-rtmp
+else
+XBMC_CONF_OPT += --disable-rtmp
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_LIBBLURAY),y)
+XBMC_DEPENDENCIES += libbluray
+XBMC_CONF_OPT += --enable-libbluray
+else
+XBMC_CONF_OPT += --disable-libbluray
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_LIBSHAIRPLAY),y)
+XBMC_DEPENDENCIES += libshairplay
+XBMC_CONF_OPT += --enable-airplay
+else
+XBMC_CONF_OPT += --disable-airplay
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_AVAHI),y)
+XBMC_DEPENDENCIES += avahi
+XBMC_CONF_OPT += --enable-avahi
+else
+XBMC_CONF_OPT += --disable-avahi
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_LIBCEC),y)
+XBMC_DEPENDENCIES += libcec
+XBMC_CONF_OPT += --enable-libcec
+else
+XBMC_CONF_OPT += --disable-libcec
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_FLAC),y)
+XBMC_DEPENDENCIES += flac
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_LIBASS),y)
+XBMC_DEPENDENCIES += libass
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_MAD),y)
+XBMC_DEPENDENCIES += libmad
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_LIBSAMPLERATE),y)
+XBMC_DEPENDENCIES += libsamplerate
+endif
+
+ifeq ($(BR2_PACKAGE_XBMC_WAVPACK),y)
+XBMC_DEPENDENCIES += wavpack
+endif
+
+# Add HOST_DIR to PATH for codegenerator.mk to find swig
+# TODO: java binary from user's machine is currently used...
+define XBMC_BOOTSTRAP
+ cd $(@D) && PATH="$(HOST_DIR)/usr/bin/:$(PATH)" ./bootstrap
+endef
+
+define XBMC_INSTALL_ETC
+ $(INSTALL) -D -d -m 755 $(TARGET_DIR)/etc/init.d/
+ $(INSTALL) -D -m 755 package/xbmc/S99xbmc.$(XBMC_PLATFORM) $(TARGET_DIR)/etc/init.d/S99xbmc
+endef
+
+define XBMC_CLEAN_UNUSED_ADDONS
+ rm -Rf $(TARGET_DIR)/usr/share/xbmc/addons/screensaver.rsxs.plasma
+ rm -Rf $(TARGET_DIR)/usr/share/xbmc/addons/visualization.milkdrop
+ rm -Rf $(TARGET_DIR)/usr/share/xbmc/addons/visualization.projectm
+ rm -Rf $(TARGET_DIR)/usr/share/xbmc/addons/visualization.itunes
+endef
+
+define XBMC_CLEAN_CONFLUENCE_SKIN
+ find $(TARGET_DIR)/usr/share/xbmc/addons/skin.confluence/media -name *.png -delete
+ find $(TARGET_DIR)/usr/share/xbmc/addons/skin.confluence/media -name *.jpg -delete
+endef
+
+XBMC_PRE_CONFIGURE_HOOKS += XBMC_BOOTSTRAP
+XBMC_POST_INSTALL_TARGET_HOOKS += XBMC_INSTALL_ETC
+XBMC_POST_INSTALL_TARGET_HOOKS += XBMC_CLEAN_UNUSED_ADDONS
+XBMC_POST_INSTALL_TARGET_HOOKS += XBMC_CLEAN_CONFLUENCE_SKIN
+
+$(eval $(autotools-package))
--
1.8.5.2
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 01/12] libass: new package
2014-01-16 0:15 ` [Buildroot] [PATCH v2 01/12] libass: new package Maxime Hadjinlian
@ 2014-01-17 8:08 ` Peter Korsgaard
2014-01-18 11:41 ` Bernd Kuhls
1 sibling, 0 replies; 28+ messages in thread
From: Peter Korsgaard @ 2014-01-17 8:08 UTC (permalink / raw)
To: buildroot
>>>>> "Maxime" == Maxime Hadjinlian <maxime.hadjinlian@gmail.com> writes:
> libass is a portable subtitle renderer for the
> ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format.
> This package was originally found at : https://github.com/huceke/buildroot-rbp
> By gimli <ebsi4711@gmail.com>
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
> Cc: gimli <ebsi4711@gmail.com>
> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> ---
> Changes v2 -> v3
> - Fix header
> Changes v1 -> v2
> - Bump version to 0.10.2 (Bernd Kuhls)
> +config BR2_PACKAGE_LIBASS
> + bool "libass"
> + select BR2_PACKAGE_FREETYPE
> + select BR2_PACKAGE_FONTCONFIG
> + select BR2_PACKAGE_LIBENCA
The patch ordering is wrong. You only introduce libenca in patch
11. Otherwise it looks OK.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 11/12] libenca: new package
2014-01-16 0:15 ` [Buildroot] [PATCH v2 11/12] libenca: new package Maxime Hadjinlian
@ 2014-01-17 8:10 ` Peter Korsgaard
2014-01-18 11:49 ` Bernd Kuhls
1 sibling, 0 replies; 28+ messages in thread
From: Peter Korsgaard @ 2014-01-17 8:10 UTC (permalink / raw)
To: buildroot
>>>>> "Maxime" == Maxime Hadjinlian <maxime.hadjinlian@gmail.com> writes:
> Extremely Naive Charset Analyser.
> This package was originally found at : https://github.com/huceke/buildroot-rbp
> By gimli <ebsi4711@gmail.com>
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
> Cc: gimli <ebsi4711@gmail.com>
> ---
> Changes v3 --> v4:
> - New patch against Makefile.am and do AUTORECONF (Thomas Petazzoni,
> Yann E. Morin)
> - Remove the uses of prefix by adding a patch which removes a hack in
> the configure.ac (Yann E. Morin)
> @@ -0,0 +1,36 @@
> +################################################################################
> +#
> +# libenca
> +#
> +################################################################################
> +
> +LIBENCA_VERSION = 1.15
> +LIBENCA_SITE = $(call github,nijel,enca,$(LIBENCA_VERSION))
> +LIBENCA_INSTALL_STAGING = YES
> +LIBENCA_AUTORECONF = YES
> +LIBENCA_LICENSE = GPLv2
> +LIBENCA_LICENSE_FILES = COPYING
> +
> +LIBENCA_CONF_ENV += ac_cv_file__dev_random=yes \
> + ac_cv_file__dev_urandom=yes \
> + ac_cv_file__dev_arandom=no \
> + ac_cv_file__dev_srandom=no
> +
> +define LIBENCA_MAKE_HOST_TOOL
> + cd $(@D)/tools && sed -e 's/^#define \([A-Z0-9_]*\) \(.*\)/@\1@ \2/' \
> + -e 's/"//g' \
> + -e 's/NULL$$//' \
> + -e 's/ /\//' \
> + -e 's/^\(.*\)$$/s\/\1\//' \
> + ../iconvenc.h >encodings.sed
> + cd $(@D)/tools && $(HOSTCC) -o make_hash make_hash.c
> + cd $(@D)/tools && sed -f encodings.sed ./encodings.dat | ./make_hash >encodings.h
> +endef
> +
> +LIBENCA_POST_CONFIGURE_HOOKS += LIBENCA_MAKE_HOST_TOOL
> +
> +$(eval $(autotools-package))
> +
> +XERCES_CONF_OPT = --disable-threads \
> + --with-gnu-ld
> +
Huh, what is this about?
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 00/12] Introducing XBMC
2014-01-16 0:15 [Buildroot] [PATCH v2 00/12] Introducing XBMC Maxime Hadjinlian
` (11 preceding siblings ...)
2014-01-16 0:15 ` [Buildroot] [PATCH v2 12/12] xbmc: " Maxime Hadjinlian
@ 2014-01-18 9:20 ` Bernd Kuhls
2014-01-18 10:31 ` Bernd Kuhls
12 siblings, 1 reply; 28+ messages in thread
From: Bernd Kuhls @ 2014-01-18 9:20 UTC (permalink / raw)
To: buildroot
Maxime Hadjinlian
<maxime.hadjinlian@gmail.com> wrote in
news:1389831355-19983-1-git-send-email-maxime.hadjinlian at gmail.com:
> This is the v2 of the series introducing XBMC with the different
> comments taken into accounts.
> Note that the packages already commited were ommited this time.
Hi,
currently I am syncing your patches with my local stuff, which compiles
current git snapshots of xbmc gotham. Because of the new features present
in gotham, most notably the new audio engine and, added by a currently not-
committed patch, yadif deinterlacing[1], I would like to suggest to keep
gotham in mind when adding new libraries to buildroot.
Right now I stumbled across fribidi, which is a required dependency for
gotham, it also needs to be included in libass, this patch for libass.mk is
enough:
-LIBASS_DEPENDENCIES = freetype fontconfig libenca
+LIBASS_DEPENDENCIES = freetype fontconfig libenca fribidi
These are the files for the fribidi package:
Config.in
-------------------------
config BR2_PACKAGE_FRIBIDI
bool "fribidi"
help
Free Implementation of the Unicode BiDi algorithm for Hebrew
and/or Arabic languages.
http://fribidi.org
fribidi.mk
-------------------------
FRIBIDI_VERSION = 0.19.5
FRIBIDI_SOURCE = fribidi-$(FRIBIDI_VERSION).tar.bz2
FRIBIDI_SITE = http://fribidi.org/download
FRIBIDI_INSTALL_STAGING = YES
FRIBIDI_CONF_OPT = \
--with-glib=no
$(eval $(autotools-package))
Please consider to include fribidi in your patch set.
Regards, Bernd
[1] http://forum.xbmc.org/showthread.php?tid=165707
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 00/12] Introducing XBMC
2014-01-18 9:20 ` [Buildroot] [PATCH v2 00/12] Introducing XBMC Bernd Kuhls
@ 2014-01-18 10:31 ` Bernd Kuhls
0 siblings, 0 replies; 28+ messages in thread
From: Bernd Kuhls @ 2014-01-18 10:31 UTC (permalink / raw)
To: buildroot
Bernd Kuhls <berndkuhls@hotmail.com> wrote in
news:oktpqaxbuu.ln2 at ID-313208.user.individual.net:
> Right now I stumbled across fribidi, which is a required dependency for
> gotham, it also needs to be included in libass, this patch for libass.mk
> is enough:
>
> -LIBASS_DEPENDENCIES = freetype fontconfig libenca
> +LIBASS_DEPENDENCIES = freetype fontconfig libenca fribidi
Hi,
oops, just found out, that libfridi was added to buildroot 2013-01-05, so its
just
-LIBASS_DEPENDENCIES = freetype fontconfig libenca
+LIBASS_DEPENDENCIES = freetype fontconfig libenca libfribidi
Regards, Bernd
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 01/12] libass: new package
2014-01-16 0:15 ` [Buildroot] [PATCH v2 01/12] libass: new package Maxime Hadjinlian
2014-01-17 8:08 ` Peter Korsgaard
@ 2014-01-18 11:41 ` Bernd Kuhls
1 sibling, 0 replies; 28+ messages in thread
From: Bernd Kuhls @ 2014-01-18 11:41 UTC (permalink / raw)
To: buildroot
Maxime Hadjinlian
<maxime.hadjinlian@gmail.com> wrote in
news:1389831355-19983-2-git-send-email-maxime.hadjinlian at gmail.com:
> +LIBASS_DEPENDENCIES = freetype fontconfig libenca
Hi,
please add libfribidi as dependency as its needed for xbmc gotham.
Regards, Bernd
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 11/12] libenca: new package
2014-01-16 0:15 ` [Buildroot] [PATCH v2 11/12] libenca: new package Maxime Hadjinlian
2014-01-17 8:10 ` Peter Korsgaard
@ 2014-01-18 11:49 ` Bernd Kuhls
2014-01-18 12:29 ` Maxime Hadjinlian
1 sibling, 1 reply; 28+ messages in thread
From: Bernd Kuhls @ 2014-01-18 11:49 UTC (permalink / raw)
To: buildroot
Maxime Hadjinlian
<maxime.hadjinlian@gmail.com> wrote in
news:1389831355-19983-12-git-send-email-maxime.hadjinlian at gmail.com:
> package/Config.in | 1 +
> package/libenca/Config.in | 6 +++
Hi,
please merge this patch http://patchwork.ozlabs.org/patch/312281/ to add
iconv support.
Regards, Bernd
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 11/12] libenca: new package
2014-01-18 11:49 ` Bernd Kuhls
@ 2014-01-18 12:29 ` Maxime Hadjinlian
2014-01-18 12:55 ` Bernd Kuhls
0 siblings, 1 reply; 28+ messages in thread
From: Maxime Hadjinlian @ 2014-01-18 12:29 UTC (permalink / raw)
To: buildroot
On Sat, Jan 18, 2014 at 12:49 PM, Bernd Kuhls <berndkuhls@hotmail.com> wrote:
> Maxime Hadjinlian
> <maxime.hadjinlian@gmail.com> wrote in
> news:1389831355-19983-12-git-send-email-maxime.hadjinlian at gmail.com:
>
>> package/Config.in | 1 +
>> package/libenca/Config.in | 6 +++
>
> Hi,
>
> please merge this patch http://patchwork.ozlabs.org/patch/312281/ to add
> iconv support.
Will do.
I have corrected a few things, I will send for v3.
>
> Regards, Bernd
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 11/12] libenca: new package
2014-01-18 12:29 ` Maxime Hadjinlian
@ 2014-01-18 12:55 ` Bernd Kuhls
0 siblings, 0 replies; 28+ messages in thread
From: Bernd Kuhls @ 2014-01-18 12:55 UTC (permalink / raw)
To: buildroot
Maxime Hadjinlian
<maxime.hadjinlian@gmail.com> wrote in
news:CAGduivziDg2_ororsgKT_oE=hGQg2NeKCxbkr9pfmp0Wd7GZuw at mail.gmail.com:
>> please merge this patch http://patchwork.ozlabs.org/patch/312281/ to
>> add iconv support.
> Will do.
> I have corrected a few things, I will send for v3.
Hi,
please include http://patchwork.ozlabs.org/patch/312284/ as it adds a
necessary patch to fix autoreconf.
Regards, Bernd
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 06/12] librtmp: new package
2014-01-16 0:15 ` [Buildroot] [PATCH v2 06/12] librtmp: " Maxime Hadjinlian
@ 2014-01-18 18:55 ` Bernd Kuhls
2014-01-19 15:25 ` Yann E. MORIN
1 sibling, 0 replies; 28+ messages in thread
From: Bernd Kuhls @ 2014-01-18 18:55 UTC (permalink / raw)
To: buildroot
Maxime Hadjinlian
<maxime.hadjinlian@gmail.com> wrote in
news:1389831355-19983-7-git-send-email-maxime.hadjinlian at gmail.com:
> rtmpdump - RTMPDump Real-Time Messaging Protocol API
Hi,
please add
$(if $(BR2_PACKAGE_LIBRTMP),librtmp) \
to LIBCURL_DEPENDENCIES in package/libcurl/libcurl.mk
Regards, Bernd
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 06/12] librtmp: new package
2014-01-16 0:15 ` [Buildroot] [PATCH v2 06/12] librtmp: " Maxime Hadjinlian
2014-01-18 18:55 ` Bernd Kuhls
@ 2014-01-19 15:25 ` Yann E. MORIN
1 sibling, 0 replies; 28+ messages in thread
From: Yann E. MORIN @ 2014-01-19 15:25 UTC (permalink / raw)
To: buildroot
On 2014-01-16 01:15 +0100, Maxime Hadjinlian spake thusly:
> rtmpdump - RTMPDump Real-Time Messaging Protocol API
> This package was originally found at : https://github.com/huceke/buildroot-rbp
> By gimli <ebsi4711@gmail.com>
>
> Note that this package will only install librtmp in this state.
> Hence the name librtmp instead of rtmpdump
Just call it rtmpdump, even if it currently only install librtmp: when
we also build rtmpdump, we'd have to rename the package, which would
require adding yet another Config.in.legacy option.
Better to avoid it from the beginning if we can, no?
You may just have the prompt read "librtmp" if you prefer (I'm OK with
that), but just name the package from its upstream name.
(IIRC, we already have some package (eg. flex?) that by default only
install a library, and require a specific option to activate the tool).
[--SNIP--]
> diff --git a/package/librtmp/librtmp.mk b/package/librtmp/librtmp.mk
> new file mode 100644
> index 0000000..3cb1b91
> --- /dev/null
> +++ b/package/librtmp/librtmp.mk
> @@ -0,0 +1,51 @@
> +################################################################################
> +#
> +#librtmp
> +#
> +################################################################################
> +
> +LIBRTMP_VERSION = e0056c51cc1710c9a44d2a2c4e2f344fa9cabcf4
> +LIBRTMP_SITE = git://git.ffmpeg.org/rtmpdump
> +LIBRTMP_INSTALL_STAGING = YES
> +# Note that LIBRTMP is GPLv2 but librtmp has its own license and since we only
s/LIBRTMP/rtmdump/
> +# care about the librtmp, it's LGPLv2.1+
s/the librtmp/librtmp/
> +LIBRTMP_LICENSE = LGPLv2.1+
> +LIBRTMP_LICENSE_FILES = librtmp/COPYING
> +LIBRTMP_DEPENDENCIES = zlib
> +ifeq ($(BR2_PACKAGE_GNUTLS),y)
> + LIBRTMP_DEPENDENCIES += gnutls
> +else
> + ifeq ($(BR2_PACKAGE_POLARSSL),y)
We normaly don't indent nested ifeq-blocks.
> + LIBRTMP_DEPENDENCIES += polarssl
> + else
> + LIBRTMP_DEPENDENCIES += openssl
What if opensl is not selected in the menuconfig?
You need to replicate these dependencies in the Config.in, too.
I was able to build librtmp without any of those dependencies, not even
with openssl, so I guess it also is optional?
What if all are selected? Which does librtmp will pick?
Don't you need to pass some flagsto the build to set which lib to use?
> + endif
> +endif
> +
> +ifeq ($(BR2_PREFER_STATIC_LIB),y)
> + LIBRTMP_PIC =
> +else
> + LIBRTMP_PIC = -fPIC
> +endif
> +
> +define LIBRTMP_BUILD_CMDS
> + $(MAKE) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) $(LIBRTMP_PIC)" CROSS_COMPILE="$(TARGET_CROSS)" -C $(@D)/librtmp
> +endef
> +
> +define LIBRTMP_FIX_PREFIX
> + sed -ie "s|prefix=/usr/local|prefix=/usr|" $(@D)/librtmp/Makefile
> +endef
Try to keep the definitions and hooks ordered: move the definition
before the BUILD_CMDS. It makes it easier to review and follow.
Also, should we netter do that with a patch, instead?
Or you could pass prefix=/usr as a make argument, it will override the
definition in the Makefile.
> +define LIBRTMP_INSTALL_STAGING_CMDS
> + mkdir -p $(STAGING_DIR)/usr/local/lib
> + $(MAKE) -C $(@D)/librtmp install DESTDIR=$(STAGING_DIR)
> +endef
> +
> +define LIBRTMP_INSTALL_TARGET_CMDS
> + mkdir -p $(STAGING_DIR)/usr/local/lib
> + $(MAKE) -C $(@D)/librtmp install DESTDIR=$(TARGET_DIR)
> +endef
> +
> +LIBRTMP_POST_EXTRACT_HOOKS += LIBRTMP_FIX_PREFIX
Put this just below the definition.
> +$(eval $(generic-package))
> --
> 1.8.5.2
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 07/12] libshairplay: new package
2014-01-16 0:15 ` [Buildroot] [PATCH v2 07/12] libshairplay: " Maxime Hadjinlian
@ 2014-01-19 15:32 ` Yann E. MORIN
0 siblings, 0 replies; 28+ messages in thread
From: Yann E. MORIN @ 2014-01-19 15:32 UTC (permalink / raw)
To: buildroot
Maxime, All,
On 2014-01-16 01:15 +0100, Maxime Hadjinlian spake thusly:
> libshairplay is a client library that emulates an airplay server
[--SNIP--]
> diff --git a/package/libshairplay/Config.in b/package/libshairplay/Config.in
> new file mode 100644
> index 0000000..dd94ef2
> --- /dev/null
> +++ b/package/libshairplay/Config.in
> @@ -0,0 +1,12 @@
> +config BR2_PACKAGE_LIBSHAIRPLAY
> + bool "libshairplay"
> + select BR2_PACKAGE_OPENSSL
> + depends on BR2_INET_IPV6
> + help
> + libshairplay is a client library that emulates an airplay
> + server
> +
> + https://github.com/juhovh/shairplay
> +
> +comment "libshairplay needs a toolchain w/ IPv6"
> + depends on !BR2_INET_IPV6
> diff --git a/package/libshairplay/libshairplay.mk b/package/libshairplay/libshairplay.mk
> new file mode 100644
> index 0000000..3488c24
> --- /dev/null
> +++ b/package/libshairplay/libshairplay.mk
> @@ -0,0 +1,14 @@
> +################################################################################
> +#
> +# libshairplay
> +#
> +################################################################################
> +
> +LIBSHAIRPLAY_VERSION = 139d5ef55564514c31f02dd82cef91236c9ff523
> +LIBSHAIRPLAY_SITE = $(call github,juhovh,shairplay,$(LIBSHAIRPLAY_VERSION))
> +LIBSHAIRPLAY_INSTALL_STAGING = YES
> +LIBSHAIRPLAY_INSTALL_TARGET = YES
> +LIBSHAIRPLAY_AUTORECONF = YES
> +LIBSHAIRPORT_LICENSE = MIT
Licensing is a bit more complicated, as explained in the LICENSE file:
---8<---
Following licenses apply:
src/lib/alac/* - MIT License
src/lib/crypto/* - New BSD License
src/lib/http_parser.* - MIT License
src/lib/* - LGPLv2.1+ License
src/bindings/* - MIT License
src/* - MIT License
AirTV-Qt/* - LGPLv2.1+ License
Also the following files are used, although not necessary:
AirTV-Qt/qtsingleapplication/src/* - New BSD License
---8<---
So I'd say:
LIBSHAIRPLAY_LICENSE = MIT, BSD-3c, LGPLv2.1+
LIBSHAIRPLAY_LICENSE_FILES = LICENSE
You also forgot:
LIBSHAIRPLAY_DEPENDENCIES = openssl
-,
Yann E. MORIN.
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 08/12] tinyxml: new package
2014-01-16 0:15 ` [Buildroot] [PATCH v2 08/12] tinyxml: " Maxime Hadjinlian
@ 2014-01-19 15:41 ` Yann E. MORIN
2014-01-19 15:55 ` Yann E. MORIN
0 siblings, 1 reply; 28+ messages in thread
From: Yann E. MORIN @ 2014-01-19 15:41 UTC (permalink / raw)
To: buildroot
Maxime, All,
On 2014-01-16 01:15 +0100, Maxime Hadjinlian spake thusly:
> Tiny XML Parser.
[--SNIP--]
> diff --git a/package/tinyxml/Config.in b/package/tinyxml/Config.in
> new file mode 100644
> index 0000000..33d87ca
> --- /dev/null
> +++ b/package/tinyxml/Config.in
> @@ -0,0 +1,11 @@
> +config BR2_PACKAGE_TINYXML
> + bool "tinyxml"
> + depends on BR2_INSTALL_LIBSTDCPP
Leading tabs, please.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 09/12] sdl: add host version
2014-01-16 0:15 ` [Buildroot] [PATCH v2 09/12] sdl: add host version Maxime Hadjinlian
@ 2014-01-19 15:47 ` Yann E. MORIN
0 siblings, 0 replies; 28+ messages in thread
From: Yann E. MORIN @ 2014-01-19 15:47 UTC (permalink / raw)
To: buildroot
Maxime, All,
On 2014-01-16 01:15 +0100, Maxime Hadjinlian spake thusly:
> Host version is needed to build xbmc
>
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 10/12] sdl_image: add host version
2014-01-16 0:15 ` [Buildroot] [PATCH v2 10/12] sdl_image: " Maxime Hadjinlian
@ 2014-01-19 15:53 ` Yann E. MORIN
0 siblings, 0 replies; 28+ messages in thread
From: Yann E. MORIN @ 2014-01-19 15:53 UTC (permalink / raw)
To: buildroot
Maxime, All,
On 2014-01-16 01:15 +0100, Maxime Hadjinlian spake thusly:
> Host version is needed to build xbmc
>
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Buildroot] [PATCH v2 08/12] tinyxml: new package
2014-01-19 15:41 ` Yann E. MORIN
@ 2014-01-19 15:55 ` Yann E. MORIN
0 siblings, 0 replies; 28+ messages in thread
From: Yann E. MORIN @ 2014-01-19 15:55 UTC (permalink / raw)
To: buildroot
Maxime, All,
On 2014-01-19 16:41 +0100, Yann E. MORIN spake thusly:
> On 2014-01-16 01:15 +0100, Maxime Hadjinlian spake thusly:
> > Tiny XML Parser.
> [--SNIP--]
> > diff --git a/package/tinyxml/Config.in b/package/tinyxml/Config.in
> > new file mode 100644
> > index 0000000..33d87ca
> > --- /dev/null
> > +++ b/package/tinyxml/Config.in
> > @@ -0,0 +1,11 @@
> > +config BR2_PACKAGE_TINYXML
> > + bool "tinyxml"
> > + depends on BR2_INSTALL_LIBSTDCPP
>
> Leading tabs, please.
My bad, there's a leading tab, but also two spaces before 'depends on'.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 28+ messages in thread
end of thread, other threads:[~2014-01-19 15:55 UTC | newest]
Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-16 0:15 [Buildroot] [PATCH v2 00/12] Introducing XBMC Maxime Hadjinlian
2014-01-16 0:15 ` [Buildroot] [PATCH v2 01/12] libass: new package Maxime Hadjinlian
2014-01-17 8:08 ` Peter Korsgaard
2014-01-18 11:41 ` Bernd Kuhls
2014-01-16 0:15 ` [Buildroot] [PATCH v2 02/12] libbluray: " Maxime Hadjinlian
2014-01-16 0:15 ` [Buildroot] [PATCH v2 03/12] libcdio: " Maxime Hadjinlian
2014-01-16 0:15 ` [Buildroot] [PATCH v2 04/12] libnfs: " Maxime Hadjinlian
2014-01-16 0:15 ` [Buildroot] [PATCH v2 05/12] libplist: " Maxime Hadjinlian
2014-01-16 0:15 ` [Buildroot] [PATCH v2 06/12] librtmp: " Maxime Hadjinlian
2014-01-18 18:55 ` Bernd Kuhls
2014-01-19 15:25 ` Yann E. MORIN
2014-01-16 0:15 ` [Buildroot] [PATCH v2 07/12] libshairplay: " Maxime Hadjinlian
2014-01-19 15:32 ` Yann E. MORIN
2014-01-16 0:15 ` [Buildroot] [PATCH v2 08/12] tinyxml: " Maxime Hadjinlian
2014-01-19 15:41 ` Yann E. MORIN
2014-01-19 15:55 ` Yann E. MORIN
2014-01-16 0:15 ` [Buildroot] [PATCH v2 09/12] sdl: add host version Maxime Hadjinlian
2014-01-19 15:47 ` Yann E. MORIN
2014-01-16 0:15 ` [Buildroot] [PATCH v2 10/12] sdl_image: " Maxime Hadjinlian
2014-01-19 15:53 ` Yann E. MORIN
2014-01-16 0:15 ` [Buildroot] [PATCH v2 11/12] libenca: new package Maxime Hadjinlian
2014-01-17 8:10 ` Peter Korsgaard
2014-01-18 11:49 ` Bernd Kuhls
2014-01-18 12:29 ` Maxime Hadjinlian
2014-01-18 12:55 ` Bernd Kuhls
2014-01-16 0:15 ` [Buildroot] [PATCH v2 12/12] xbmc: " Maxime Hadjinlian
2014-01-18 9:20 ` [Buildroot] [PATCH v2 00/12] Introducing XBMC Bernd Kuhls
2014-01-18 10:31 ` Bernd Kuhls
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox