parent
5e279478e0
commit
4c1b8b573a
2 changed files with 13 additions and 1 deletions
11
srcpkgs/x265/patches/x265-pic.patch
Normal file
11
srcpkgs/x265/patches/x265-pic.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- source/CMakeLists.txt.orig
|
||||
+++ source/CMakeLists.txt
|
||||
@@ -158,7 +162,7 @@ if(GCC)
|
||||
add_definitions(-D__STDC_LIMIT_MACROS=1)
|
||||
add_definitions(-std=gnu++98)
|
||||
if(ENABLE_PIC)
|
||||
- add_definitions(-fPIC)
|
||||
+ add_definitions(-fPIC -DPIC)
|
||||
endif(ENABLE_PIC)
|
||||
if(NATIVE_BUILD)
|
||||
if(INTEL_CXX)
|
|
@ -1,10 +1,11 @@
|
|||
# Template file for 'x265'
|
||||
pkgname=x265
|
||||
version=2.4
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cmake
|
||||
build_wrksrc="source"
|
||||
wrksrc="x265_${version}"
|
||||
configure_args="-DENABLE_PIC=1"
|
||||
hostmakedepends="yasm"
|
||||
short_desc="Open Source H.265/HEVC video encoder"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
|
|
Loading…
Reference in a new issue