From f0529ed4c6b1bba25a5abcadbcd06580d1a37fc0 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 12 Apr 2018 15:06:40 -0300 Subject: [PATCH] New package: libXpresent-1.0.0 --- common/shlibs | 1 + srcpkgs/libXpresent-devel | 1 + srcpkgs/libXpresent/template | 25 +++++++++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 120000 srcpkgs/libXpresent-devel create mode 100644 srcpkgs/libXpresent/template diff --git a/common/shlibs b/common/shlibs index 77a87a6ffd..596a9f1e4b 100644 --- a/common/shlibs +++ b/common/shlibs @@ -111,6 +111,7 @@ libfreetype.so.6 freetype-2.3.9_1 libfontconfig.so.1 fontconfig-2.6.0_1 libX11-xcb.so.1 libX11-1.2_1 libX11.so.6 libX11-1.2_1 +libXpresent.so.1 libXpresent-1.0.0_1 libexpat.so.1 expat-2.0.0_1 libjpeg.so.8 libjpeg-turbo-1.3.0_2 libturbojpeg.so.0 libjpeg-turbo-1.3.0_2 diff --git a/srcpkgs/libXpresent-devel b/srcpkgs/libXpresent-devel new file mode 120000 index 0000000000..d7d54dddc7 --- /dev/null +++ b/srcpkgs/libXpresent-devel @@ -0,0 +1 @@ +libXpresent \ No newline at end of file diff --git a/srcpkgs/libXpresent/template b/srcpkgs/libXpresent/template new file mode 100644 index 0000000000..b892dfbee4 --- /dev/null +++ b/srcpkgs/libXpresent/template @@ -0,0 +1,25 @@ +# Template file for 'libXpresent' +pkgname=libXpresent +version=1.0.0 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config xorg-util-macros" +makedepends="libXfixes-devel libXrandr-devel" +short_desc="XPresent extension C library" +maintainer="maxice8 " +license="X11" +homepage="https://cgit.freedesktop.org/xorg/lib/libXpresent/" +distfiles="${XORG_SITE}/lib/libXpresent-${version}.tar.gz" +checksum=92f1bdfb67ae2ffcdb25ad72c02cac5e4912dc9bc792858240df1d7f105946fa + +libXpresent-devel_package() { + depends="libXpresent-${version}_${revision} xorgproto libX11-devel" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/man/man3 + vmove "usr/lib/*.so" + vmove "usr/lib/*.a" + } +}