ports/graphics/libyuv/files/patch-Makefile
Kurt Jaeger f7c437bbe7 New port: graphics/libyuv
libyuv is an open source project that includes YUV scaling and conversion
functionality.

- Prepare content for compression, with point, bilinear or box filter.
- Convert to YUV from webcam formats.
- Convert from YUV to formats for rendering/effects.
- Rotate by 90/180/270 degrees to adjust for mobile devices in portrait mode.
- Optimized versions for SSE2/SSSE3/AVX2 on x86/x64,
  Neon on Arm, DSP R2 Mips are possible.

WWW: https://chromium.googlesource.com/libyuv/libyuv/

PR:		205680, 204958
Submitted by:	Corey Smith <corsmith@gmail.com>, numisemis@yahoo.com
2016-03-07 08:49:02 +00:00

26 lines
908 B
Text

--- Makefile.orig 2015-06-19 22:04:28 UTC
+++ Makefile
@@ -1,9 +1,9 @@
# This is a generic makefile for libyuv for gcc.
# make -f linux.mk CXX=clang++
-PREFIX:=/usr
EXEC_PREFIX:=$(PREFIX)
LIBDIR:=$(PREFIX)/lib/
+LIBDATA:=$(PREFIX)/libdata/
INCDIR:=$(PREFIX)/include/
CXX?=g++
@@ -63,10 +63,10 @@ install: libyuv.a libyuv.so libyuv.pc
install -d -m 755 $(DESTDIR)/$(LIBDIR)
install -d -m 755 $(DESTDIR)/$(INCDIR)
install -d -m 755 $(DESTDIR)/$(INCDIR)/libyuv
- install -d -m 755 $(DESTDIR)/$(LIBDIR)/pkgconfig
+ install -d -m 755 $(DESTDIR)/$(LIBDATA)/pkgconfig
install -m 644 libyuv.a $(DESTDIR)/$(LIBDIR)
install -m 644 libyuv.so $(DESTDIR)/$(LIBDIR)
- install -m 644 libyuv.pc $(DESTDIR)/$(LIBDIR)/pkgconfig
+ install -m 644 libyuv.pc $(DESTDIR)/$(LIBDATA)/pkgconfig
install -m 644 include/libyuv.h $(DESTDIR)/$(INCDIR)
install -m 644 include/libyuv/* $(DESTDIR)/$(INCDIR)/libyuv