aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libxslt/files/pkgconfig_fix.patch
blob: 5e4a38f0b2e398b2798bcb91c08509ad85143e41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Index: libxslt-1.1.22/libexslt.pc.in
===================================================================
--- libxslt-1.1.22.orig/libexslt.pc.in	2008-03-19 16:52:20.000000000 +0000
+++ libxslt-1.1.22/libexslt.pc.in	2008-03-19 16:55:49.000000000 +0000
@@ -8,5 +8,5 @@
 Version: @LIBEXSLT_VERSION@
 Description: EXSLT Extension library
 Requires: libxml-2.0
-Libs: @EXSLT_LIBDIR@ @EXSLT_LIBS@
+Libs: -lxslt @EXSLT_LIBDIR@ @M_LIBS@
 Cflags: @EXSLT_INCLUDEDIR@
Index: libxslt-1.1.22/libxslt.pc.in
===================================================================
--- libxslt-1.1.22.orig/libxslt.pc.in	2008-03-19 16:52:20.000000000 +0000
+++ libxslt-1.1.22/libxslt.pc.in	2008-03-19 16:55:38.000000000 +0000
@@ -8,5 +8,5 @@
 Version: @VERSION@
 Description: XSLT library version 2.
 Requires: libxml-2.0
-Libs: @XSLT_LIBDIR@ @XSLT_LIBS@
+Libs: -lxslt @XSLT_LIBDIR@ @M_LIBS@
 Cflags: @XSLT_INCLUDEDIR@
a id='n22' href='#n22'>22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
SUMMARY = "VCD (Value Change Dump) file waveform viewer"
DESCRIPTION = "gtkwave is a viewer for VCD (Value Change Dump) files which are usually created by digital circuit simulators. (These files have no connection to video CDs!) "
HOMEPAGE = "http://gtkwave.sourceforge.net/"

LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e"

SRC_URI = "http://gtkwave.sourceforge.net/gtkwave-gtk3-${PV}.tar.gz"
SRC_URI[sha256sum] = "35461eccd9b8b4470caa78ab9a8f14ecacbcc9eff63033d8dce58093e786deb7"
S = "${WORKDIR}/${BPN}-gtk3-${PV}"

DEPENDS = " \
    gperf-native \
    gtk+3 \
    gdk-pixbuf \
    tcl \
    tk \
    bzip2 \
    xz \
    pango \
    zlib \
"

inherit pkgconfig autotools gettext texinfo mime mime-xdg

inherit features_check
# depends on gtk+3 which has this restriction
# ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
# but https://github.com/gtkwave/gtkwave/blob/f9d82a82aa3ddc30ca47984278371f62c9a3bd81/gtkwave3-gtk3/src/gtk23compat.h#L10
# explicitly includes gdk/gdkwayland.h for gtk-3.22.26 and newer (oe-core currently has 3.24.29)
# and it needs x11 as well for tk dependency (so it happends to be both GTK3DISTROFEATURES instead of either of them)
REQUIRED_DISTRO_FEATURES = "wayland x11"

EXTRA_OECONF = " \
    --enable-gtk3 \
    --with-tcl=${STAGING_BINDIR_CROSS} \
    --with-tk=${STAGING_BINDIR_CROSS} \
    --with-tirpc \
    --disable-mime-update \
"

FILES:${PN} = "${bindir} ${datadir}"

RDEPENDS:${PN} += "tk-lib"