pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio/libreplaygain



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Fri Dec 15 16:00:19 UTC 2017

Modified Files:
        pkgsrc/audio/libreplaygain: Makefile distinfo
Added Files:
        pkgsrc/audio/libreplaygain/patches: patch-CMakeLists.txt

Log Message:
libreplaygain: Support user CFLAGS.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/audio/libreplaygain/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/audio/libreplaygain/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/audio/libreplaygain/patches/patch-CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/libreplaygain/Makefile
diff -u pkgsrc/audio/libreplaygain/Makefile:1.1 pkgsrc/audio/libreplaygain/Makefile:1.2
--- pkgsrc/audio/libreplaygain/Makefile:1.1     Fri Apr 18 12:41:09 2014
+++ pkgsrc/audio/libreplaygain/Makefile Fri Dec 15 16:00:19 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2014/04/18 12:41:09 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2017/12/15 16:00:19 jperkin Exp $
 
 DISTNAME=              libreplaygain_r475
 PKGNAME=               libreplaygain-0rc475
@@ -13,6 +13,11 @@ LICENSE=             gnu-lgpl-v2.1
 USE_CMAKE=             yes
 INSTALLATION_DIRS=     include/replaygain
 
+SUBST_CLASSES+=                crlf
+SUBST_STAGE.crlf=      post-extract
+SUBST_FILES.crlf=      CMakeLists.txt
+SUBST_FILTER_CMD.crlf= ${TR} -d '\r'
+
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/include/replaygain/* ${DESTDIR}${PREFIX}/include/replaygain
 

Index: pkgsrc/audio/libreplaygain/distinfo
diff -u pkgsrc/audio/libreplaygain/distinfo:1.2 pkgsrc/audio/libreplaygain/distinfo:1.3
--- pkgsrc/audio/libreplaygain/distinfo:1.2     Tue Nov  3 01:12:38 2015
+++ pkgsrc/audio/libreplaygain/distinfo Fri Dec 15 16:00:19 2017
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 01:12:38 agc Exp $
+$NetBSD: distinfo,v 1.3 2017/12/15 16:00:19 jperkin Exp $
 
 SHA1 (libreplaygain_r475.tar.gz) = 7739b4b9cf46e0846663f707a9498a4db0345eaf
 RMD160 (libreplaygain_r475.tar.gz) = b61b087d2b795d8f8dce1bad917dc78fb0170430
 SHA512 (libreplaygain_r475.tar.gz) = b5fce8daf6aa8c8e0adb4c80089b43824b6503cb7d11e0c47c779c57a933b32f0c24722ca3fcf49711199fddcbb92c3fc13876f22418ca1521c7b8e27ba9d409
 Size (libreplaygain_r475.tar.gz) = 8693 bytes
+SHA1 (patch-CMakeLists.txt) = e222ce812c5aed4812eacf05170f79ab9ec462e0

Added files:

Index: pkgsrc/audio/libreplaygain/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/audio/libreplaygain/patches/patch-CMakeLists.txt:1.1
--- /dev/null   Fri Dec 15 16:00:19 2017
+++ pkgsrc/audio/libreplaygain/patches/patch-CMakeLists.txt     Fri Dec 15 16:00:19 2017
@@ -0,0 +1,17 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2017/12/15 16:00:19 jperkin Exp $
+
+Support user CFLAGS.
+
+--- CMakeLists.txt.orig        2017-12-15 15:54:13.974668000 +0000
++++ CMakeLists.txt
+@@ -4,8 +4,4 @@ project(libreplaygain C)
+ 
+ set(CMAKE_VERBOSE_MAKEFILE false)
+ 
+-if(NOT MSVC)
+-set(CMAKE_C_FLAGS "-O3 -fomit-frame-pointer -pipe")
+-endif(NOT MSVC)
+-
+-add_subdirectory(src)
+\ No newline at end of file
++add_subdirectory(src)



Home | Main Index | Thread Index | Old Index