added my Recipes
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
SUMMARY = "library to read digital audio CDs with error correction"
|
||||
HOMEPAGE = "http://www.gnu.org/software/libcdio/"
|
||||
BUGTRUCKER = "https://github.com/rocky/libcdio-paranoia/issues/"
|
||||
SECTION = "libs"
|
||||
LICENSE = "GPL-3.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||
DEPENDS = "libcdio"
|
||||
|
||||
SRC_URI = "${GNU_MIRROR}/libcdio/${BP}.tar.bz2"
|
||||
SRC_URI[sha256sum] = "33b1cf305ccfbfd03b43936975615000ce538b119989c4bec469577570b60e8a"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
PACKAGES += "${PN}-utils"
|
||||
|
||||
FILES:${PN} = "${libdir}/${BPN}${SOLIB}"
|
||||
FILES:${PN}-utils = "${bindir}/*"
|
||||
|
||||
python libcdio_split_packages() {
|
||||
libdir = d.expand('${libdir}')
|
||||
do_split_packages(d, libdir, r'^lib(.*)\.so\..*', 'lib%s', 'libcdio %s library', extra_depends='', allow_links=True)
|
||||
}
|
||||
|
||||
PACKAGESPLITFUNCS =+ "libcdio_split_packages"
|
||||
@@ -0,0 +1,40 @@
|
||||
From e5e54be286bf6d8336b747503c803750bc674c57 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 30 Oct 2021 01:28:18 -0700
|
||||
Subject: [PATCH] Fix a few -Werror=format-security errors with mvprintw()
|
||||
|
||||
In all these places a non-constant is used as a format string which
|
||||
compiler complains about. Fix by using "%s" as format.
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
src/cdda-player.c | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/cdda-player.c b/src/cdda-player.c
|
||||
index 69eddee..8834d60 100644
|
||||
--- a/src/cdda-player.c
|
||||
+++ b/src/cdda-player.c
|
||||
@@ -298,7 +298,7 @@ action(const char *psz_action)
|
||||
psz_action);
|
||||
else
|
||||
snprintf(psz_action_line, sizeof(psz_action_line), "%s", "" );
|
||||
- mvprintw(LINE_ACTION, 0, psz_action_line);
|
||||
+ mvprintw(LINE_ACTION, 0, "%s", psz_action_line);
|
||||
clrtoeol();
|
||||
refresh();
|
||||
}
|
||||
@@ -1029,10 +1029,10 @@ display_tracks(void)
|
||||
}
|
||||
if (sub.track == i) {
|
||||
attron(A_STANDOUT);
|
||||
- mvprintw(i_line++, 0, line);
|
||||
+ mvprintw(i_line++, 0, "%s", line);
|
||||
attroff(A_STANDOUT);
|
||||
} else
|
||||
- mvprintw(i_line++, 0, line);
|
||||
+ mvprintw(i_line++, 0, "%s", line);
|
||||
clrtoeol();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
SUMMARY = "The GNU Compact Disc Input and Control library (libcdio) contains a library for CD-ROM and CD image access."
|
||||
HOMEPAGE = "http://www.gnu.org/software/libcdio/"
|
||||
SECTION = "libs"
|
||||
LICENSE = "GPL-3.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.bz2 \
|
||||
file://0001-Fix-a-few-Werror-format-security-errors-with-mvprint.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "aa7629e8f73662a762f64c444b901055"
|
||||
SRC_URI[sha256sum] = "8550e9589dbd594bfac93b81ecf129b1dc9d0d51e90f9696f1b2f9b2af32712b"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
PACKAGECONFIG ??= "cdda-player"
|
||||
PACKAGECONFIG[cdda-player] = "--with-cdda-player,--without-cdda-player,ncurses"
|
||||
PACKAGECONFIG[cddb] = "--enable-cddb,--disable-cddb,libcddb"
|
||||
PACKAGECONFIG[vcd-info] = "--enable-vcd-info,--disable-vcd-info,vcdimager"
|
||||
|
||||
# add -D_LARGEFILE64_SOURCE for 32bit targets
|
||||
CFLAGS += "${@['-D_LARGEFILE64_SOURCE',''][d.getVar('SITEINFO_BITS') != '32']}"
|
||||
|
||||
PACKAGES += "${PN}-utils"
|
||||
|
||||
FILES:${PN} = "${libdir}/${BPN}${SOLIB}"
|
||||
FILES:${PN}-utils = "${bindir}/*"
|
||||
|
||||
python libcdio_split_packages() {
|
||||
libdir = d.expand('${libdir}')
|
||||
do_split_packages(d, libdir, r'^lib(.*)\.so\..*', 'lib%s', 'libcdio %s library', extra_depends='', allow_links=True)
|
||||
}
|
||||
|
||||
PACKAGESPLITFUNCS =+ "libcdio_split_packages"
|
||||
Reference in New Issue
Block a user