diff --git a/srcpkgs/utox/patches/fix-install.patch b/srcpkgs/utox/patches/fix-install.patch new file mode 100644 index 00000000000..2af119e93f0 --- /dev/null +++ b/srcpkgs/utox/patches/fix-install.patch @@ -0,0 +1,20 @@ +--- CMakeLists.txt.orig 2016-12-21 09:12:44.000000000 +0000 ++++ CMakeLists.txt 2016-12-31 12:14:05.294261593 +0000 +@@ -147,7 +147,7 @@ + target_link_libraries(utoxNATIVE icon v4lconvert X11 Xext Xrender fontconfig freetype resolv dl ) + + install(FILES +- utox ++ build/utox + DESTINATION "bin" + ) + install(FILES +@@ -156,7 +156,7 @@ + ) + install(FILES + src/utox.1 +- DESTINATION "man/man1" ++ DESTINATION "share/man/man1" + ) + + endif() diff --git a/srcpkgs/utox/template b/srcpkgs/utox/template index 25d8102ac00..fa3aa4bdaf7 100644 --- a/srcpkgs/utox/template +++ b/srcpkgs/utox/template @@ -1,22 +1,18 @@ # Template file for 'utox' pkgname=utox -version=0.9.8 -revision=2 +version=0.11.1 +revision=1 wrksrc="uTox-${version}" -build_style=gnu-makefile +build_style=cmake short_desc="Lightweight TOX instant messenger client written in C" maintainer="Spencer Hill " license="GPL-3" homepage="http://utox.org/" -makedepends="toxcore-devel-git filteraudio-devel-git fontconfig-devel +makedepends="toxcore-devel filteraudio-devel-git fontconfig-devel freetype-devel libopenal-devel libvpx-devel libX11-devel libXext-devel libXrender-devel dbus-devel v4l-utils-devel libsodium-devel opus-devel" hostmakedepends="pkg-config" -distfiles="https://github.com/GrayHatter/uTox/archive/v${version}.tar.gz" -checksum=5e33ec8500a70ea2bd468881b2eec5d7f6adb112a64a9fdc5e6e3ff6f9c20e8e +distfiles="https://github.com/uTox/uTox/archive/v${version}.tar.gz" +checksum=b5684688a2e8ac1863f1e83c566d3ddc69611f03cc24736ac53ef301c5ea65a9 nocross="https://build.voidlinux.eu/builders/armv6l-musl_builder/builds/12668/steps/shell_3/logs/stdio" - -do_build() { - make CC=$CC PREFIX=/usr GIT_V=${version} ${makejobs} -} diff --git a/srcpkgs/utox/update b/srcpkgs/utox/update deleted file mode 100644 index 26e890c260c..00000000000 --- a/srcpkgs/utox/update +++ /dev/null @@ -1 +0,0 @@ -pattern='archive/v\K[\da-z.]+(?=\.tar\.gz)'