From 15a07d16fae6e6e1ddf3d8f04b5ae186d1532ce5 Mon Sep 17 00:00:00 2001 From: zhengruoqin Date: Fri, 18 Dec 2020 16:09:59 +0800 Subject: xserver-xorg-cvt-native: upgrade 1.20.9 -> 1.20.10 Signed-off-by: Zheng Ruoqin Signed-off-by: Khem Raj --- .../xserver-xorg-cvt-native_1.20.10.bb | 41 ++++++++++++++++++++++ .../xserver-xorg-cvt-native_1.20.9.bb | 41 ---------------------- 2 files changed, 41 insertions(+), 41 deletions(-) create mode 100644 meta-oe/recipes-support/xserver-xorg-cvt/xserver-xorg-cvt-native_1.20.10.bb delete mode 100644 meta-oe/recipes-support/xserver-xorg-cvt/xserver-xorg-cvt-native_1.20.9.bb (limited to 'meta-oe/recipes-support') diff --git a/meta-oe/recipes-support/xserver-xorg-cvt/xserver-xorg-cvt-native_1.20.10.bb b/meta-oe/recipes-support/xserver-xorg-cvt/xserver-xorg-cvt-native_1.20.10.bb new file mode 100644 index 0000000000..170e0bf785 --- /dev/null +++ b/meta-oe/recipes-support/xserver-xorg-cvt/xserver-xorg-cvt-native_1.20.10.bb @@ -0,0 +1,41 @@ +SUMMARY = "X.Org X cvt" +HOMEPAGE = "https://linux.die.net/man/1/cvt" +LICENSE = "MIT-X" +LIC_FILES_CHKSUM = "file://COPYING;md5=5df87950af51ac2c5822094553ea1880" + +DEPENDS += "pixman-native xorgproto-native libxrandr-native" + +XORG_PN = "xorg-server" + +SRC_URI = "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${PV}.tar.bz2" +SRC_URI[md5sum] = "8cf8bd1f33e3736bc8dd279b20a32399" +SRC_URI[sha256sum] = "977420c082450dc808de301ef56af4856d653eea71519a973c3490a780cb7c99" + +S = "${WORKDIR}/${XORG_PN}-${PV}" +B = "${WORKDIR}/build" + +inherit native pkgconfig + +do_configure[noexec] = "1" + +do_compile() { + cd ${S} + for header in `find -name '*.h'`; do + path=`dirname $header` + if ! echo "$incpaths" | grep -q "$path" ; then + incpaths="$incpaths -I$path" + fi + done + CFLAGS="${CFLAGS} -DXORG_VERSION_CURRENT=1 $incpaths `pkg-config --cflags pixman-1`" + LDFLAGS="${LDFLAGS} -lm `pkg-config --libs pixman-1`" + ${CC} $CFLAGS -o ${B}/cvt \ + ${S}/hw/xfree86/utils/cvt/cvt.c \ + ${S}/hw/xfree86/modes/xf86cvt.c \ + ${S}/os/xprintf.c \ + $LDFLAGS +} + +do_install() { + install -d ${D}${bindir} + install -m 755 ${B}/cvt ${D}${bindir} +} diff --git a/meta-oe/recipes-support/xserver-xorg-cvt/xserver-xorg-cvt-native_1.20.9.bb b/meta-oe/recipes-support/xserver-xorg-cvt/xserver-xorg-cvt-native_1.20.9.bb deleted file mode 100644 index b7dcc70898..0000000000 --- a/meta-oe/recipes-support/xserver-xorg-cvt/xserver-xorg-cvt-native_1.20.9.bb +++ /dev/null @@ -1,41 +0,0 @@ -SUMMARY = "X.Org X cvt" -HOMEPAGE = "https://linux.die.net/man/1/cvt" -LICENSE = "MIT-X" -LIC_FILES_CHKSUM = "file://COPYING;md5=5df87950af51ac2c5822094553ea1880" - -DEPENDS += "pixman-native xorgproto-native libxrandr-native" - -XORG_PN = "xorg-server" - -SRC_URI = "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${PV}.tar.bz2" -SRC_URI[md5sum] = "afcae2f46d47c33863cab7fd9db7279a" -SRC_URI[sha256sum] = "e219f2e0dfe455467939149d7cd2ee53b79b512cc1d2094ae4f5c9ed9ccd3571" - -S = "${WORKDIR}/${XORG_PN}-${PV}" -B = "${WORKDIR}/build" - -inherit native pkgconfig - -do_configure[noexec] = "1" - -do_compile() { - cd ${S} - for header in `find -name '*.h'`; do - path=`dirname $header` - if ! echo "$incpaths" | grep -q "$path" ; then - incpaths="$incpaths -I$path" - fi - done - CFLAGS="${CFLAGS} -DXORG_VERSION_CURRENT=1 $incpaths `pkg-config --cflags pixman-1`" - LDFLAGS="${LDFLAGS} -lm `pkg-config --libs pixman-1`" - ${CC} $CFLAGS -o ${B}/cvt \ - ${S}/hw/xfree86/utils/cvt/cvt.c \ - ${S}/hw/xfree86/modes/xf86cvt.c \ - ${S}/os/xprintf.c \ - $LDFLAGS -} - -do_install() { - install -d ${D}${bindir} - install -m 755 ${B}/cvt ${D}${bindir} -} -- cgit 1.2.3-korg