summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/libXinerama/Makefile2
-rw-r--r--package/libXrandr/Makefile2
-rw-r--r--package/xrandr/Makefile28
3 files changed, 30 insertions, 2 deletions
diff --git a/package/libXinerama/Makefile b/package/libXinerama/Makefile
index bb989ea63..30ba23fb3 100644
--- a/package/libXinerama/Makefile
+++ b/package/libXinerama/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 1
PKG_HASH:= 0ba243222ae5aba4c6a3d7a394c32c8b69220a6872dbb00b7abae8753aca9a44
PKG_DESCR:= xinerama library
PKG_SECTION:= x11/libs
-PKG_BUILDDEP:= xineramaproto libXinerama-host
+PKG_BUILDDEP:= xextproto libXext xineramaproto libXinerama-host
HOST_BUILDDEP:= xineramaproto-host libXext-host
PKG_SITES:= http://www.x.org/releases/individual/lib/
PKG_LIBNAME:= libxinerama
diff --git a/package/libXrandr/Makefile b/package/libXrandr/Makefile
index 396d14031..36c501de0 100644
--- a/package/libXrandr/Makefile
+++ b/package/libXrandr/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 1
PKG_HASH:= 1b594a149e6b124aab7149446f2fd886461e2935eca8dca43fe83a70cf8ec451
PKG_DESCR:= xrandr library
PKG_SECTION:= x11/libs
-PKG_BUILDDEP:= randrproto
+PKG_BUILDDEP:= randrproto libXrender
PKG_SITES:= http://www.x.org/releases/individual/lib/
PKG_LIBNAME:= libxrandr
PKG_OPTS:= dev
diff --git a/package/xrandr/Makefile b/package/xrandr/Makefile
new file mode 100644
index 000000000..3702aa8af
--- /dev/null
+++ b/package/xrandr/Makefile
@@ -0,0 +1,28 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= xrandr
+PKG_VERSION:= 1.5.0
+PKG_RELEASE:= 1
+PKG_HASH:= ddfe8e7866149c24ccce8e6aaa0623218ae19130c2859cadcaa4228d8bb4a46d
+PKG_DESCR:= xrandr utility
+PKG_SECTION:= x11/utils
+PKG_DEPENDS:= libx11 libxi libxinerama libxrandr
+PKG_BUILDDEP:= libX11 libXi libXinerama libXrandr xproto xextproto
+PKG_URL:= http://xorg.freedesktop.org/
+PKG_SITES:= http://www.x.org/releases/individual/app/
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,XRANDR,xrandr,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+xrandr-install:
+ $(INSTALL_DIR) $(IDIR_XRANDR)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/xrandr \
+ $(IDIR_XRANDR)/usr/bin
+
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk