gtkwave: upgrade 3.3.108 -> 3.3.109 / move to gtk3 / tidy up recipe

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Andreas Müller 2021-05-24 00:33:52 +02:00 committed by Khem Raj
parent 79053240dc
commit 8221db74e3
2 changed files with 40 additions and 23 deletions

View File

@ -1,23 +0,0 @@
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/${BP}.tar.gz"
SRC_URI[md5sum] = "dd40f09f44d7aed937e63c29b63cd3af"
SRC_URI[sha256sum] = "ece447340442e7ad029713789552e8392b75dd3808c882ac5193d42fce55eb3b"
inherit pkgconfig autotools gettext texinfo mime mime-xdg
DEPENDS += "tcl tk gperf-native bzip2 xz pango zlib gtk+ gdk-pixbuf glib-2.0"
RDEPENDS_${PN} += "tk-lib"
# depends on gtk+ which has this restriction
inherit features_check
ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
EXTRA_OECONF = "--with-tcl=${STAGING_BINDIR_CROSS} --with-tk=${STAGING_BINDIR_CROSS} --with-tirpc --disable-mime-update"
FILES_${PN} = "${bindir} ${datadir}"

View File

@ -0,0 +1,40 @@
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
# depends on gtk+3 which has this restriction
inherit features_check
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
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"