diff options
| author | Andreas Müller <schnitzeltony@googlemail.com> | 2015-09-10 10:00:37 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-11-06 17:49:38 +0100 |
| commit | f95db2215e35f92ac6eedaada157b8d25103fcbc (patch) | |
| tree | a8f65c25502f011f7d7f063ffb78913519808fc5 | |
| parent | 98ae717eeda8a6a5bd70e2fa5133ca06e50f5d93 (diff) | |
| download | meta-openembedded-f95db2215e35f92ac6eedaada157b8d25103fcbc.tar.gz | |
cdrkit: initial add 1.1.11
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
| -rw-r--r-- | meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb | 18 | ||||
| -rw-r--r-- | meta-oe/recipes-multimedia/cdrkit/files/0001-do-not-create-a-run-test-to-determine-order-of-bitfi.patch | 53 |
2 files changed, 71 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb b/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb new file mode 100644 index 0000000000..554b89ffa5 --- /dev/null +++ b/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | SUMMARY = "CD/DVD command line tools" | ||
| 2 | HOMEPAGE = "http://cdrkit.org/" | ||
| 3 | |||
| 4 | LICENSE = "GPLv2" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=b30d3b2750b668133fc17b401e1b98f8" | ||
| 6 | |||
| 7 | # While writing download from cdrkit.org was broken so get sources from debian | ||
| 8 | SRC_URI = " \ | ||
| 9 | ${DEBIAN_MIRROR}/main/c/${BPN}/${BPN}_${PV}.orig.tar.gz \ | ||
| 10 | file://0001-do-not-create-a-run-test-to-determine-order-of-bitfi.patch \ | ||
| 11 | " | ||
| 12 | SRC_URI[md5sum] = "efe08e2f3ca478486037b053acd512e9" | ||
| 13 | SRC_URI[sha256sum] = "d1c030756ecc182defee9fe885638c1785d35a2c2a297b4604c0e0dcc78e47da" | ||
| 14 | |||
| 15 | inherit cmake | ||
| 16 | |||
| 17 | DEPENDS = "libcap file bzip2" | ||
| 18 | RDEPENDS_${PN} = "perl" | ||
diff --git a/meta-oe/recipes-multimedia/cdrkit/files/0001-do-not-create-a-run-test-to-determine-order-of-bitfi.patch b/meta-oe/recipes-multimedia/cdrkit/files/0001-do-not-create-a-run-test-to-determine-order-of-bitfi.patch new file mode 100644 index 0000000000..c9725cb064 --- /dev/null +++ b/meta-oe/recipes-multimedia/cdrkit/files/0001-do-not-create-a-run-test-to-determine-order-of-bitfi.patch | |||
| @@ -0,0 +1,53 @@ | |||
| 1 | From a702cd1bb5eba5a05d1098862b5b863a3f6dd558 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
| 3 | Date: Thu, 10 Sep 2015 09:39:13 +0200 | ||
| 4 | Subject: [PATCH] do not create a run test to determine order of bitfields | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | taken from [1] | ||
| 10 | |||
| 11 | Upstream-Status: Inappropriate [cross compile specific] | ||
| 12 | |||
| 13 | [1] http://cgit.openembedded.org/openembedded/tree/recipes/cdrkit/cdrkit/xconfig.patch | ||
| 14 | |||
| 15 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
| 16 | --- | ||
| 17 | include/CMakeLists.txt | 2 -- | ||
| 18 | include/xconfig.h.in | 6 +++++- | ||
| 19 | 2 files changed, 5 insertions(+), 3 deletions(-) | ||
| 20 | |||
| 21 | diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt | ||
| 22 | index 99a69fd..e5ba8a7 100644 | ||
| 23 | --- a/include/CMakeLists.txt | ||
| 24 | +++ b/include/CMakeLists.txt | ||
| 25 | @@ -35,8 +35,6 @@ endif(VA_LIST_IS_ARRAY) | ||
| 26 | INCLUDE(TestBigEndian) | ||
| 27 | TEST_BIG_ENDIAN(WORDS_BIGENDIAN) | ||
| 28 | |||
| 29 | -TRY_RUN(BITFIELDS_HTOL TEST_DUMMY ${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/test_BITFIELDS_HTOL.c) | ||
| 30 | - | ||
| 31 | INCLUDE(CheckIncludeFiles) | ||
| 32 | |||
| 33 | #SET(CMAKE_REQUIRED_INCLUDES "/usr/include;/usr/local/include") | ||
| 34 | diff --git a/include/xconfig.h.in b/include/xconfig.h.in | ||
| 35 | index c130600..476c00b 100644 | ||
| 36 | --- a/include/xconfig.h.in | ||
| 37 | +++ b/include/xconfig.h.in | ||
| 38 | @@ -233,7 +233,11 @@ | ||
| 39 | /* If using network byte order */ | ||
| 40 | #cmakedefine WORDS_BIGENDIAN | ||
| 41 | /* If high bits come first in structures */ | ||
| 42 | -#cmakedefine BITFIELDS_HTOL | ||
| 43 | +#ifdef WORDS_BIGENDIAN | ||
| 44 | +#define BITFIELDS_HTOL | ||
| 45 | +#else | ||
| 46 | +#define BITFIELDS_LTOH | ||
| 47 | +#endif | ||
| 48 | #define HAVE_C_BIGENDIAN /* Flag that WORDS_BIGENDIAN test was done */ | ||
| 49 | #define HAVE_C_BITFIELDS /* Flag that BITFIELDS_HTOL test was done */ | ||
| 50 | |||
| 51 | -- | ||
| 52 | 2.1.0 | ||
| 53 | |||
