mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2025-07-13 06:24:28 +02:00
First commit
This commit is contained in:
32
recipes-extended/date/date_git.bb
Normal file
32
recipes-extended/date/date_git.bb
Normal file
@ -0,0 +1,32 @@
|
||||
SUMMARY = "A date and time library based on the C++11/14/17."
|
||||
AUTHOR = "Howard Hinnant"
|
||||
HOMEPAGE = "https://github.com/HowardHinnant/date.git"
|
||||
SECTION = "libs"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b5d973344b3c7bbf7535f0e6e002d017"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/HowardHinnant/date.git;protocol=https \
|
||||
file://date.pc \
|
||||
"
|
||||
|
||||
SRCREV = "v3.0.0"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit cmake
|
||||
|
||||
DEPENDS = "curl"
|
||||
|
||||
EXTRA_OECMAKE += " \
|
||||
-DBUILD_TZ_LIB=ON \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DUSE_SYSTEM_TZ_DB=ON \
|
||||
"
|
||||
|
||||
do_install_append() {
|
||||
# source lacks pkgconfig support. Include a pc file, so 'date' can be found using pkgconfig
|
||||
install -d ${D}${libdir}/pkgconfig
|
||||
install -m 0644 ${WORKDIR}/date.pc ${D}${libdir}/pkgconfig
|
||||
}
|
||||
|
10
recipes-extended/date/files/date.pc
Normal file
10
recipes-extended/date/files/date.pc
Normal file
@ -0,0 +1,10 @@
|
||||
prefix=/usr
|
||||
exec_prefix=/usr
|
||||
libdir=/usr/lib
|
||||
includedir=/usr/include
|
||||
|
||||
Name: date
|
||||
Description: date library
|
||||
Version: 3.0.0
|
||||
Cflags: -I${includedir}/date
|
||||
Libs: -L${libdir} -ldate-tz -lpthread
|
25
recipes-extended/libdbusmenu/libdbusmenu_16.04.0.bb
Normal file
25
recipes-extended/libdbusmenu/libdbusmenu_16.04.0.bb
Normal file
@ -0,0 +1,25 @@
|
||||
DESCRIPTION = "Ayatana dbus indicator helper library"
|
||||
LICENSE = "GPL-3.0"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6"
|
||||
DEPENDS = "intltool-native glib-2.0-native json-glib dbus gtk+3"
|
||||
|
||||
SRC_URI = "https://launchpad.net/libdbusmenu/16.04/16.04.0/+download/libdbusmenu-${PV}.tar.gz"
|
||||
|
||||
SRC_URI[sha256sum] = "b9cc4a2acd74509435892823607d966d424bd9ad5d0b00938f27240a1bfa878a"
|
||||
|
||||
inherit autotools pkgconfig gobject-introspection features_check
|
||||
|
||||
DEPENDS_append_class-target = " gobject-introspection-native qemu-native"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
|
||||
|
||||
# this requires gtk+2
|
||||
EXTRA_OECONF += "--disable-dumper"
|
||||
|
||||
# dont treat warnings as errors
|
||||
CFLAGS_append += "-Wno-error"
|
||||
|
||||
do_compile_prepend() {
|
||||
export GIR_EXTRA_LIBS_PATH="${B}/libdbusmenu-glib/.libs:${B}/libdbusmenu-gtk/.libs"
|
||||
}
|
||||
|
Reference in New Issue
Block a user