diff options
Diffstat (limited to 'media-plugins/live')
-rw-r--r-- | media-plugins/live/ChangeLog | 8 | ||||
-rw-r--r-- | media-plugins/live/Manifest | 12 | ||||
-rw-r--r-- | media-plugins/live/files/config.gentoo-so-r1 | 17 | ||||
-rw-r--r-- | media-plugins/live/files/live-recursive.patch | 13 | ||||
-rw-r--r-- | media-plugins/live/live-2009.09.28.ebuild | 82 |
5 files changed, 127 insertions, 5 deletions
diff --git a/media-plugins/live/ChangeLog b/media-plugins/live/ChangeLog index 04d64c94d465..2a71d259b51c 100644 --- a/media-plugins/live/ChangeLog +++ b/media-plugins/live/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-plugins/live # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v 1.122 2009/09/18 09:56:42 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/ChangeLog,v 1.123 2009/09/29 07:03:26 aballier Exp $ + +*live-2009.09.28 (29 Sep 2009) + + 29 Sep 2009; Alexis Ballier <aballier@gentoo.org> +live-2009.09.28.ebuild, + +files/config.gentoo-so-r1, +files/live-recursive.patch: + version bump and link the libs with g++ *live-2009.09.04 (18 Sep 2009) diff --git a/media-plugins/live/Manifest b/media-plugins/live/Manifest index 440ce205eed5..15a249e708d9 100644 --- a/media-plugins/live/Manifest +++ b/media-plugins/live/Manifest @@ -3,20 +3,24 @@ Hash: SHA1 AUX config.gentoo 480 RMD160 7fe83cf6a587076b282c66f4e4d730e41b55fc27 SHA1 c26ee14495ac18d25aff20290b55181fa9245082 SHA256 f8dfcb44221ab3e1fbea958b0be5d817aaebe971129def44a96fe1cb0a7d4a00 AUX config.gentoo-so 504 RMD160 60475939b963301f3a26416d87e53f8b08668d3e SHA1 9b829c9fe7c3a1f64a77deb5d484361c8ff8cd60 SHA256 48e623d25c0697e3274355670eae2d0d7f590502f63652bc3cf6cadbdd5429e2 +AUX config.gentoo-so-r1 505 RMD160 6bd37a2fa790eb116c477a6c77f61e88a3535348 SHA1 99961d3665c05375750c076e5f6bffc4044fdc42 SHA256 be1d556e414d128ee3998b4ad640dcd2fb829430c134997134e7054edac55eaf +AUX live-recursive.patch 401 RMD160 512ee0cf4ca9139af5451be8bf7aa4321997cb03 SHA1 df84e25e5f879d93be4a71ec57c090f0d2c80f4f SHA256 353e9d709ae60a216069d39880ae1781e2037692c77ea5aca60dfb0ca1b2ae88 DIST live.2008.09.02.tar.gz 449719 RMD160 003e1aa2ee94a4e1629520aeab34f343b08ec562 SHA1 ea65e82fa331dd843af75d2eb35f23cd07308062 SHA256 c653c494972f5cda360116ea162249e0a1784980e35258e6950d469d0deaf146 DIST live.2009.06.02.tar.gz 469471 RMD160 ddbe057ac4f47d66ee7c99ec3c4886fe97f06565 SHA1 a03ac47dc1b2a5e4745e30fc304af61675036782 SHA256 66c54241bfcc7ea42fe40e1c93739be79a3c065390c4163c0f2647ac45c24758 DIST live.2009.07.28.tar.gz 459808 RMD160 17be40b4c1b7aa9f485c9b358b7f20ba6c4100d8 SHA1 61e61a08f37c843298759eef57a85d0b3b6e864b SHA256 4e90da352651e610bdf0de374ec49c6539a378afcbeb7438e76b1f7277ac4c6a DIST live.2009.09.04.tar.gz 449276 RMD160 0402c1f280648f916ce339b0a5b24f7a7c1da760 SHA1 587eb363afc735a21a42423a7a435e6b998af67d SHA256 bea51061867d1bc6e728f22481438407f566aa0e17cd8f0f15908dcd07b31818 +DIST live.2009.09.28.tar.gz 449508 RMD160 c25cb1a2377f0fe6c3817bbc3edbcd4daa57d0dc SHA1 e5657206976f592e3fd1fda9cfe77b5712498784 SHA256 0e84700e8982ac5472723c0327131c179512d4b99fe0c4ae903cfe08a1a0e03c EBUILD live-2008.09.02.ebuild 2689 RMD160 af10c27f30637a41ef15c6aafb7efd2789e61a3b SHA1 ca53be474c41399e7a5cb6ee10b26bdfaac7d9b9 SHA256 db9ffbfb365b91be08e6719a26094f7d7b2fc3d415a3fd9846e5b6504d19e08d EBUILD live-2009.06.02.ebuild 2689 RMD160 7f4bd81415eeea3f5c06fbbe62be398618bc8e22 SHA1 abdd132c580b3a0416ec8fcabeba1a6efeaa19cc SHA256 6076f1f25ba34e8d6ff64c817fd7a5d52683e876c8dcc04e46be64ce9f7d65a5 EBUILD live-2009.07.28.ebuild 2698 RMD160 d11514b90d4ed8e3e0e65bbc7a366d6353b5ddf1 SHA1 5f303020a8c37b05b9b27f46865d6671db628d1d SHA256 9eaaf0cf0544d9d910af86b05107bd83fbb46c12d2ca2fbc32c63937aab68223 EBUILD live-2009.09.04.ebuild 2699 RMD160 0f2bf69ae150f0968a3297170e16da14974c8346 SHA1 d0a6acab84da7d469cebad90f3bd37124e916b59 SHA256 457c114b82c19fda571c3e92431b940b894a5883229c9e364aac6510efd67763 -MISC ChangeLog 15153 RMD160 a22e06a42e4b50f6dc91bbac6aece2d59ff9e052 SHA1 a8b42ec6b3edc7e0aae5d6309342299544365d17 SHA256 6c3b683fd64438cc0dd7ec0cd0905a99487ec3f96d36c45b6bdf4b0d8dad4ce3 +EBUILD live-2009.09.28.ebuild 2675 RMD160 99bdca5624bda0a83cf1b75c4e322e673bcfcb7f SHA1 8e9f969c6c73a48645814d2c6a5e09224eccb64a SHA256 4467e23341bf8500af2b133e24bab748717fbdbd5cd67a7126c3a7accbcd66d1 +MISC ChangeLog 15364 RMD160 7a3a8803e8c6218eff4d4334ab0f71d1b84b1eac SHA1 f3ef695cb84cb80793398d8c730902fd15a95640 SHA256 44ae75afe50d825486d2ff47ed471740244ec326904acdb32b9ef9624d5cd57d MISC metadata.xml 225 RMD160 6e3fccd1ae62f02a0cb28d319aa185af0020822d SHA1 1b8ccc849053361ac907dc9b652796defd1ce906 SHA256 1a7f3e805478b42bc379b2a36944579d34d7e66ba5bf418a651e1cd58ad0a7f5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) -iEYEARECAAYFAkqzWV8ACgkQvFcC4BYPU0qSeACeLRjfvBM5KbYq1E670M5AaOvp -RTMAni4e6QcS7/kfpUSLG+fxShGq0Yzc -=zjcH +iEYEARECAAYFAkrBsUMACgkQvFcC4BYPU0olSACcD/JnBGsLrW5JjAvZoKz5eBWw +AeQAn1afWwClUPuPYnw010C+AqP2/zfh +=yhhk -----END PGP SIGNATURE----- diff --git a/media-plugins/live/files/config.gentoo-so-r1 b/media-plugins/live/files/config.gentoo-so-r1 new file mode 100644 index 000000000000..76a603557344 --- /dev/null +++ b/media-plugins/live/files/config.gentoo-so-r1 @@ -0,0 +1,17 @@ +COMPILE_OPTS = $(INCLUDES) -I. -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 +C = c +C_COMPILER = $(CC) +C_FLAGS = $(COMPILE_OPTS) -fPIC $(CFLAGS) +CPP = cpp +CPLUSPLUS_COMPILER = $(CXX) +CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -fPIC $(CXXFLAGS) +OBJ = o +LINK = $(CXX) -o +LINK_OPTS = -L. +CONSOLE_LINK_OPTS = $(LINK_OPTS) +LIBRARY_LINK = $(CXX) -o +LIBRARY_LINK_OPTS = $(LINK_OPTS) -shared -Wl,-soname,$@ +LIB_SUFFIX = so +LIBS_FOR_CONSOLE_APPLICATION = +LIBS_FOR_GUI_APPLICATION = +EXE = diff --git a/media-plugins/live/files/live-recursive.patch b/media-plugins/live/files/live-recursive.patch new file mode 100644 index 000000000000..63b210706634 --- /dev/null +++ b/media-plugins/live/files/live-recursive.patch @@ -0,0 +1,13 @@ +Index: live/Makefile.tail +=================================================================== +--- live.orig/Makefile.tail ++++ live/Makefile.tail +@@ -14,8 +14,6 @@ all: + cd $(GROUPSOCK_DIR) ; $(MAKE) + cd $(USAGE_ENVIRONMENT_DIR) ; $(MAKE) + cd $(BASIC_USAGE_ENVIRONMENT_DIR) ; $(MAKE) +- cd $(TESTPROGS_DIR) ; $(MAKE) +- cd $(MEDIA_SERVER_DIR) ; $(MAKE) + + clean: + cd $(LIVEMEDIA_DIR) ; $(MAKE) clean diff --git a/media-plugins/live/live-2009.09.28.ebuild b/media-plugins/live/live-2009.09.28.ebuild new file mode 100644 index 000000000000..7e09f5e0eb24 --- /dev/null +++ b/media-plugins/live/live-2009.09.28.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/live/live-2009.09.28.ebuild,v 1.1 2009/09/29 07:03:26 aballier Exp $ + +inherit flag-o-matic eutils toolchain-funcs multilib + +DESCRIPTION="Source-code libraries for standards-based RTP/RTCP/RTSP multimedia streaming, suitable for embedded and/or low-cost streaming applications" +HOMEPAGE="http://www.live555.com/" +SRC_URI="http://www.live555.com/liveMedia/public/${P/-/.}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="" + +S="${WORKDIR}" + +# Alexis Ballier <aballier@gentoo.org> +# Be careful, bump this everytime you bump the package and the ABI has changed. +# If you don't know, ask someone. +LIVE_ABI_VERSION=3 + +src_unpack() { + unpack ${A} + cd "${WORKDIR}" + epatch "${FILESDIR}/${PN}-recursive.patch" + + cp -pPR live live-shared + mv live live-static + + cp "${FILESDIR}/config.gentoo" live-static + cp "${FILESDIR}/config.gentoo-so-r1" live-shared +} + +src_compile() { + tc-export CC CXX LD + + cd "${WORKDIR}/live-static" + + einfo "Beginning static library build" + ./genMakefiles gentoo + emake -j1 LINK_OPTS="-L. $(raw-ldflags)" || die "failed to build static libraries" + + einfo "Beginning programs build" + cd "${WORKDIR}/live-static/testProgs" + emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build test programs" + cd "${WORKDIR}/live-static/mediaServer" + emake LINK_OPTS="-L. ${LDFLAGS}" || die "failed to build the mediaserver" + + cd "${WORKDIR}/live-shared" + einfo "Beginning shared library build" + ./genMakefiles gentoo-so-r1 + emake -j1 LINK_OPTS="-L. ${LDFLAGS}" LIB_SUFFIX="so.${LIVE_ABI_VERSION}" || die "failed to build shared libraries" +} + +src_install() { + for library in UsageEnvironment liveMedia BasicUsageEnvironment groupsock; do + dolib.a live-static/${library}/lib${library}.a + dolib.so live-shared/${library}/lib${library}.so.${LIVE_ABI_VERSION} + dosym lib${library}.so.${LIVE_ABI_VERSION} /usr/$(get_libdir)/lib${library}.so + + insinto /usr/include/${library} + doins live-shared/${library}/include/*h + done + + # Should we really install these? + find live-static/testProgs -type f -perm +111 -print0 | \ + xargs -0 dobin + + #install included live555MediaServer aplication + dobin live-static/mediaServer/live555MediaServer + + # install docs + dodoc live-static/README +} + +pkg_postinst() { + ewarn "If you are upgrading from a version prior to live-2008.02.08" + ewarn "Please make sure to rebuild applications built against ${PN}" + ewarn "like vlc or mplayer. ${PN} may have had ABI changes and ${PN}" + ewarn "support might be broken." +} |