forked from brl/citadel
Bruce Leidl
64d91cb68c
Updated Recipes * colord 1.4.5 * dconf 0.40.0 * gdm 40.0 * geoclue 2.5.7 * geocode-glib 3.26.2 * gevix2_ 0.12.1 * gjs 1.68.0 * glib2 2.68.0 * gnome-autoar 0.3.1 * gnome-backgrounds 40.0 * gnome-control-center 40.0 * gnome-desktop 40.0 * gnome-disk-utility 40.1 * gnome-keyring 40.0 * gnome-screenshot 40.0 * gnome-session 40.1.1 * gnome-settings-daemon 40.0.1 * gnome-shell 40.0 * gnome-system-monitor 40.1 * gnome-terminal 3.40.1 * gsettings-desktop-schemas 40.0 * ibus 1.5.23 * iwd 1.13 * kernel 5.12.1 * keyutils 1.6.1 * libgee 0.20.4 * libgit2 1.1.0 * libgweather 40.0 * libhandy 1.2.0 (poky) * libseccomp 2.5.1 * libssh2 1.9.0 (poky) * lvm2 2.03.11 * meson 0.57.1 (poky) * mutter 40.0 * nano 5.6 * NetworkManager 1.30.2 * network-manager-applet 1.18.0 * nspr 4.29 * pango 1.48.2 (poky) * plymouth 0.9.5+git * udisks 2.9.2 * upower 0.99.11 * vte 0.64.0 * yelp-tools 3.32.2 * yelp-xsl 3.36.0
42 lines
1.2 KiB
BlitzBasic
42 lines
1.2 KiB
BlitzBasic
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] = "c9fc7e21e11286dbedd22c00df652130"
|
|
SRC_URI[sha256sum] = "a81d8243f37e75a03d4f8c55f96d0bc25802be6ec45c3bfa5cb614c6d01bac9d"
|
|
|
|
S = "${WORKDIR}/${XORG_PN}-${PV}"
|
|
B = "${WORKDIR}/build"
|
|
|
|
inherit pkgconfig native
|
|
|
|
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}
|
|
}
|