summaryrefslogtreecommitdiffstats
path: root/package/xorg
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2007-01-14 23:25:05 +0000
committerEric Andersen <andersen@codepoet.org>2007-01-14 23:25:05 +0000
commita461faf1ee09deaf662a45338be1e41a3249a077 (patch)
tree67aadc9b70f25746861974f3fdd3ded53945010a /package/xorg
parentaf9a0ccb79723bef3c597ea72e417de968164c99 (diff)
downloadbuildroot-novena-a461faf1ee09deaf662a45338be1e41a3249a077.tar.gz
buildroot-novena-a461faf1ee09deaf662a45338be1e41a3249a077.zip
some pkgconfig hacks to make things somewhat work
Diffstat (limited to 'package/xorg')
-rw-r--r--package/xorg/kbproto.pc9
-rw-r--r--package/xorg/x11.pc15
-rw-r--r--package/xorg/xau.pc11
-rw-r--r--package/xorg/xdmcp.pc11
-rw-r--r--package/xorg/xext.pc12
-rw-r--r--package/xorg/xextproto.pc9
-rw-r--r--package/xorg/xinerama.pc12
-rw-r--r--package/xorg/xorg.mk5
-rw-r--r--package/xorg/xproto.pc10
-rw-r--r--package/xorg/xrandr.pc12
10 files changed, 106 insertions, 0 deletions
diff --git a/package/xorg/kbproto.pc b/package/xorg/kbproto.pc
new file mode 100644
index 000000000..7ce28edbb
--- /dev/null
+++ b/package/xorg/kbproto.pc
@@ -0,0 +1,9 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: KBProto
+Description: KB extension headers
+Version: 1.0.3
+Cflags: -I${includedir}
diff --git a/package/xorg/x11.pc b/package/xorg/x11.pc
new file mode 100644
index 000000000..c086eccc1
--- /dev/null
+++ b/package/xorg/x11.pc
@@ -0,0 +1,15 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+xthreadlib=-lpthread
+
+Name: X11
+Description: X Library
+Version: 1.0.3
+Requires: xproto kbproto
+Requires.private: xau xdmcp
+Cflags: -I${includedir}
+Libs: -L${libdir} -lX11
+Libs.private: -lpthread
diff --git a/package/xorg/xau.pc b/package/xorg/xau.pc
new file mode 100644
index 000000000..618581d9d
--- /dev/null
+++ b/package/xorg/xau.pc
@@ -0,0 +1,11 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: Xau
+Description: X authorization file management libary
+Version: 1.0.1
+Requires: xproto
+Cflags: -I${includedir}
+Libs: -L${libdir} -lXau
diff --git a/package/xorg/xdmcp.pc b/package/xorg/xdmcp.pc
new file mode 100644
index 000000000..dbdf2ae09
--- /dev/null
+++ b/package/xorg/xdmcp.pc
@@ -0,0 +1,11 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: Xdmcp
+Description: X Display Manager Control Protocol library
+Version: 1.0.1
+Requires: xproto
+Cflags: -I${includedir}
+Libs: -L${libdir} -lXdmcp
diff --git a/package/xorg/xext.pc b/package/xorg/xext.pc
new file mode 100644
index 000000000..8b1799c42
--- /dev/null
+++ b/package/xorg/xext.pc
@@ -0,0 +1,12 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: Xext
+Description: Misc X Extension Library
+Version: 1.0.1
+Requires: xextproto
+Requires.private: x11 xau
+Cflags: -I${includedir}
+Libs: -L${libdir} -lXext
diff --git a/package/xorg/xextproto.pc b/package/xorg/xextproto.pc
new file mode 100644
index 000000000..adc0cf498
--- /dev/null
+++ b/package/xorg/xextproto.pc
@@ -0,0 +1,9 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: XExtProto
+Description: XExt extension headers
+Version: 7.0.2
+Cflags: -I${includedir}
diff --git a/package/xorg/xinerama.pc b/package/xorg/xinerama.pc
new file mode 100644
index 000000000..8c3af1ab5
--- /dev/null
+++ b/package/xorg/xinerama.pc
@@ -0,0 +1,12 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: Xinerama
+Description: The Xinerama Library
+Version: 1.0.1
+Requires: xineramaproto
+Requires.private: x11 xext
+Cflags: -I${includedir}
+Libs: -L${libdir} -lXinerama
diff --git a/package/xorg/xorg.mk b/package/xorg/xorg.mk
index 3f913458a..9f659c9da 100644
--- a/package/xorg/xorg.mk
+++ b/package/xorg/xorg.mk
@@ -105,6 +105,11 @@ $(STAGING_DIR)$(TARGET_LIBX)/libX11.so.6.2: $(XORG_XSERVER)
ln -fs ../../lib $(STAGING_DIR)$(TARGET_LIBX)
( cd $(XORG_DIR); $(MAKE) \
DESTDIR=$(STAGING_DIR) install XCURSORGEN=xcursorgen MKFONTSCALE=mkfontscale )
+ cp package/xorg/x11.pc package/xorg/xext.pc \
+ package/xorg/xproto.pc package/xorg/kbproto.pc \
+ package/xorg/xau.pc package/xorg/xdmcp.pc \
+ package/xorg/xextproto.pc package/xorg/xrandr.pc \
+ package/xorg/xinerama.pc $(STAGING_DIR)/lib/pkgconfig
touch -c $(STAGING_DIR)$(TARGET_LIBX)/libX11.so.6.2
$(TARGET_XSERVER): $(XORG_XSERVER)
diff --git a/package/xorg/xproto.pc b/package/xorg/xproto.pc
new file mode 100644
index 000000000..25459272c
--- /dev/null
+++ b/package/xorg/xproto.pc
@@ -0,0 +1,10 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+includex11dir=${prefix}/include/X11
+
+Name: Xproto
+Description: Xproto headers
+Version: 7.0.7
+Cflags: -I${includedir}
diff --git a/package/xorg/xrandr.pc b/package/xorg/xrandr.pc
new file mode 100644
index 000000000..db9809883
--- /dev/null
+++ b/package/xorg/xrandr.pc
@@ -0,0 +1,12 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: Xrandr
+Description: X RandR Library
+Version: 1.1.1
+Requires: xproto randrproto >= 1.1
+Requires.private: x11 xext xrender
+Cflags: -I${includedir}
+Libs: -L${libdir} -lXrandr