diff options
author | Kévin THIERRY <kevin.thierry@open.eurogiciel.org> | 2014-10-24 14:38:58 +0200 |
---|---|---|
committer | Patrick Ohly <patrick.ohly@intel.com> | 2015-01-09 09:23:22 -0800 |
commit | ce311bde4f9a20c57c23cf52410b30c45294c602 (patch) | |
tree | de672b99e67c4a77fe2b996deba27decaebd59fa | |
parent | a94077e59b86a85f9d714a06fb8d3b47b2ca1332 (diff) | |
download | tizen-distro-ce311bde4f9a20c57c23cf52410b30c45294c602.tar.gz tizen-distro-ce311bde4f9a20c57c23cf52410b30c45294c602.tar.bz2 tizen-distro-ce311bde4f9a20c57c23cf52410b30c45294c602.zip |
meta-tizen: libjpeg-turbo: remove recipe
Using upstream recipe instead.
Bug-Tizen: BTY-52
Change-Id: Iee6a1f24c3f26fdf4e21aa2133b08f2c1e9eb907
(From meta-tizen rev: 4c99e161305f3e4b0ca82700429ed94d4c782469)
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
4 files changed, 0 insertions, 188 deletions
diff --git a/meta-tizen/conf/layer.conf b/meta-tizen/conf/layer.conf index 60fa12f40a..f45565f233 100644 --- a/meta-tizen/conf/layer.conf +++ b/meta-tizen/conf/layer.conf @@ -54,8 +54,6 @@ PREFERRED_VERSION_libav = "git" PREFERRED_VERSION_linux-yocto ?= "3.14%" PREFERRED_VERSION_weston = "git" PREFERRED_VERSION_pam = "git" -PREFERRED_VERSION_libjpeg-turbo = "8d%" -PREFERRED_VERSION_libjpeg-turbo-native = "8d%" LICENSE_FLAGS_WHITELIST += "commercial" diff --git a/meta-tizen/recipes-tizen/libjpeg-turbo/libjpeg-turbo-extraconf.inc b/meta-tizen/recipes-tizen/libjpeg-turbo/libjpeg-turbo-extraconf.inc deleted file mode 100644 index e69de29bb2..0000000000 --- a/meta-tizen/recipes-tizen/libjpeg-turbo/libjpeg-turbo-extraconf.inc +++ /dev/null diff --git a/meta-tizen/recipes-tizen/libjpeg-turbo/libjpeg-turbo.inc b/meta-tizen/recipes-tizen/libjpeg-turbo/libjpeg-turbo.inc deleted file mode 100644 index 74199f4419..0000000000 --- a/meta-tizen/recipes-tizen/libjpeg-turbo/libjpeg-turbo.inc +++ /dev/null @@ -1,176 +0,0 @@ -DESCRIPTION = "A MMX/SSE2 accelerated library for manipulating JPEG image files" -HOMEPAGE = "http://sourceforge.net/projects/libjpeg-turbo" -SECTION = "Graphics & UI Framework/Libraries" -LICENSE = "BSD-3-Clause" - -SRC_URI = "" - -S = "${WORKDIR}/git" - -inherit autotools-brokensep - -BBCLASSEXTEND = "" -PROVIDES = "" - -#PROVIDES by libjpeg -PROVIDES += "libjpeg" -# the PROVIDES rules is ignore "libjpeg = 8.0.2" -# the PROVIDES rules is ignore "libjpeg8 " -PROVIDES += "libjpeg8" -RPROVIDES_libjpeg += "libjpeg8" - - -#PROVIDES by libjpeg-turbo - - -#PROVIDES by libjpeg-dev -PROVIDES += "libjpeg-dev" -# the PROVIDES rules is ignore "libjpeg-turbo-dev " -PROVIDES += "libjpeg-turbo-dev" -RPROVIDES_libjpeg-dev += "libjpeg-turbo-dev" -# the PROVIDES rules is ignore "libjpeg-dev = 8.0.2" -# the PROVIDES rules is ignore "libjpeg8-dev " -PROVIDES += "libjpeg8-dev" -RPROVIDES_libjpeg-dev += "libjpeg8-dev" - - -#PROVIDES by libjpeg-turbo-docs -PROVIDES += "libjpeg-turbo-docs " - - -RDEPENDS = "" -#RDEPENDS of libjpeg-dev (libjpeg-dev) -RDEPENDS_libjpeg-dev += "libjpeg" - - -DEPENDS = "" -#DEPENDS of libjpeg-turbo -DEPENDS_append_class-native = " libtool" -DEPENDS_append_class-target = " libtool-cross" -DEPENDS += "yasm" - -do_prep() { - cd ${S} - chmod -Rf a+rX,u+w,g-w,o-w ${S} - #setup -q - cp ${S}/packaging/libjpeg-turbo.manifest . - - -} -do_patch_append() { - bb.build.exec_func('do_prep', d) -} - -do_configure() { -} - -do_compile() { - cd ${S} - LANG=C - export LANG - unset DISPLAY - LD_AS_NEEDED=1; export LD_AS_NEEDED ; - - autoreconf -fiv - - autotools_do_configure - make -j16 - - exit 0 - make test libdir=${prefix}/lib - - - -} -EXTRA_OECONF += " --disable-static --with-jpeg8" - -do_install() { - export RPM_BUILD_ROOT=${D} - cd ${S} - LANG=C - export LANG - unset DISPLAY - rm -rf ${D} - mkdir -p ${D} - - - oe_runmake \ - DESTDIR=${D} \ - BINDIR=${prefix}/bin \ - prefix=${prefix} \ - exec_prefix=${prefix} \ - bindir=${prefix}/bin \ - sbindir=${prefix}/sbin \ - sysconfdir=${sysconfdir} \ - datadir=${prefix}/share \ - includedir=${prefix}/include \ - libdir=${prefix}/lib \ - libexecdir=${prefix}/libexec \ - localstatedir=}${localstatedir} \ - sharedstatedir=${prefix}/com \ - mandir=${mandir} \ - infodir=${infodir} \ - install - - # Fix perms - chmod -x README-turbo.txt release/copyright - - # Remove unwanted files - rm -f ${D}${prefix}/lib/lib{,turbo}jpeg.la - - rm ${D}${prefix}/bin/tjbench - - # Remove docs, we'll select docs manually - rm -rf ${D}${prefix}/share/doc/ - - -} - -pkg_postinst_libjpeg() { - #!/bin/sh -e - - [ "x$D" == "x" ] && ldconfig -} - -pkg_postrm_libjpeg() { - #!/bin/sh -e - - [ "x$D" == "x" ] && ldconfig -} - -PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" -PACKAGES += " libjpeg " -PACKAGES += " libjpeg-turbo " -PACKAGES += " libjpeg-turbo-docs " -PACKAGES += " libjpeg-dev " - -libjpeg_files = "" -libjpeg_files += "${prefix}/lib/libturbojpeg.so" -libjpeg_files += "${prefix}/lib/libjpeg.so.8.0.2" -libjpeg_files += "${prefix}/lib/libjpeg.so.8" -MANIFESTFILES_libjpeg = "libjpeg-turbo.manifest" - -libjpeg-turbo_files = "" -libjpeg-turbo_files += "${prefix}/bin/*" -MANIFESTFILES_${PN} = "libjpeg-turbo.manifest" - -libjpeg-turbo-docs_files = "" - -libjpeg-dev_files = "" -libjpeg-dev_files += "${prefix}/include/*.h" -libjpeg-dev_files += "${prefix}/lib/libjpeg.so" -libjpeg-dev_files += "coderules.txt jconfig.txt libjpeg.txt structure.txt example.c" -MANIFESTFILES_libjpeg-dev = "libjpeg-turbo.manifest" - -FILES_libjpeg = "${libjpeg_files}" -FILES_${PN} = "${libjpeg-turbo_files}" -FILES_${PN}-docs = "${libjpeg-turbo-docs_files}" -FILES_libjpeg-dev = "${libjpeg-dev_files}" - -PKG_libjpeg= "libjpeg" -PKG_libjpeg-turbo= "libjpeg-turbo" -PKG_libjpeg-turbo-docs= "libjpeg-turbo-docs" -PKG_libjpeg-dev= "libjpeg-dev" - -require libjpeg-turbo-extraconf.inc - diff --git a/meta-tizen/recipes-tizen/libjpeg-turbo/libjpeg-turbo_git.bb b/meta-tizen/recipes-tizen/libjpeg-turbo/libjpeg-turbo_git.bb deleted file mode 100644 index 857d2c161c..0000000000 --- a/meta-tizen/recipes-tizen/libjpeg-turbo/libjpeg-turbo_git.bb +++ /dev/null @@ -1,10 +0,0 @@ -require libjpeg-turbo.inc - -PRIORITY = "10" - -LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" - -SRC_URI += "git://review.tizen.org/platform/upstream/libjpeg-turbo;tag=92e0ae092a0cb7d193d58e7f2904571669214dc5;nobranch=1" - -BBCLASSEXTEND += " native " - |