loudgain: hardening
This commit is contained in:
parent
41cf2abbc6
commit
57367a7692
|
@ -0,0 +1,20 @@
|
|||
Index: loudgain-0.6.8/CMakeLists.txt
|
||||
===================================================================
|
||||
--- loudgain-0.6.8.orig/CMakeLists.txt
|
||||
+++ loudgain-0.6.8/CMakeLists.txt
|
||||
@@ -69,12 +69,12 @@ TARGET_LINK_LIBRARIES(loudgain
|
||||
)
|
||||
|
||||
SET_TARGET_PROPERTIES(loudgain PROPERTIES
|
||||
- COMPILE_FLAGS "-Wall -pedantic -g"
|
||||
+ COMPILE_FLAGS "-Wall -pedantic"
|
||||
)
|
||||
|
||||
-SET(CMAKE_C_FLAGS "-std=gnu99 -D_GNU_SOURCE")
|
||||
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -D_GNU_SOURCE")
|
||||
|
||||
-SET(CMAKE_CXX_FLAGS "-std=gnu++11 -D_GNU_SOURCE")
|
||||
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11 -D_GNU_SOURCE")
|
||||
|
||||
INSTALL(TARGETS loudgain DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'loudgain'
|
||||
pkgname=loudgain
|
||||
version=0.6.8
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cmake
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libebur128-devel taglib-devel ffmpeg-devel"
|
||||
|
@ -11,6 +11,7 @@ license="BSD-2-Clause"
|
|||
homepage="https://github.com/Moonbase59/loudgain"
|
||||
distfiles="https://github.com/Moonbase59/loudgain/archive/v${version}.tar.gz"
|
||||
checksum=1137c193ad941b366e87c5d84ccc95a7aa8571affc060db0bd1cf72c489aeaee
|
||||
patch_args=-Np1
|
||||
|
||||
post_install() {
|
||||
vlicense COPYING
|
||||
|
|
Loading…
Reference in New Issue