From 6d1e9af49629bff4bf300550164518237f2e83c1 Mon Sep 17 00:00:00 2001 From: Chí-Thanh Christopher Nguyễn Date: Sun, 29 Aug 2010 20:11:42 +0000 Subject: Version bump. Package-Manager: portage-2.2_rc67/cvs/Linux x86_64 --- www-plugins/lightspark/ChangeLog | 9 ++- www-plugins/lightspark/Manifest | 8 +-- .../files/lightspark-0.4.3-cmakelists.patch | 44 ------------- .../files/lightspark-0.4.4-cmakelists.patch | 30 +++++++++ www-plugins/lightspark/lightspark-0.4.3.ebuild | 75 ---------------------- www-plugins/lightspark/lightspark-0.4.4.ebuild | 75 ++++++++++++++++++++++ 6 files changed, 117 insertions(+), 124 deletions(-) delete mode 100644 www-plugins/lightspark/files/lightspark-0.4.3-cmakelists.patch create mode 100644 www-plugins/lightspark/files/lightspark-0.4.4-cmakelists.patch delete mode 100644 www-plugins/lightspark/lightspark-0.4.3.ebuild create mode 100644 www-plugins/lightspark/lightspark-0.4.4.ebuild (limited to 'www-plugins/lightspark') diff --git a/www-plugins/lightspark/ChangeLog b/www-plugins/lightspark/ChangeLog index 16627bce9160..c09ef0648eac 100644 --- a/www-plugins/lightspark/ChangeLog +++ b/www-plugins/lightspark/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for www-plugins/lightspark # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/ChangeLog,v 1.14 2010/08/13 19:47:56 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/ChangeLog,v 1.15 2010/08/29 20:11:42 chithanh Exp $ + +*lightspark-0.4.4 (29 Aug 2010) + + 29 Aug 2010; Chí-Thanh Christopher Nguyễn + -lightspark-0.4.3.ebuild, -files/lightspark-0.4.3-cmakelists.patch, + +lightspark-0.4.4.ebuild, +files/lightspark-0.4.4-cmakelists.patch: + Version bump. 13 Aug 2010; Markos Chandras lightspark-0.4.3.ebuild, +files/lightspark-0.4.3-cmakelists.patch: diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest index e7f01b96bfa6..35b683b60050 100644 --- a/www-plugins/lightspark/Manifest +++ b/www-plugins/lightspark/Manifest @@ -1,5 +1,5 @@ -AUX lightspark-0.4.3-cmakelists.patch 2352 RMD160 e247b7023effb5f8199b52f495ac3499490b2466 SHA1 6011a237fe1f601f988f9d8f97a7abe03d866a72 SHA256 00e9f0174f75be78781d9b502718d6f6e5654ce233a8c1c37835580c2698e5c0 -DIST lightspark-0.4.3.tar.gz 253971 RMD160 36e1626a4223459a844a864cfb9fbefd910a9376 SHA1 f0e2f09dea7f66cbdeb4368156750fd81a71500a SHA256 ae443bc90c68cde5ca034f8f3bc29be1a5a35fd742dad674b56f4b3c9fb125ce -EBUILD lightspark-0.4.3.ebuild 1943 RMD160 c50f0780e316d1e043ef21859129ab75c375f3b5 SHA1 f2f421cf534de81ba53b41c4977dd4cbe2805dcd SHA256 8087863b65f72e9a58c2014f9c868a7f4a57b3012a777c2601ca4842693a8680 -MISC ChangeLog 3194 RMD160 c1681b2aaa47fdb075ae34c25c88febb9c1047db SHA1 2905643ed14e5416c4a11e991c48eeae7ba20dd6 SHA256 f967e48531811885ab8bb71ffd7e64b0d8b043f04e3dfd526117ee5e1dcd938e +AUX lightspark-0.4.4-cmakelists.patch 1763 RMD160 d998f6ae1a501eb0dde5bba803651d617e22d2a0 SHA1 1f96c06439c866d4a393ea7787703de208be267a SHA256 d63905c3ec2fb358062e3e89ee422047597d85914a81077c48fc86e74ac96531 +DIST lightspark-0.4.4.tar.gz 317982 RMD160 bc30ed7d934131546f1b0f2ab1f3d0323bf6723c SHA1 dc0174da5f492eae4fe26184da6a995aa7386793 SHA256 3b605f9f5bf7b39ddf92256f0dfef2561ab7d73a8610618f29ea76e79316ed5b +EBUILD lightspark-0.4.4.ebuild 1943 RMD160 d2a18dba6931ff4c5206f44c88d34d0346799f2c SHA1 0d48ce6dae6e9ecb7ecf8929b05d84776aa6f0db SHA256 38a6f7a9a1da3d4d40f6b76ae06fe2309f839c0af712e7de1581f4602ad7cd12 +MISC ChangeLog 3453 RMD160 2d031247c1ae8a5d63a247537eeaa5afa5bb872c SHA1 72bae52d8e68e43fe1edb05e05d977386dbaa673 SHA256 71c87b50ab741f85f4c2f257313a382b2803ba965ca87fa939d432791c14e82d MISC metadata.xml 275 RMD160 1b1d48ace7eb30ee16b7cd1c33dd9fa695817f08 SHA1 8e66ce36ba12401c927e1b7394b652962a979a52 SHA256 9fcd14bdea1cdbac9fa4d44a3c9728877d7b87266c3553f6519a7aaec9795009 diff --git a/www-plugins/lightspark/files/lightspark-0.4.3-cmakelists.patch b/www-plugins/lightspark/files/lightspark-0.4.3-cmakelists.patch deleted file mode 100644 index f0f585dd580b..000000000000 --- a/www-plugins/lightspark/files/lightspark-0.4.3-cmakelists.patch +++ /dev/null @@ -1,44 +0,0 @@ -Index: lightspark-0.4.3/CMakeLists.txt -=================================================================== ---- lightspark-0.4.3.orig/CMakeLists.txt -+++ lightspark-0.4.3/CMakeLists.txt -@@ -199,7 +199,7 @@ ENDIF(${i386}) - # liblightspark.so target - ADD_LIBRARY(spark SHARED ${LIBSPARK_SOURCES}) - SET_TARGET_PROPERTIES(spark PROPERTIES OUTPUT_NAME lightspark) --TARGET_LINK_LIBRARIES(spark ${SOUND_LIBS_LIBRARIES} ${EXTRA_LIBS_LIBRARIES} ${ZLIB_LIBRARIES} ${LLVM_LIBS_CORE} ${LLVM_LIBS_JIT} ${SDL_LIBRARY} ${OPTIONAL_LIBRARIES} ${GTK_LIBRARIES} ${lib_glew}) -+TARGET_LINK_LIBRARIES(spark ${CMAKE_MODULE_LINKER_FLAGS} ${SOUND_LIBS_LIBRARIES} ${EXTRA_LIBS_LIBRARIES} ${ZLIB_LIBRARIES} ${LLVM_LIBS_CORE} ${LLVM_LIBS_JIT} ${SDL_LIBRARY} ${OPTIONAL_LIBRARIES} ${GTK_LIBRARIES} ${lib_glew}) - SET_TARGET_PROPERTIES(spark PROPERTIES LINK_FLAGS "${LLVM_LDFLAGS} -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/lightspark.expmap") - SET_TARGET_PROPERTIES(spark PROPERTIES LINK_INTERFACE_LIBRARIES "") - -@@ -214,7 +214,7 @@ ENDIF(UNIX) - IF(COMPILE_LIGHTSPARK) - ADD_EXECUTABLE(lightspark main.cpp) - TARGET_LINK_LIBRARIES(lightspark spark) -- TARGET_LINK_LIBRARIES(lightspark ${SDL_LIBRARY}) -+ TARGET_LINK_LIBRARIES(lightspark ${SDL_LIBRARY} ${CMAKE_MODULE_LINKER_FLAGS}) - - IF(UNIX) - INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/lightspark.frag DESTINATION ${DATADIR}/lightspark) -@@ -227,7 +227,7 @@ ENDIF(COMPILE_LIGHTSPARK) - # tightspark executable target - IF(COMPILE_TIGHTSPARK) - ADD_EXECUTABLE(tightspark tightspark.cpp) -- TARGET_LINK_LIBRARIES(tightspark spark) -+ TARGET_LINK_LIBRARIES(tightspark spark ${CMAKE_MODULE_LINKER_FLAGS}) - - IF(UNIX) - INSTALL(TARGETS tightspark RUNTIME DESTINATION ${BINDIR}) -Index: lightspark-0.4.3/plugin-dir/CMakeLists.txt -=================================================================== ---- lightspark-0.4.3.orig/plugin-dir/CMakeLists.txt -+++ lightspark-0.4.3/plugin-dir/CMakeLists.txt -@@ -31,7 +31,7 @@ ENDIF(UNIX) - - # Firefox plugin target - ADD_LIBRARY(lightsparkplugin SHARED np_entry.cpp npn_gate.cpp npp_gate.cpp plugin.cpp) --TARGET_LINK_LIBRARIES(lightsparkplugin spark ${MOZ_PLUGIN_LIBRARIES} ${GTK_LIBRARIES}) -+TARGET_LINK_LIBRARIES(lightsparkplugin spark ${CMAKE_MODULE_LINKER_FLAGS} ${MOZ_PLUGIN_LIBRARIES} ${GTK_LIBRARIES}) - - IF(UNIX) - INSTALL(TARGETS lightsparkplugin LIBRARY DESTINATION ${PLUGIN_DIRECTORY}) diff --git a/www-plugins/lightspark/files/lightspark-0.4.4-cmakelists.patch b/www-plugins/lightspark/files/lightspark-0.4.4-cmakelists.patch new file mode 100644 index 000000000000..ba1ea0218230 --- /dev/null +++ b/www-plugins/lightspark/files/lightspark-0.4.4-cmakelists.patch @@ -0,0 +1,30 @@ +diff -ur a/CMakeLists.txt b/CMakeLists.txt +--- a/CMakeLists.txt 2010-08-29 16:50:40.000000000 +0200 ++++ b/CMakeLists.txt 2010-08-29 22:01:32.000000000 +0200 +@@ -303,7 +303,7 @@ + ADD_LIBRARY(spark STATIC ${LIBSPARK_SOURCES}) + ENDIF (CMAKE_COMPILER_IS_GNUCC) + +-TARGET_LINK_LIBRARIES(spark ${SOUND_LIBS_LIBRARIES} ${EXTRA_LIBS_LIBRARIES} ${ZLIB_LIBRARIES} ${LLVM_LIBS_CORE} ${LLVM_LIBS_JIT} ${SDL_LIBRARY} ${OPTIONAL_LIBRARIES} ${GTK_LIBRARIES} ${FREETYPE_LIBRARIES} ${OPENGL_LIBRARIES} ${FTGL_LIBRARIES} ${GLEW_LIBRARIES} ${PCRECPP_LIBRARIES} ${Threads_LIBRARIES}) ++TARGET_LINK_LIBRARIES(spark ${CMAKE_MODULE_LINKER_FLAGS} ${SOUND_LIBS_LIBRARIES} ${EXTRA_LIBS_LIBRARIES} ${ZLIB_LIBRARIES} ${LLVM_LIBS_CORE} ${LLVM_LIBS_JIT} ${SDL_LIBRARY} ${OPTIONAL_LIBRARIES} ${GTK_LIBRARIES} ${FREETYPE_LIBRARIES} ${OPENGL_LIBRARIES} ${FTGL_LIBRARIES} ${GLEW_LIBRARIES} ${PCRECPP_LIBRARIES} ${Threads_LIBRARIES}) + SET_TARGET_PROPERTIES(spark PROPERTIES VERSION "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}") + SET_TARGET_PROPERTIES(spark PROPERTIES SOVERSION "${MAJOR_VERSION}.${MINOR_VERSION}") + +@@ -315,7 +315,7 @@ + IF(COMPILE_LIGHTSPARK) + ADD_EXECUTABLE(lightspark main.cpp) + TARGET_LINK_LIBRARIES(lightspark spark) +- TARGET_LINK_LIBRARIES(lightspark ${SDL_LIBRARY}) ++ TARGET_LINK_LIBRARIES(lightspark ${SDL_LIBRARY} ${CMAKE_MODULE_LINKER_FLAGS}) + + IF(UNIX) + INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/lightspark.frag DESTINATION ${DATADIR}/lightspark) +@@ -328,7 +328,7 @@ + # tightspark executable target + IF(COMPILE_TIGHTSPARK) + ADD_EXECUTABLE(tightspark tightspark.cpp) +- TARGET_LINK_LIBRARIES(tightspark spark) ++ TARGET_LINK_LIBRARIES(tightspark spark ${CMAKE_MODULE_LINKER_FLAGS}) + + IF(UNIX) + INSTALL(TARGETS tightspark RUNTIME DESTINATION ${BINDIR}) diff --git a/www-plugins/lightspark/lightspark-0.4.3.ebuild b/www-plugins/lightspark/lightspark-0.4.3.ebuild deleted file mode 100644 index 695161c4f4a0..000000000000 --- a/www-plugins/lightspark/lightspark-0.4.3.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/lightspark-0.4.3.ebuild,v 1.2 2010/08/13 19:47:56 hwoarang Exp $ - -EAPI=3 -inherit cmake-utils nsplugins multilib - -DESCRIPTION="High performance flash player" -HOMEPAGE="https://launchpad.net/lightspark/" -SRC_URI="http://launchpad.net/${PN}/trunk/${P}/+download/${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="nsplugin pulseaudio" - -RDEPEND="dev-libs/libpcre[cxx] - media-fonts/liberation-fonts - media-video/ffmpeg - media-libs/fontconfig - media-libs/ftgl - >=media-libs/glew-1.5.3 - media-libs/libsdl - pulseaudio? ( - media-sound/pulseaudio - ) - net-misc/curl - >=sys-devel/gcc-4.4 - >=sys-devel/llvm-2.7 - virtual/opengl - nsplugin? ( - dev-libs/nspr - net-libs/xulrunner - x11-libs/gtk+:2 - x11-libs/gtkglext - ) - x11-libs/libX11" -DEPEND="${RDEPEND} - dev-lang/nasm - dev-util/pkgconfig" - -S=${WORKDIR}/${P/_rc*/} - -PATCHES=( - "${FILESDIR}"/${P}-cmakelists.patch -) - -src_configure() { - local mycmakeargs=( - $(cmake-utils_use nsplugin COMPILE_PLUGIN) - $(cmake-utils_use pulseaudio ENABLE_SOUND) - -DPLUGIN_DIRECTORY=/usr/$(get_libdir)/${PN}/plugins - ) - - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - use nsplugin && inst_plugin /usr/$(get_libdir)/${PN}/plugins/liblightsparkplugin.so -} - -pkg_postinst() { - if use nsplugin && ! has_version www-plugins/gnash; then - elog "Lightspark now supports gnash fallback for its browser plugin." - elog "Install www-plugins/gnash to take advantage of it." - fi - if use nsplugin && has_version www-plugins/gnash[nsplugin]; then - elog "Having two plugins installed for the same MIME type may confuse" - elog "Mozilla based browsers. It is recommended to disable the nsplugin" - elog "USE flag for either gnash or lightspark. For details, see" - elog "https://bugzilla.mozilla.org/show_bug.cgi?id=581848" - fi -} diff --git a/www-plugins/lightspark/lightspark-0.4.4.ebuild b/www-plugins/lightspark/lightspark-0.4.4.ebuild new file mode 100644 index 000000000000..e2c5e01ff6e3 --- /dev/null +++ b/www-plugins/lightspark/lightspark-0.4.4.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/lightspark-0.4.4.ebuild,v 1.1 2010/08/29 20:11:42 chithanh Exp $ + +EAPI=3 +inherit cmake-utils nsplugins multilib + +DESCRIPTION="High performance flash player" +HOMEPAGE="https://launchpad.net/lightspark/" +SRC_URI="http://launchpad.net/${PN}/trunk/${P}/+download/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nsplugin pulseaudio" + +RDEPEND="dev-libs/libpcre[cxx] + media-fonts/liberation-fonts + media-video/ffmpeg + media-libs/fontconfig + media-libs/ftgl + >=media-libs/glew-1.5.3 + media-libs/libsdl + pulseaudio? ( + media-sound/pulseaudio + ) + net-misc/curl + >=sys-devel/gcc-4.4 + >=sys-devel/llvm-2.7 + virtual/opengl + nsplugin? ( + dev-libs/nspr + net-libs/xulrunner + x11-libs/gtk+:2 + x11-libs/gtkglext + ) + x11-libs/libX11" +DEPEND="${RDEPEND} + dev-lang/nasm + dev-util/pkgconfig" + +S=${WORKDIR}/${P/_rc*/} + +PATCHES=( + "${FILESDIR}"/${P}-cmakelists.patch +) + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use nsplugin COMPILE_PLUGIN) + $(cmake-utils_use pulseaudio ENABLE_SOUND) + -DPLUGIN_DIRECTORY=/usr/$(get_libdir)/${PN}/plugins + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + use nsplugin && inst_plugin /usr/$(get_libdir)/${PN}/plugins/liblightsparkplugin.so +} + +pkg_postinst() { + if use nsplugin && ! has_version www-plugins/gnash; then + elog "Lightspark now supports gnash fallback for its browser plugin." + elog "Install www-plugins/gnash to take advantage of it." + fi + if use nsplugin && has_version www-plugins/gnash[nsplugin]; then + elog "Having two plugins installed for the same MIME type may confuse" + elog "Mozilla based browsers. It is recommended to disable the nsplugin" + elog "USE flag for either gnash or lightspark. For details, see" + elog "https://bugzilla.mozilla.org/show_bug.cgi?id=581848" + fi +} -- cgit v1.2.3-65-gdbad