diff options
-rw-r--r-- | conf/layer.conf | 2 | ||||
-rw-r--r-- | recipes-tizen/libjpeg-turbo/libjpeg-turbo-extraconf.inc | 0 | ||||
-rw-r--r-- | recipes-tizen/libjpeg-turbo/libjpeg-turbo.inc | 176 | ||||
-rw-r--r-- | recipes-tizen/libjpeg-turbo/libjpeg-turbo_git.bb | 10 |
4 files changed, 0 insertions, 188 deletions
diff --git a/conf/layer.conf b/conf/layer.conf index 60fa12f4..f45565f2 100644 --- a/conf/layer.conf +++ b/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/recipes-tizen/libjpeg-turbo/libjpeg-turbo-extraconf.inc b/recipes-tizen/libjpeg-turbo/libjpeg-turbo-extraconf.inc deleted file mode 100644 index e69de29b..00000000 --- a/recipes-tizen/libjpeg-turbo/libjpeg-turbo-extraconf.inc +++ /dev/null diff --git a/recipes-tizen/libjpeg-turbo/libjpeg-turbo.inc b/recipes-tizen/libjpeg-turbo/libjpeg-turbo.inc deleted file mode 100644 index 74199f44..00000000 --- a/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/recipes-tizen/libjpeg-turbo/libjpeg-turbo_git.bb b/recipes-tizen/libjpeg-turbo/libjpeg-turbo_git.bb deleted file mode 100644 index 857d2c16..00000000 --- a/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 " - |