diff --git a/common/shlibs b/common/shlibs index 6c4172aedf..4641aaaf9c 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1820,3 +1820,4 @@ libpolkit-qt5-core-1.so.1 polkit-qt5-0.112.0_1 libfm-qt5.so.1 libfm-qt5-0.8.0_1 libqtermwidget5.so.0 qtermwidget-0.6.0_1 libnpth.so.0 npth-1.1_1 +libglfw.so.3 glfw-3.0.4_1 diff --git a/srcpkgs/glfw-devel b/srcpkgs/glfw-devel new file mode 120000 index 0000000000..adc93a5b9c --- /dev/null +++ b/srcpkgs/glfw-devel @@ -0,0 +1 @@ +glfw \ No newline at end of file diff --git a/srcpkgs/glfw/template b/srcpkgs/glfw/template new file mode 100644 index 0000000000..5900cf427e --- /dev/null +++ b/srcpkgs/glfw/template @@ -0,0 +1,25 @@ +# Template file for 'glfw' +pkgname=glfw +version=3.0.4 +revision=1 +build_style=cmake +hostmakedepends="cmake" +makedepends="MesaLib-devel libXrandr-devel libXi-devel glu-devel" +short_desc="Multi-platform library for creating windows with OpenGL contexts" +maintainer="Enno Boland " +license="BSD-3" +homepage="http://www.glfw.org" +distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2" +checksum=4f09d70b9e341c8613873cadb51d9e40a67982b5bb919e024783cec7ac09efc0 +configure_args="-DBUILD_SHARED_LIBS=ON" + +glfw-devel_package() { + depends="glfw>=${version}_${revision} $makedepends" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove /usr/lib/cmake + vmove "usr/lib/*.so" + } +}