From patchwork Tue Dec 29 01:59:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Erico Nunes X-Patchwork-Id: 561416 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id D1A78140BF5 for ; Tue, 29 Dec 2015 12:59:49 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=Jf6jbrGL; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D44B923437; Tue, 29 Dec 2015 01:59:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nCdoBUdxwRKM; Tue, 29 Dec 2015 01:59:46 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 3A42822B5B; Tue, 29 Dec 2015 01:59:46 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 103071CF48F for ; Tue, 29 Dec 2015 01:59:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 0B45E215E5 for ; Tue, 29 Dec 2015 01:59:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FO597Xxq0xaf for ; Tue, 29 Dec 2015 01:59:42 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qg0-f66.google.com (mail-qg0-f66.google.com [209.85.192.66]) by silver.osuosl.org (Postfix) with ESMTPS id 3AA851FEED for ; Tue, 29 Dec 2015 01:59:42 +0000 (UTC) Received: by mail-qg0-f66.google.com with SMTP id b35so11560205qge.2 for ; Mon, 28 Dec 2015 17:59:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=4eDs6AhWCY3r98gtuTTvqnWHsCR6PJVuaePQWpOikTw=; b=Jf6jbrGLmEEAgzS7dIT05ACqt7WbdBg/wFYezNrmeCCAIW6We2FMotXzUFbUPLXHwP Jq9hh6llrtJ6nuiIRmkoJn3wL8ktdD+2CoCXxCKIf7MSMBNaeZlN2zxUlTshNFTD9RbD SX/Q/FXnI7FHPFGdXtLOUTx4vqRn1TmqpDZSOLbCMhaTCIKB4b6wqvqI2CSVNza4m9BG Au4glW4ddrv2Zafthk1FLirQPbmdbz/26q5l6t3C4HksGrKpoDt0gMScrdZzl3Tc3rMx kFSFKskqjkc/jlVHz0lhWuKBTQNjfLjfZ0ys3vAvJwh2NHVdAaGc90FLV7ZtY8Z+QCKe 0jaQ== X-Received: by 10.140.104.65 with SMTP id z59mr13564709qge.26.1451354381531; Mon, 28 Dec 2015 17:59:41 -0800 (PST) Received: from think.Home ([177.134.46.45]) by smtp.gmail.com with ESMTPSA id t47sm28305579qgt.28.2015.12.28.17.59.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 28 Dec 2015 17:59:40 -0800 (PST) From: Erico Nunes To: buildroot@buildroot.org Date: Mon, 28 Dec 2015 23:59:27 -0200 Message-Id: <1451354367-26073-1-git-send-email-nunes.erico@gmail.com> X-Mailer: git-send-email 2.6.4 Subject: [Buildroot] [PATCH 1/1] xdotool: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" xdotool is a command-line X11 automation tool. http://www.semicomplete.com/projects/xdotool Signed-off-by: Erico Nunes --- package/Config.in | 1 + package/xdotool/Config.in | 11 +++++++++++ package/xdotool/xdotool.hash | 2 ++ package/xdotool/xdotool.mk | 24 ++++++++++++++++++++++++ 4 files changed, 38 insertions(+) create mode 100644 package/xdotool/Config.in create mode 100644 package/xdotool/xdotool.hash create mode 100644 package/xdotool/xdotool.mk diff --git a/package/Config.in b/package/Config.in index a024d3d..973fae1 100644 --- a/package/Config.in +++ b/package/Config.in @@ -304,6 +304,7 @@ comment "X applications" source "package/torsmo/Config.in" source "package/wmctrl/Config.in" source "package/x11vnc/Config.in" + source "package/xdotool/Config.in" source "package/xscreensaver/Config.in" source "package/xterm/Config.in" source "package/xvkbd/Config.in" diff --git a/package/xdotool/Config.in b/package/xdotool/Config.in new file mode 100644 index 0000000..4d5f590 --- /dev/null +++ b/package/xdotool/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_XDOTOOL + bool "xdotool" + depends on BR2_PACKAGE_XORG7 + select BR2_PACKAGE_XLIB_LIBXTST + select BR2_PACKAGE_XLIB_LIBXINERAMA + select BR2_PACKAGE_LIBXKBCOMMON + select BR2_PACKAGE_XLIB_LIBX11 + help + Command-line X11 automation tool + + http://www.semicomplete.com/projects/xdotool diff --git a/package/xdotool/xdotool.hash b/package/xdotool/xdotool.hash new file mode 100644 index 0000000..f8adcd5 --- /dev/null +++ b/package/xdotool/xdotool.hash @@ -0,0 +1,2 @@ +# locally computed hash +sha256 b097ef0e3897d1a24e3f45f0faed58329742d3d9434b9b46eb97eb1040f999bf xdotool-v3.20150503.1.tar.gz diff --git a/package/xdotool/xdotool.mk b/package/xdotool/xdotool.mk new file mode 100644 index 0000000..7e9ae0a --- /dev/null +++ b/package/xdotool/xdotool.mk @@ -0,0 +1,24 @@ +################################################################################ +# +# xdotool +# +################################################################################ + +XDOTOOL_VERSION = v3.20150503.1 +XDOTOOL_SITE = $(call github,jordansissel,xdotool,$(XDOTOOL_VERSION)) +XDOTOOL_LICENSE = custom +XDOTOOL_LICENSE_FILES = COPYRIGHT +XDOTOOL_DEPENDENCIES = xlib_libXtst xlib_libXinerama libxkbcommon xlib_libX11 + +define XDOTOOL_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) +endef + +# Avoid 'install' target to skip 'post-install' which runs ldconfig on host +define XDOTOOL_INSTALL_TARGET_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ + pre-install installlib installprog installheader \ + PREFIX="$(TARGET_DIR)/usr" +endef + +$(eval $(generic-package))