* [gentoo-commits] gentoo-x86 commit in media-libs/libcuefile/files: libcuefile-444-multilib_and_shared.patch
@ 2009-07-31 18:30 99% Samuli Suominen (ssuominen)
0 siblings, 0 replies; 1+ results
From: Samuli Suominen (ssuominen) @ 2009-07-31 18:30 UTC (permalink / raw
To: gentoo-commits
ssuominen 09/07/31 18:30:44
Modified: libcuefile-444-multilib_and_shared.patch
Log:
Forgot to commit this...
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Revision Changes Path
1.2 media-libs/libcuefile/files/libcuefile-444-multilib_and_shared.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libcuefile/files/libcuefile-444-multilib_and_shared.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libcuefile/files/libcuefile-444-multilib_and_shared.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libcuefile/files/libcuefile-444-multilib_and_shared.patch?r1=1.1&r2=1.2
Index: libcuefile-444-multilib_and_shared.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/libcuefile/files/libcuefile-444-multilib_and_shared.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- libcuefile-444-multilib_and_shared.patch 25 Jul 2009 13:25:39 -0000 1.1
+++ libcuefile-444-multilib_and_shared.patch 31 Jul 2009 18:30:43 -0000 1.2
@@ -1,7 +1,23 @@
-diff -ur libcuefile-444.orig/src/CMakeLists.txt libcuefile-444/src/CMakeLists.txt
+diff -ruN libcuefile-444.orig/CMakeLists.txt libcuefile-444/CMakeLists.txt
+--- libcuefile-444.orig/CMakeLists.txt 2009-07-25 15:58:50.000000000 +0300
++++ libcuefile-444/CMakeLists.txt 2009-07-31 16:35:29.000000000 +0300
+@@ -4,4 +4,7 @@
+
+ set(CMAKE_VERBOSE_MAKEFILE false)
+
++option(SHARED "Use shared libcuefile" OFF)
++
+ add_subdirectory(src)
++add_subdirectory(include)
+diff -ruN libcuefile-444.orig/include/CMakeLists.txt libcuefile-444/include/CMakeLists.txt
+--- libcuefile-444.orig/include/CMakeLists.txt 1970-01-01 02:00:00.000000000 +0200
++++ libcuefile-444/include/CMakeLists.txt 2009-07-31 16:37:17.000000000 +0300
+@@ -0,0 +1 @@
++INSTALL(DIRECTORY cuetools DESTINATION include)
+diff -ruN libcuefile-444.orig/src/CMakeLists.txt libcuefile-444/src/CMakeLists.txt
--- libcuefile-444.orig/src/CMakeLists.txt 2009-07-25 15:58:50.000000000 +0300
-+++ libcuefile-444/src/CMakeLists.txt 2009-07-25 16:04:43.000000000 +0300
-@@ -1,3 +1,10 @@
++++ libcuefile-444/src/CMakeLists.txt 2009-07-31 16:36:16.000000000 +0300
+@@ -1,3 +1,16 @@
add_definitions(-DYY_NEVER_INTERACTIVE)
include_directories(${libcuefile_SOURCE_DIR}/include)
-add_library(cuefile STATIC cd cdtext cue_parse cue_print cue_scan cuefile time toc toc_parse toc_print toc_scan)
@@ -10,7 +26,13 @@
+add_library(cuefile-static STATIC cd cdtext cue_parse cue_print cue_scan cuefile time toc toc_parse toc_print toc_scan)
+set_target_properties(cuefile-static PROPERTIES OUTPUT_NAME cuefile CLEAN_DIRECT_OUTPUT 1)
+
-+add_library(cuefile-shared SHARED cd cdtext cue_parse cue_print cue_scan cuefile time toc toc_parse toc_print toc_scan)
-+set_target_properties(cuefile-shared PROPERTIES OUTPUT_NAME cuefile CLEAN_DIRECT_OUTPUT 1 VERSION 0.0.0 SOVERSION 0)
++if(SHARED)
++ add_library(cuefile-shared SHARED cd cdtext cue_parse cue_print cue_scan cuefile time toc toc_parse toc_print toc_scan)
++ set_target_properties(cuefile-shared PROPERTIES OUTPUT_NAME cuefile CLEAN_DIRECT_OUTPUT 1 VERSION 0.0.0 SOVERSION 0)
++endif(SHARED)
+
-+install(TARGETS cuefile-static cuefile-shared LIBRARY DESTINATION "lib${LIB_SUFFIX}" ARCHIVE DESTINATION "lib${LIB_SUFFIX}")
++install(TARGETS cuefile-static LIBRARY DESTINATION "lib${LIB_SUFFIX}" ARCHIVE DESTINATION "lib${LIB_SUFFIX}")
++
++if(SHARED)
++ install(TARGETS cuefile-shared LIBRARY DESTINATION "lib${LIB_SUFFIX}" ARCHIVE DESTINATION "lib${LIB_SUFFIX}")
++endif(SHARED)
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2009-07-31 18:30 99% [gentoo-commits] gentoo-x86 commit in media-libs/libcuefile/files: libcuefile-444-multilib_and_shared.patch Samuli Suominen (ssuominen)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox