Skip to content

Instantly share code, notes, and snippets.

@fjullien
Created August 19, 2021 16:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fjullien/d898916587a9bf0cfd980cd4585eabfd to your computer and use it in GitHub Desktop.
Save fjullien/d898916587a9bf0cfd980cd4585eabfd to your computer and use it in GitHub Desktop.
DESCRIPTION = "libextractor"
SECTION = "jooki"
DEPENDS = "libtool libogg mpeg2dec gstreamer1.0"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
SRCREV = "713ec3edcf1fc68a9f1edd38ae79f4b153a611f3"
SRC_URI = "git://git.gnunet.org/libextractor.git;protocol=http"
S = "${WORKDIR}/git"
PACKAGES = "${PN}"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
INHIBIT_PACKAGE_STRIP = "1"
FILES_${PN} = "${libdir}/libextractor.so \
${libdir}/libextractor.so.* \
${libdir}/libextractor_common.so.* \
${libdir}/libextractor_common.so \
${libdir}/libextractor/libextractor_*.so \
${includedir}/extractor.h \
${bindir}/extract"
INSANE_SKIP_${PN} = "dev-so"
EXTRA_OECONF = " --disable-rpath --with-gstreamer"
inherit autotools
inherit gettext
inherit pkgconfig
# | configure.ac:177: error: required file 'build-aux/config.rpath' not found
do_configure_prepend () {
cp ${STAGING_DATADIR_NATIVE}/gettext/config.rpath ${S}/build-aux/config.rpath
}
# ERROR: extract-0.1-r0 do_package: QA Issue: extract: Files/directories were installed but not shipped in any package:
# /usr/share
# /usr/share/info
# /usr/share/man
# /usr/share/info/libextractor.info
# /usr/share/man/man3
# /usr/share/man/man1
# /usr/share/man/man3/libextractor.3
# /usr/share/man/man1/extract.1
# /usr/lib/pkgconfig
# /usr/lib/pkgconfig/libextractor.pc
do_install_append() {
rm -f ${D}/usr/lib/pkgconfig/libextractor.pc
rm -rf ${D}/usr/lib/pkgconfig
rm -rf ${D}/usr/share
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment