diff --git a/common/shlibs b/common/shlibs index da5faf1fa7c..bf1bc96b947 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1416,3 +1416,4 @@ libzeitgeist-2.0.so.0 libzeitgeist2-0.9.14_1 libpotrace.so.0 libpotrace-1.11_1 libSDL2-2.0.so.0 SDL2-2.0.0_1 libcacard.so.0 libcacard-1.6.1_1 +libxcb-cursor.so.0 xcb-util-cursor-0.1.0_1 diff --git a/srcpkgs/xcb-util-cursor-devel b/srcpkgs/xcb-util-cursor-devel new file mode 120000 index 00000000000..4476abfb671 --- /dev/null +++ b/srcpkgs/xcb-util-cursor-devel @@ -0,0 +1 @@ +xcb-util-cursor \ No newline at end of file diff --git a/srcpkgs/xcb-util-cursor/template b/srcpkgs/xcb-util-cursor/template new file mode 100644 index 00000000000..163256dac0f --- /dev/null +++ b/srcpkgs/xcb-util-cursor/template @@ -0,0 +1,40 @@ +# Template build for 'xcb-util-cursor'. +pkgname=xcb-util-cursor +version=0.1.0 +revision=1 +build_style=gnu-configure +configure_args="--disable-static" +hostmakedepends="pkg-config gperf automake libtool xorg-util-macros" +makedepends="xcb-util-renderutil-devel xcb-util-image-devel" +short_desc="XCB cursor library (libxcursor port)" +maintainer="Juan RP " +homepage="http://xcb.freedesktop.org" +license="MIT" + +do_fetch() { + git clone git://anongit.freedesktop.org/xcb/util-cursor ${pkgname}-${version} + cd ${pkgname}-${version} + # Post 0.1.0. Last commit from 20131013. + git checkout 3097d12 + git submodule update --init +} + +pre_configure() { + NOCONFIGURE=1 ./autogen.sh +} + +xcb-util-cursor-devel_package() { + depends="libxcb-devel ${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + } +} + +xcb-util-cursor_package() { + pkg_install() { + vmove all + } +}