From 29cccc8dc86ddab128d39ec89be72f81b4409908 Mon Sep 17 00:00:00 2001 From: notthewave Date: Wed, 29 Sep 2021 21:28:21 +0200 Subject: [PATCH] New package: UxPlay-1.37b --- srcpkgs/UxPlay/patches/arm_fix.patch | 13 +++++++++++++ srcpkgs/UxPlay/template | 14 ++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 srcpkgs/UxPlay/patches/arm_fix.patch create mode 100644 srcpkgs/UxPlay/template diff --git a/srcpkgs/UxPlay/patches/arm_fix.patch b/srcpkgs/UxPlay/patches/arm_fix.patch new file mode 100644 index 000000000000..70ad1f7788a5 --- /dev/null +++ b/srcpkgs/UxPlay/patches/arm_fix.patch @@ -0,0 +1,13 @@ +diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt +index 0761f43..36c5de0 100755 +--- a/lib/CMakeLists.txt ++++ b/lib/CMakeLists.txt +@@ -1,7 +1,7 @@ + cmake_minimum_required(VERSION 3.4.1) + include_directories( playfair llhttp ) + +-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Ofast -march=native -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -Wall -g") ++set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Ofast -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -Wall -g") + + if( APPLE ) + set( ENV{PKG_CONFIG_PATH} "/usr/local/lib/pkgconfig" ) # standard location, and Brew diff --git a/srcpkgs/UxPlay/template b/srcpkgs/UxPlay/template new file mode 100644 index 000000000000..0bd38f607619 --- /dev/null +++ b/srcpkgs/UxPlay/template @@ -0,0 +1,14 @@ +# Template file for 'UxPlay' +pkgname=UxPlay +version=1.37b +revision=1 +build_style=cmake +configure_args="-DZOOMFIX=ON" +hostmakedepends="pkg-config" +makedepends="openssl-devel libplist-devel avahi-compat-libs-devel gstreamer1-devel gst-plugins-base1-devel gst-libav gst-plugins-bad1 gstreamer-vaapi libX11-devel" +short_desc="AirPlay Unix mirroring server" +maintainer="notthewave " +license="GPL-3.0-or-later" +homepage="https://github.com/FDH2/UxPlay" +distfiles="https://github.com/FDH2/UxPlay/archive/refs/tags/${version}.tar.gz" +checksum=6f66e35a8fa12215659a7ce687dc4e23319f3658de1176745206a25837146c33