From a87da746d421ad5059ab2ee5cd622eb0925b1703 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 8 Jan 2010 14:52:39 +0100 Subject: [PATCH] Added lxrandr-0.1.1 build template. --HG-- extra : convert_revision : 92c5a286c8be6b143c3d48dc0f9bf01d6b3b2f0f --- srcpkgs/lxrandr/patches/intltool.patch | 10 +++++++ srcpkgs/lxrandr/template | 38 ++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 srcpkgs/lxrandr/patches/intltool.patch create mode 100644 srcpkgs/lxrandr/template diff --git a/srcpkgs/lxrandr/patches/intltool.patch b/srcpkgs/lxrandr/patches/intltool.patch new file mode 100644 index 00000000000..36c005ea3b2 --- /dev/null +++ b/srcpkgs/lxrandr/patches/intltool.patch @@ -0,0 +1,10 @@ +--- configure.in.orig 2010-01-08 14:50:43.190432764 +0100 ++++ configure.in 2010-01-08 14:50:55.117554151 +0100 +@@ -4,6 +4,7 @@ AC_INIT(configure.in) + AM_INIT_AUTOMAKE(lxrandr, 0.1.1) + AM_CONFIG_HEADER(config.h) + AM_MAINTAINER_MODE ++IT_PROG_INTLTOOL + + AC_ISC_POSIX + AC_PROG_CC diff --git a/srcpkgs/lxrandr/template b/srcpkgs/lxrandr/template new file mode 100644 index 00000000000..dab631cdeec --- /dev/null +++ b/srcpkgs/lxrandr/template @@ -0,0 +1,38 @@ +# Template file for 'lxrandr' +pkgname=lxrandr +version=0.1.1 +distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz" +build_style=gnu_configure +short_desc="LXDE Monitor configuration tool" +maintainer="Juan RP " +checksum=d0fca7ebaf732dc0d424cf258ede879fbfccd2b189c1343fbd4add9d5befc18a +long_desc=" + This is a very basic monitor config tool utilizing the X extension called + RandR. It can let you change the screen resolution on the fly. Besides, when + you run lxrandr with external monitor connected, its GUI will change, and + show you some quick options to get your projector or external monitor working + correctly. + + LXRandR only gives you some easy and quick options which are intuitive. It\'s + very suitable for laptop users who frequently uses projectors or external + monitor and just want to get their work done without reading a lot of + geek-centered manuals or command line tutorials." + +Add_dependency run glibc +Add_dependency run atk +Add_dependency run cairo +Add_dependency run fontconfig +Add_dependency run freetype +Add_dependency run gtk+ +Add_dependency run glib +Add_dependency run pango +Add_dependency build automake +Add_dependency build pkg-config +Add_dependency build intltool +Add_dependency build gtk+-devel +Add_dependency build freetype-devel + +pre_configure() +{ + cd ${wrksrc} && autoreconf || return 1 +}