From 8e5427b125c789adfc79f979fe2ed706fa3f0148 Mon Sep 17 00:00:00 2001 From: Maciej Wereski Date: Thu, 5 Jan 2017 10:56:29 +0100 Subject: Add Tizen:3.0.M2:Common Change-Id: I6a6b6bb288bdd6e9ac76abcc87f25db977a9f863 Signed-off-by: Maciej Wereski --- Tizen:3.0.M2:Common/_config | 217 +++++++++++++++++++++ Tizen:3.0.M2:Common/_meta | 44 +++++ Tizen:3.0.M2:Common/artik10-linux-kernel/_link | 9 + Tizen:3.0.M2:Common/libcynara-commons/_link | 4 + Tizen:3.0.M2:Common/libcynara-dbus/_link | 4 + .../mic-bootstrap_aggregate/_aggregate | 12 ++ Tizen:3.0.M2:Common/mic-bootstrap_aggregate/_meta | 9 + Tizen:3.0.M2:Common/odroid-linux-kernel/_link | 4 + Tizen:3.0.M2:Common/u-boot-artik10/_link | 9 + Tizen:3.0.M2:Common/u-boot-xu3/_link | 4 + 10 files changed, 316 insertions(+) create mode 100644 Tizen:3.0.M2:Common/_config create mode 100644 Tizen:3.0.M2:Common/_meta create mode 100644 Tizen:3.0.M2:Common/artik10-linux-kernel/_link create mode 100644 Tizen:3.0.M2:Common/libcynara-commons/_link create mode 100644 Tizen:3.0.M2:Common/libcynara-dbus/_link create mode 100644 Tizen:3.0.M2:Common/mic-bootstrap_aggregate/_aggregate create mode 100644 Tizen:3.0.M2:Common/mic-bootstrap_aggregate/_meta create mode 100644 Tizen:3.0.M2:Common/odroid-linux-kernel/_link create mode 100644 Tizen:3.0.M2:Common/u-boot-artik10/_link create mode 100644 Tizen:3.0.M2:Common/u-boot-xu3/_link diff --git a/Tizen:3.0.M2:Common/_config b/Tizen:3.0.M2:Common/_config new file mode 100644 index 0000000..b82a1f4 --- /dev/null +++ b/Tizen:3.0.M2:Common/_config @@ -0,0 +1,217 @@ +################################################################################ +# OBS Project config for Tizen:Common +# +# RE contacts: +# Maciej Wereski +# Pawel Wieczorek +# +# Git mirror for OBS config: review.tizen.org:scm/meta/build-config / branch tizen_common +# +# vim: set syntax=spec: +################################################################################ + +############################# conflicts resolution ############################# + +FileProvides: /etc/default/useradd shadow-utils +FileProvides: /usr/sbin/useradd shadow-utils +FileProvides: /etc/login.defs shadow-utils +FileProvides: /usr/sbin/chpasswd shadow-utils +FileProvides: /usr/sbin/groupadd shadow-utils +FileProvides: /usr/sbin/groupdel shadow-utils +FileProvides: /usr/sbin/groupmod shadow-utils +FileProvides: /usr/sbin/userdel shadow-utils +FileProvides: /usr/sbin/usermod shadow-utils +Prefer: shadow-utils + +Prefer: libtapi-devel +Prefer: libpci-devel +Prefer: bluetooth-tools-no-firmware + +Prefer: vconf-buxton +Prefer: vconf-buxton-devel +Prefer: vconf-buxton-keys-devel + +############################# profile definition ############################### + +%define profile common +%define _with_tizen 1 + +# %release_name and %tizen_full_version are used in platform/upstream/tizen-release + +Macros: +%profile common +%release_name Tizen3/Common + +%tizen_version_major 3 +%tizen_version_minor 0 +%tizen_version_patch 0 + +%tizen_version %{tizen_version_major}.%{tizen_version_minor} +%tizen_full_version %{tizen_version}.%{tizen_version_patch} +%tizen %tizen_version +%vendor tizen +%_vendor tizen +%_with_tizen 1 + +%check exit 0 +%run_check_section 0 +%opensuse_bs 1 +%_default_patch_fuzz 2 +:Macros + +########## RDP flag ########## + +# enable/disable RDP (remote desktop protocol) for wayland +# flag: _with_rdp, used in repositories +# Affects: weston, freerdp +# Owner: Manuel + +########## mesa activation ########## + +%define _with_mesa 1 +Macros: +%_with_mesa 1 +:Macros + +Substitute: mesa-devel pkgconfig(glesv2) +Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2) +Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl) + +############################# common config #################################### + +Prefer: coregl coregl-devel +Prefer: libwayland-egl libwayland-egl-devel + +%define _with_wayland 1 +Macros: +%_with_wayland 1 +:Macros + +############################# wayland repositories ############################# + +%if "%_repository" == "arm-wayland" || "%_repository" == "arm64-wayland" || "%_repository" == "ia32-wayland" || "%_repository" == "x86_64-wayland" + +Prefer: mesa libgbm +Substitute: mesa-libGLESv2 coregl +Substitute: mesa-libEGL coregl + +%define _with_rdp 1 +Macros: +%_with_rdp 1 +:Macros + +%endif + +############################# emulator repositories ############################ + +%if "%_repository" == "emulator32-wayland" + +Prefer: libgbm +Prefer: emulator-yagl emulator-yagl-devel + +%define _with_emulator 1 +Macros: +%_with_emulator 1 +:Macros + +%endif + + +############################# misc config flags ################################ + +########## USAGE ########## +# +# IMPORTANT: please follow the following rules when playing with flags +# ******************************************************************** +# +# In spec file, call %bcond_with macro at the beginning and test with %with: +# ------------------------- +# | %bcond_with myfeature +# | [...] +# | %if %{with myfeature} +# | [...] +# | %endif +# | [...] +# ------------------------- +# +# To activate an option, use: +# ------------------------- +# | %define _with_myfeature 1 +# | Macros: +# | %_with_myfeature 1 +# | :Macros +# ------------------------- +# +# To disable an option, DON'T set the values to 0, as the option would still be defined +# but simply comment the lines: this will undefine the option. +# ------------------------- +# | #%define _with_myfeature 1 +# | #Macros: +# | #%_with_myfeature 1 +# | #:Macros +# ------------------------- +# +# More information here: +# https://en.opensuse.org/openSUSE:Build_Service_prjconf#.25bcond +# + +########## flags ########## + +# This build macro controls the libdlog output. If enabled, +# libdlog writes to Systemd Journal. If disabled, libdlog writes to kernel Android +# logger FIFO. Affects: dlog. +# Owner: Mikko +Macros: +%_with_dlog_to_systemd_journal 1 +:Macros + +# Macro used for testing gstreamer 1.X API +# Used: qt* +# Owner: Philippe Coval +%define _with_gstreamer1 1 +Macros: +%_with_gstreamer1 1 +:Macros + +# Macro used for testing libva availability +# Used: weston +# Owner: Philippe Coval +%ifarch x86_64 i586 +%define _with_libva 1 +Macros: +%_with_libva 1 +:Macros +%endif + +# Macro used for testing Input methods +# Used: qt* +# Owner: Philippe Coval +#%define _with_tizenscim 1 +#Macros: +#%_with_tizenscim 1 +#:Macros + +# Activate introspection +# This is needed on GuPNP to build Rygel correctly in IVI +# Impacts potentially packages that use gobject-introspection +# Owner: Mikko +Macros: +%_with_introspection 1 +:Macros + +# Activate KDBUS +# This configuration flag enables the support of KDBUS +# Used: platform/upstream/setup +# Owner: Stephane Desneux +#%define _with_kdbus 1 +#Macros: +#%_with_kdbus 1 +#:Macros + +############################# build config ##################################### +# derived from Tizen:Base +################################################################################ + +########## compilation flags ########## +# derived from Tizen:Base +####################################### diff --git a/Tizen:3.0.M2:Common/_meta b/Tizen:3.0.M2:Common/_meta new file mode 100644 index 0000000..1d450f8 --- /dev/null +++ b/Tizen:3.0.M2:Common/_meta @@ -0,0 +1,44 @@ + + Tizen:3.0.M2:Common + See https://wiki.tizen.org/wiki/Common + + + + + + + + + + + + + + + + + + x86_64 + i586 + + + + i586 + + + + i586 + + + + aarch64 + i586 + x86_64 + + + + armv7l + i586 + x86_64 + + diff --git a/Tizen:3.0.M2:Common/artik10-linux-kernel/_link b/Tizen:3.0.M2:Common/artik10-linux-kernel/_link new file mode 100644 index 0000000..3a6e16f --- /dev/null +++ b/Tizen:3.0.M2:Common/artik10-linux-kernel/_link @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tizen:3.0.M2:Common/libcynara-commons/_link b/Tizen:3.0.M2:Common/libcynara-commons/_link new file mode 100644 index 0000000..e1f95a9 --- /dev/null +++ b/Tizen:3.0.M2:Common/libcynara-commons/_link @@ -0,0 +1,4 @@ + + + + diff --git a/Tizen:3.0.M2:Common/libcynara-dbus/_link b/Tizen:3.0.M2:Common/libcynara-dbus/_link new file mode 100644 index 0000000..e1f95a9 --- /dev/null +++ b/Tizen:3.0.M2:Common/libcynara-dbus/_link @@ -0,0 +1,4 @@ + + + + diff --git a/Tizen:3.0.M2:Common/mic-bootstrap_aggregate/_aggregate b/Tizen:3.0.M2:Common/mic-bootstrap_aggregate/_aggregate new file mode 100644 index 0000000..cfd9b72 --- /dev/null +++ b/Tizen:3.0.M2:Common/mic-bootstrap_aggregate/_aggregate @@ -0,0 +1,12 @@ + + + mic-bootstrap + mic-bootstrap-x86-arm + + + + mic-bootstrap + mic-bootstrap-x86-arm + + + diff --git a/Tizen:3.0.M2:Common/mic-bootstrap_aggregate/_meta b/Tizen:3.0.M2:Common/mic-bootstrap_aggregate/_meta new file mode 100644 index 0000000..dd952eb --- /dev/null +++ b/Tizen:3.0.M2:Common/mic-bootstrap_aggregate/_meta @@ -0,0 +1,9 @@ + + + <description/> + <build> + <enable arch="i586" repository="arm-wayland"/> + <enable arch="x86_64" repository="arm64-wayland"/> + <disable/> + </build> +</package> diff --git a/Tizen:3.0.M2:Common/odroid-linux-kernel/_link b/Tizen:3.0.M2:Common/odroid-linux-kernel/_link new file mode 100644 index 0000000..c634e19 --- /dev/null +++ b/Tizen:3.0.M2:Common/odroid-linux-kernel/_link @@ -0,0 +1,4 @@ +<link package="linux-exynos" cicount="copy"> + <patches> + </patches> +</link> diff --git a/Tizen:3.0.M2:Common/u-boot-artik10/_link b/Tizen:3.0.M2:Common/u-boot-artik10/_link new file mode 100644 index 0000000..ee686c5 --- /dev/null +++ b/Tizen:3.0.M2:Common/u-boot-artik10/_link @@ -0,0 +1,9 @@ +<link package="u-boot-artik" cicount="copy"> +<patches> + <!-- <branch /> for a full copy, default case --> + <!-- <apply name="patch" /> apply a patch on the source directory --> + <!-- <topadd>%define build_with_feature_x 1</topadd> add a line on the top (spec file only) --> + <!-- <add name="file.patch" /> add a patch to be applied after %setup (spec file only) --> + <!-- <delete name="filename" /> delete a file --> +</patches> +</link> diff --git a/Tizen:3.0.M2:Common/u-boot-xu3/_link b/Tizen:3.0.M2:Common/u-boot-xu3/_link new file mode 100644 index 0000000..9c9fbd6 --- /dev/null +++ b/Tizen:3.0.M2:Common/u-boot-xu3/_link @@ -0,0 +1,4 @@ +<link package="u-boot" cicount="copy"> + <patches> + </patches> +</link> -- cgit v1.2.3