support kodi.
[vuplus_openvuplus_3.0] / meta-openvuplus / conf / distro / vuplus.conf
1 #@TYPE: Distribution
2 #@NAME: OpenVuplus
3 #@DESCRIPTION: Distribution configuration for OpenVuplus
4
5 QA_LOGFILE = "${TMPDIR}/qa.log"
6 #USER_CLASSES += "image-prelink"
7 SANITY_REQUIRED_UTILITIES = "patch diffstat texi2html makeinfo svn bzip2 tar gzip gawk chrpath wget cpio sshpass glib-mkenums"
8 INHERIT += "buildhistory recipe_sanity"
9 BUILDHISTORY_COMMIT = "1"
10
11 DISTRO = "vuplus"
12 DISTRO_NAME = "vuplus"
13 DISTRO_VERSION = "3.0.0"
14 DISTRO_PR ?= ""
15
16 # meta/conf/distro/include/default-distrovars.inc
17 DISTRO_FEATURES += "3g alsa bluetooth directfb gtk-directfb ext2 largefile mplt nfs pci ppp smbfs usbhost zeroconf pci ${DISTRO_FEATURES_LIBC}"
18 DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio"
19
20 # extra packages needed if opkg is used
21 DISTRO_FEED_PREFIX ?= "official"
22 DISTRO_FEED_URI ?= "http://code.vuplus.com/packages/openvuplus/${DISTRO_VERSION}/vuplus/feeds/stable"
23 EXTRAOPKGCONFIG = "distro-feed-configs"
24
25 # meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
26 SYSVINIT_ENABLED_GETTYS = ""
27
28 # meta/classes/image_types.bbclass
29 IMAGE_FSTYPES =+ "tar.bz2"
30
31 # package versions
32 GST_VERSION = "1.0"
33
34 PREFERRED_VERSION_freetype ?= "2.4.12"
35
36 PREFERRED_VERSION_udev ?= "182"
37
38 PREFERRED_VERSION_elfutils ?= "0.148"
39
40 PREFERRED_VERSION_libmicrohttpd ?= "0.9.34"
41 PREFERRED_VERSION_libdvdcss ?= "1.2.10"
42 PREFERRED_VERSION_taglib ?= "1.8"
43
44 PREFERRED_PROVIDER_jpeg = "jpeg"
45 PREFERRED_PROVIDER_jpeg-native = "jpeg-native"
46 PREFERRED_PROVIDER_libfribidi = "libfribidi"
47
48 PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
49 PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc-intermediate:gcc-cross-intermediate"
50 PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc:gcc-cross"
51 PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}g++:gcc-cross"
52
53 LICENSE_FLAGS_WHITELIST = "commercial_gst-plugins-ugly commercial_lame commercial_libmad commercial_mpeg2dec commercial_libav commercial_minidlna"
54 LICENSE_FLAGS_WHITELIST += "commercial_gstreamer1.0-plugins-ugly"
55
56 FULL_OPTIMIZATION = "-Os -pipe ${DEBUG_FLAGS}"
57 # build some core libs with better compiler optimization for better performance
58 O3_OPT = "-O3 -pipe ${DEBUG_FLAGS}"
59 FULL_OPTIMIZATION_pn-flac = "${O3_OPT}"
60 FULL_OPTIMIZATION_pn-jpeg = "${O3_OPT}"
61 FULL_OPTIMIZATION_pn-lame = "${O3_OPT}"
62 FULL_OPTIMIZATION_pn-liba52 = "${O3_OPT}"
63 FULL_OPTIMIZATION_pn-libdca = "${O3_OPT}"
64 FULL_OPTIMIZATION_pn-libgcrypt = "${O3_OPT}"
65 FULL_OPTIMIZATION_pn-libmad = "${O3_OPT}"
66 FULL_OPTIMIZATION_pn-libogg = "${O3_OPT}"
67 FULL_OPTIMIZATION_pn-libpng = "${O3_OPT}"
68 FULL_OPTIMIZATION_pn-libsamplerate = "${O3_OPT}"
69 FULL_OPTIMIZATION_pn-libvorbis = "${O3_OPT}"
70 FULL_OPTIMIZATION_pn-tremor = "${O3_OPT}"
71 FULL_OPTIMIZATION_pn-zlib = "${O3_OPT}"
72 PR_append_pn-flac = "-opt1"
73 PR_append_pn-jpeg = "-opt1"
74 PR_append_pn-lame = "-opt1"
75 PR_append_pn-liba52 = "-opt1"
76 PR_append_pn-libdca = "-opt1"
77 PR_append_pn-libgcrypt = "-opt1"
78 PR_append_pn-libmad = "-opt1"
79 PR_append_pn-libogg = "-opt1"
80 PR_append_pn-libpng = "-opt1"
81 PR_append_pn-libsamplerate = "-opt1"
82 PR_append_pn-libvorbis = "-opt1"
83 PR_append_pn-tremor = "-opt1"
84 PR_append_pn-zlib = "-opt1"
85
86 # Disable installing ldconfig
87 USE_LDCONFIG = "0"
88
89 TCLIBCAPPEND = ""
90
91 # Drop unused PACKAGE_EXTRA_ARCHS
92 PACKAGE_EXTRA_ARCHS = "${TUNE_PKGARCH}"
93
94 QEMU_TARGETS ?= "mipsel"
95
96 PREMIRRORS ?= "\
97 bzr://.*/.*   http://archive.vuplus.com/openvuplus_mirror_30/ \n \
98 cvs://.*/.*   http://archive.vuplus.com/openvuplus_mirror_30/ \n \
99 git://.*/.*   http://archive.vuplus.com/openvuplus_mirror_30/ \n \
100 hg://.*/.*    http://archive.vuplus.com/openvuplus_mirror_30/ \n \
101 osc://.*/.*   http://archive.vuplus.com/openvuplus_mirror_30/ \n \
102 p4://.*/.*    http://archive.vuplus.com/openvuplus_mirror_30/ \n \
103 svn://.*/.*   http://archive.vuplus.com/openvuplus_mirror_30/ \n \
104 bzr://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
105 cvs://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
106 git://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
107 hg://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
108 osc://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
109 p4://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
110 svn://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n"
111
112 MIRRORS =+ "\
113 ftp://.*/.*    http://archive.vuplus.com/openvuplus_mirror_30/ \n \
114 http://.*/.*   http://archive.vuplus.com/openvuplus_mirror_30/ \n \
115 https://.*/.*  http://archive.vuplus.com/openvuplus_mirror_30/ \n \
116 ftp://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
117 http://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
118 https://.*/.*  http://autobuilder.yoctoproject.org/sources/ \n"
119
120 # for compatibility with rm_old_work.bbclass
121 WORKDIR = "${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PN}/${PF}"