summaryrefslogtreecommitdiff
path: root/packages/libxrandr
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libxrandr')
-rw-r--r--packages/libxrandr/files/autofoo.patch0
-rw-r--r--packages/libxrandr/libxrandr_1.0.2.bb18
-rw-r--r--packages/libxrandr/libxrandr_cvs.bb20
3 files changed, 38 insertions, 0 deletions
diff --git a/packages/libxrandr/files/autofoo.patch b/packages/libxrandr/files/autofoo.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libxrandr/files/autofoo.patch
diff --git a/packages/libxrandr/libxrandr_1.0.2.bb b/packages/libxrandr/libxrandr_1.0.2.bb
index e69de29bb2..fee2ddae16 100644
--- a/packages/libxrandr/libxrandr_1.0.2.bb
+++ b/packages/libxrandr/libxrandr_1.0.2.bb
@@ -0,0 +1,18 @@
+SECTION = "x11/libs"
+DEPENDS = "randrext x11 libxrender xext"
+DESCRIPTION = "X Resize and Rotate extension library."
+PR = "r1"
+
+SRC_URI = "${XLIBS_MIRROR}/libXrandr-${PV}.tar.bz2 \
+ file://autofoo.patch;patch=1"
+S = "${WORKDIR}/libXrandr-${PV}"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ oe_runmake install prefix=${STAGING_DIR} \
+ bindir=${STAGING_BINDIR} \
+ includedir=${STAGING_INCDIR} \
+ libdir=${STAGING_LIBDIR} \
+ datadir=${STAGING_DATADIR}
+}
diff --git a/packages/libxrandr/libxrandr_cvs.bb b/packages/libxrandr/libxrandr_cvs.bb
index e69de29bb2..b26967471b 100644
--- a/packages/libxrandr/libxrandr_cvs.bb
+++ b/packages/libxrandr/libxrandr_cvs.bb
@@ -0,0 +1,20 @@
+PV = "0.0cvs${CVSDATE}"
+SECTION = "x11/libs"
+DEPENDS = "randrext x11 libxrender xext"
+DESCRIPTION = "X Resize and Rotate extension library."
+PR = "r1"
+
+SRC_URI = "cvs://anoncvs:anoncvs@pdx.freedesktop.org/cvs/xlibs;module=Xrandr \
+ file://autofoo.patch;patch=1"
+S = "${WORKDIR}/Xrandr"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ oe_runmake install prefix=${STAGING_DIR} \
+ bindir=${STAGING_BINDIR} \
+ includedir=${STAGING_INCDIR} \
+ libdir=${STAGING_LIBDIR} \
+ datadir=${STAGING_DATADIR} \
+ mandir=${STAGING_DATADIR}/man
+}