* [gentoo-commits] gentoo-x86 commit in eclass: gst-plugins-ugly.eclass
@ 2008-06-29 18:33 Samuli Suominen (drac)
0 siblings, 0 replies; 9+ messages in thread
From: Samuli Suominen (drac) @ 2008-06-29 18:33 UTC (permalink / raw
To: gentoo-commits
drac 08/06/29 18:33:17
Modified: gst-plugins-ugly.eclass
Log:
Insert dvdnav into gst-plugins-ugly plugins.
Revision Changes Path
1.11 eclass/gst-plugins-ugly.eclass
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gst-plugins-ugly.eclass?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gst-plugins-ugly.eclass?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gst-plugins-ugly.eclass?r1=1.10&r2=1.11
Index: gst-plugins-ugly.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- gst-plugins-ugly.eclass 13 Sep 2007 15:38:54 -0000 1.10
+++ gst-plugins-ugly.eclass 29 Jun 2008 18:33:17 -0000 1.11
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v 1.10 2007/09/13 15:38:54 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v 1.11 2008/06/29 18:33:17 drac Exp $
# Author : foser <foser@gentoo.org>
@@ -26,7 +26,7 @@
# All relevant configure options for gst-plugins
# need a better way to extract these
# gst-plugins-base 0.9
-my_gst_plugins_ugly="amrnb a52dec dvdread id3tag lame mad mpeg2dec sidplay"
+my_gst_plugins_ugly="a52dec amrnb dvdread dvdnav lame id3tag mad mpeg2dec sidplay"
#SRC_URI="mirror://gnome/sources/gst-plugins/${PV_MAJ_MIN}/${MY_P}.tar.bz2"
SRC_URI="http://gstreamer.freedesktop.org/src/gst-plugins-ugly/${MY_P}.tar.bz2"
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: gst-plugins-ugly.eclass
@ 2008-12-05 21:45 Samuli Suominen (ssuominen)
0 siblings, 0 replies; 9+ messages in thread
From: Samuli Suominen (ssuominen) @ 2008-12-05 21:45 UTC (permalink / raw
To: gentoo-commits
ssuominen 08/12/05 21:45:58
Modified: gst-plugins-ugly.eclass
Log:
Update gst-plugins-ugly eclass.
Revision Changes Path
1.12 eclass/gst-plugins-ugly.eclass
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gst-plugins-ugly.eclass?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gst-plugins-ugly.eclass?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gst-plugins-ugly.eclass?r1=1.11&r2=1.12
Index: gst-plugins-ugly.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- gst-plugins-ugly.eclass 29 Jun 2008 18:33:17 -0000 1.11
+++ gst-plugins-ugly.eclass 5 Dec 2008 21:45:58 -0000 1.12
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v 1.11 2008/06/29 18:33:17 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v 1.12 2008/12/05 21:45:58 ssuominen Exp $
# Author : foser <foser@gentoo.org>
@@ -26,7 +26,7 @@
# All relevant configure options for gst-plugins
# need a better way to extract these
# gst-plugins-base 0.9
-my_gst_plugins_ugly="a52dec amrnb dvdread dvdnav lame id3tag mad mpeg2dec sidplay"
+my_gst_plugins_ugly="a52dec amrnb cdio dvdread dvdnav lame id3tag mad mpeg2dec sidplay"
#SRC_URI="mirror://gnome/sources/gst-plugins/${PV_MAJ_MIN}/${MY_P}.tar.bz2"
SRC_URI="http://gstreamer.freedesktop.org/src/gst-plugins-ugly/${MY_P}.tar.bz2"
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: gst-plugins-ugly.eclass
@ 2009-11-16 4:51 Mart Raudsepp (leio)
0 siblings, 0 replies; 9+ messages in thread
From: Mart Raudsepp (leio) @ 2009-11-16 4:51 UTC (permalink / raw
To: gentoo-commits
leio 09/11/16 04:51:02
Modified: gst-plugins-ugly.eclass
Log:
Add new plugin (amrwb) in gst-plugins-ugly-0.10.13
Revision Changes Path
1.16 eclass/gst-plugins-ugly.eclass
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gst-plugins-ugly.eclass?rev=1.16&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gst-plugins-ugly.eclass?rev=1.16&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gst-plugins-ugly.eclass?r1=1.15&r2=1.16
Index: gst-plugins-ugly.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- gst-plugins-ugly.eclass 7 Sep 2009 04:58:22 -0000 1.15
+++ gst-plugins-ugly.eclass 16 Nov 2009 04:51:02 -0000 1.16
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v 1.15 2009/09/07 04:58:22 tester Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v 1.16 2009/11/16 04:51:02 leio Exp $
# Author : foser <foser@gentoo.org>
@@ -26,7 +26,8 @@
# All relevant configure options for gst-plugins
# need a better way to extract these
# gst-plugins-base 0.9
-my_gst_plugins_ugly="a52dec amrnb cdio dvdread dvdnav lame id3tag mad mpeg2dec sidplay twolame x264"
+my_gst_plugins_ugly="a52dec amrnb amrwb cdio dvdread dvdnav lame id3tag mad
+mpeg2dec sidplay twolame x264"
#SRC_URI="mirror://gnome/sources/gst-plugins/${PV_MAJ_MIN}/${MY_P}.tar.bz2"
SRC_URI="http://gstreamer.freedesktop.org/src/gst-plugins-ugly/${MY_P}.tar.bz2"
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: gst-plugins-ugly.eclass
@ 2009-11-16 6:04 Mart Raudsepp (leio)
0 siblings, 0 replies; 9+ messages in thread
From: Mart Raudsepp (leio) @ 2009-11-16 6:04 UTC (permalink / raw
To: gentoo-commits
leio 09/11/16 06:04:12
Modified: gst-plugins-ugly.eclass
Log:
Make a note about removed id3tag/dvdnav in 0.10.13, which we can not remove from the list until all earlier versions are gone. These will unfortunately give QA warnings till then
Revision Changes Path
1.17 eclass/gst-plugins-ugly.eclass
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gst-plugins-ugly.eclass?rev=1.17&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gst-plugins-ugly.eclass?rev=1.17&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gst-plugins-ugly.eclass?r1=1.16&r2=1.17
Index: gst-plugins-ugly.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- gst-plugins-ugly.eclass 16 Nov 2009 04:51:02 -0000 1.16
+++ gst-plugins-ugly.eclass 16 Nov 2009 06:04:12 -0000 1.17
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v 1.16 2009/11/16 04:51:02 leio Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v 1.17 2009/11/16 06:04:12 leio Exp $
# Author : foser <foser@gentoo.org>
@@ -23,9 +23,9 @@
MY_PN=gst-plugins-ugly
MY_P=${MY_PN}-${PV}
-# All relevant configure options for gst-plugins
-# need a better way to extract these
-# gst-plugins-base 0.9
+# All relevant configure options for gst-plugins-ugly
+# need a better way to extract these.
+# Not necessary since -ugly-0.10.13: id3tag dvdnav
my_gst_plugins_ugly="a52dec amrnb amrwb cdio dvdread dvdnav lame id3tag mad
mpeg2dec sidplay twolame x264"
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: gst-plugins-ugly.eclass
@ 2010-07-28 6:24 Mart Raudsepp (leio)
0 siblings, 0 replies; 9+ messages in thread
From: Mart Raudsepp (leio) @ 2010-07-28 6:24 UTC (permalink / raw
To: gentoo-commits
leio 10/07/28 06:24:44
Modified: gst-plugins-ugly.eclass
Log:
Fix some QA warnings about missing configure options by conditional by version appending to my_gst_plugins_ugly variable, bug 285539
Revision Changes Path
1.19 eclass/gst-plugins-ugly.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gst-plugins-ugly.eclass?rev=1.19&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gst-plugins-ugly.eclass?rev=1.19&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gst-plugins-ugly.eclass?r1=1.18&r2=1.19
Index: gst-plugins-ugly.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- gst-plugins-ugly.eclass 28 Jul 2010 05:17:58 -0000 1.18
+++ gst-plugins-ugly.eclass 28 Jul 2010 06:24:44 -0000 1.19
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v 1.18 2010/07/28 05:17:58 leio Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v 1.19 2010/07/28 06:24:44 leio Exp $
# Author : foser <foser@gentoo.org>
@@ -14,7 +14,7 @@
# Gentoo developers responsible for gstreamer <gnome@gentoo.org>, the application developer
# or the gstreamer team.
-inherit eutils gst-plugins10
+inherit eutils versionator gst-plugins10
###
@@ -25,9 +25,13 @@
MY_P=${MY_PN}-${PV}
# All relevant configure options for gst-plugins-ugly
# need a better way to extract these.
-# Not necessary since -ugly-0.10.13: id3tag dvdnav
-my_gst_plugins_ugly="a52dec amrnb amrwb cdio dvdread dvdnav lame id3tag mad
-mpeg2dec sidplay twolame x264"
+my_gst_plugins_ugly="a52dec amrnb amrwb cdio dvdread lame mad mpeg2dec sidplay
+twolame x264"
+
+# dvdnav and id3tag disabled/removed since -ugly-0.10.13
+if ! version_is_at_least "0.10.13"; then
+ my_gst_plugins_bad+=" dvdnav id3tag"
+fi
#SRC_URI="mirror://gnome/sources/gst-plugins/${PV_MAJ_MIN}/${MY_P}.tar.bz2"
SRC_URI="http://gstreamer.freedesktop.org/src/gst-plugins-ugly/${MY_P}.tar.bz2"
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: gst-plugins-ugly.eclass
@ 2010-12-26 4:38 Mart Raudsepp (leio)
0 siblings, 0 replies; 9+ messages in thread
From: Mart Raudsepp (leio) @ 2010-12-26 4:38 UTC (permalink / raw
To: gentoo-commits
leio 10/12/26 04:38:12
Modified: gst-plugins-ugly.eclass
Log:
Handle old gst-plugins-ugly split packages liboil dependencies correctly, preparing for the transition to orc in newer versions
Revision Changes Path
1.20 eclass/gst-plugins-ugly.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gst-plugins-ugly.eclass?rev=1.20&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gst-plugins-ugly.eclass?rev=1.20&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gst-plugins-ugly.eclass?r1=1.19&r2=1.20
Index: gst-plugins-ugly.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- gst-plugins-ugly.eclass 28 Jul 2010 06:24:44 -0000 1.19
+++ gst-plugins-ugly.eclass 26 Dec 2010 04:38:12 -0000 1.20
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v 1.19 2010/07/28 06:24:44 leio Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v 1.20 2010/12/26 04:38:12 leio Exp $
# Author : foser <foser@gentoo.org>
@@ -45,6 +45,14 @@
DEPEND="${RDEPEND}
>=sys-apps/sed-4
dev-util/pkgconfig"
+
+# -ugly-0.10.16 uses orc optionally instead of liboil unconditionally.
+# While <0.10.16 configure always checks for liboil, it is linked to only by a52dec,
+# so we only builddep for all packages, and have a RDEPEND in old gst-plugins-a52dec
+if ! version_is_at_least "0.10.16"; then
+DEPEND="${DEPEND} >=dev-libs/liboil-0.3.8"
+fi
+
RESTRICT=test
fi
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: gst-plugins-ugly.eclass
@ 2010-12-27 3:49 Mart Raudsepp (leio)
0 siblings, 0 replies; 9+ messages in thread
From: Mart Raudsepp (leio) @ 2010-12-27 3:49 UTC (permalink / raw
To: gentoo-commits
leio 10/12/27 03:49:34
Modified: gst-plugins-ugly.eclass
Log:
Add support for easy handling of orc dependencies in the eclass. This way the ebuild only needs to set EAPI=1 and GST_ORC=yes to get all the orc stuff handled, if said package builds things that have orc optimizations. The main purpose of this is to avoid the USE flag (and extraneous deps, though harmless, as indirectly orc will be needed anyway) in case the split plugin does not have any orc usage yet at all (many will never do, as they just wrap some external library without anything to really optimize). This code will become much simpler once older versions go away from tree and they do not need to be coped for. Also move EXPORT_FUNCTIONS handling around the new EAPI check block, in preparation of future EAPI-2+ support.
Revision Changes Path
1.21 eclass/gst-plugins-ugly.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gst-plugins-ugly.eclass?rev=1.21&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gst-plugins-ugly.eclass?rev=1.21&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gst-plugins-ugly.eclass?r1=1.20&r2=1.21
Index: gst-plugins-ugly.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- gst-plugins-ugly.eclass 26 Dec 2010 04:38:12 -0000 1.20
+++ gst-plugins-ugly.eclass 27 Dec 2010 03:49:34 -0000 1.21
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v 1.20 2010/12/26 04:38:12 leio Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v 1.21 2010/12/27 03:49:34 leio Exp $
# Author : foser <foser@gentoo.org>
@@ -33,15 +33,50 @@
my_gst_plugins_bad+=" dvdnav id3tag"
fi
+GST_UGLY_EXPORTED_FUNCTIONS="src_unpack src_compile src_install"
+
+case "${EAPI:-0}" in
+ 0)
+ if [[ -n ${GST_ORC} ]]; then
+ die "Usage of IUSE=+orc implying GST_ORC variable without EAPI-1"
+ fi
+ ;;
+ 1)
+ ;;
+ *)
+ die "Unsupported EAPI ${EAPI}"
+ ;;
+esac
+
+# exports must be ALWAYS after inherit
+EXPORT_FUNCTIONS ${GST_UGLY_EXPORTED_FUNCTIONS}
+
+if version_is_at_least "0.10.16"; then
+ # Ensure GST_ORC is set to a default. This fact is also relied on in
+ # gst-plugins-ugly_src_configure, signalling it's >=0.10.16 and has orc options
+ GST_ORC=${GST_ORC:-"no"}
+ if [[ ${GST_ORC} == "yes" ]]; then
+ IUSE="+orc"
+ fi
+else
+ unset GST_ORC
+fi
+
#SRC_URI="mirror://gnome/sources/gst-plugins/${PV_MAJ_MIN}/${MY_P}.tar.bz2"
SRC_URI="http://gstreamer.freedesktop.org/src/gst-plugins-ugly/${MY_P}.tar.bz2"
S=${WORKDIR}/${MY_P}
+if [[ ${GST_ORC} == "yes" ]]; then
+ RDEPEND="orc? ( >=dev-lang/orc-0.4.5 )"
+ DEPEND="${RDEPEND}"
+fi
+
# added to remove circular deps
# 6/2/2006 - zaheerm
if [ "${PN}" != "${MY_PN}" ]; then
-RDEPEND="=media-libs/gst-plugins-base-0.10*"
+RDEPEND="${RDEPEND}
+ =media-libs/gst-plugins-base-0.10*"
DEPEND="${RDEPEND}
>=sys-apps/sed-4
dev-util/pkgconfig"
@@ -63,7 +98,7 @@
gst-plugins-ugly_src_configure() {
# disable any external plugin besides the plugin we want
- local plugin gst_conf
+ local plugin gst_conf gst_orc_conf
einfo "Configuring to build ${GST_PLUGINS_BUILD} plugin(s) ..."
@@ -75,8 +110,18 @@
gst_conf="${gst_conf} --enable-${plugin} "
done
+ gst_orc_conf=""
+ if [[ -n ${GST_ORC} ]]; then
+ if [[ ${GST_ORC} == "yes" ]]; then
+ gst_orc_conf="$(use_enable orc)"
+ else
+ gst_orc_conf="--disable-orc"
+ fi
+ fi
+ #else leave gst_orc_conf empty, as $PV is less than 0.10.16, so no --enable/disable-orc yet
+
cd ${S}
- econf ${@} --with-package-name="Gentoo GStreamer Ebuild" --with-package-origin="http://www.gentoo.org" ${gst_conf} || die "./configure failure"
+ econf ${gst_orc_conf} ${@} --with-package-name="Gentoo GStreamer Ebuild" --with-package-origin="http://www.gentoo.org" ${gst_conf} || die "./configure failure"
}
@@ -121,6 +166,3 @@
[[ -e README ]] && dodoc README
}
-
-
-EXPORT_FUNCTIONS src_unpack src_compile src_install
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: gst-plugins-ugly.eclass
@ 2011-03-17 21:12 Nirbheek Chauhan (nirbheek)
0 siblings, 0 replies; 9+ messages in thread
From: Nirbheek Chauhan (nirbheek) @ 2011-03-17 21:12 UTC (permalink / raw
To: gentoo-commits
nirbheek 11/03/17 21:12:40
Modified: gst-plugins-ugly.eclass
Log:
Bump orc dep in gst-plugins-ugly eclass for a52dec plugin 0.10.17 bump
Revision Changes Path
1.22 eclass/gst-plugins-ugly.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gst-plugins-ugly.eclass?rev=1.22&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gst-plugins-ugly.eclass?rev=1.22&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gst-plugins-ugly.eclass?r1=1.21&r2=1.22
Index: gst-plugins-ugly.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- gst-plugins-ugly.eclass 27 Dec 2010 03:49:34 -0000 1.21
+++ gst-plugins-ugly.eclass 17 Mar 2011 21:12:40 -0000 1.22
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v 1.21 2010/12/27 03:49:34 leio Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v 1.22 2011/03/17 21:12:40 nirbheek Exp $
# Author : foser <foser@gentoo.org>
@@ -68,7 +68,7 @@
S=${WORKDIR}/${MY_P}
if [[ ${GST_ORC} == "yes" ]]; then
- RDEPEND="orc? ( >=dev-lang/orc-0.4.5 )"
+ RDEPEND="orc? ( >=dev-lang/orc-0.4.6 )"
DEPEND="${RDEPEND}"
fi
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: gst-plugins-ugly.eclass
@ 2011-05-04 2:23 Mart Raudsepp (leio)
0 siblings, 0 replies; 9+ messages in thread
From: Mart Raudsepp (leio) @ 2011-05-04 2:23 UTC (permalink / raw
To: gentoo-commits
leio 11/05/04 02:23:40
Modified: gst-plugins-ugly.eclass
Log:
All liboil using versions are now gone from the tree, so simply the orc handling logic and remove support for econfing those removed old versions.
Revision Changes Path
1.23 eclass/gst-plugins-ugly.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gst-plugins-ugly.eclass?rev=1.23&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gst-plugins-ugly.eclass?rev=1.23&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gst-plugins-ugly.eclass?r1=1.22&r2=1.23
Index: gst-plugins-ugly.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- gst-plugins-ugly.eclass 17 Mar 2011 21:12:40 -0000 1.22
+++ gst-plugins-ugly.eclass 4 May 2011 02:23:40 -0000 1.23
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v 1.22 2011/03/17 21:12:40 nirbheek Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v 1.23 2011/05/04 02:23:40 leio Exp $
# Author : foser <foser@gentoo.org>
@@ -11,8 +11,7 @@
#
# 3rd party applications using gstreamer now should depend on a set of plugins as
# defined in the source, in case of spider usage obtain recommended plugins to use from
-# Gentoo developers responsible for gstreamer <gnome@gentoo.org>, the application developer
-# or the gstreamer team.
+# Gentoo developers responsible for gstreamer <gstreamer@gentoo.org>.
inherit eutils versionator gst-plugins10
@@ -23,16 +22,12 @@
MY_PN=gst-plugins-ugly
MY_P=${MY_PN}-${PV}
+
# All relevant configure options for gst-plugins-ugly
# need a better way to extract these.
my_gst_plugins_ugly="a52dec amrnb amrwb cdio dvdread lame mad mpeg2dec sidplay
twolame x264"
-# dvdnav and id3tag disabled/removed since -ugly-0.10.13
-if ! version_is_at_least "0.10.13"; then
- my_gst_plugins_bad+=" dvdnav id3tag"
-fi
-
GST_UGLY_EXPORTED_FUNCTIONS="src_unpack src_compile src_install"
case "${EAPI:-0}" in
@@ -51,15 +46,10 @@
# exports must be ALWAYS after inherit
EXPORT_FUNCTIONS ${GST_UGLY_EXPORTED_FUNCTIONS}
-if version_is_at_least "0.10.16"; then
- # Ensure GST_ORC is set to a default. This fact is also relied on in
- # gst-plugins-ugly_src_configure, signalling it's >=0.10.16 and has orc options
- GST_ORC=${GST_ORC:-"no"}
- if [[ ${GST_ORC} == "yes" ]]; then
- IUSE="+orc"
- fi
-else
- unset GST_ORC
+# Ensure GST_ORC is set to a default.
+GST_ORC=${GST_ORC:-"no"}
+if [[ ${GST_ORC} == "yes" ]]; then
+ IUSE="+orc"
fi
#SRC_URI="mirror://gnome/sources/gst-plugins/${PV_MAJ_MIN}/${MY_P}.tar.bz2"
@@ -81,13 +71,6 @@
>=sys-apps/sed-4
dev-util/pkgconfig"
-# -ugly-0.10.16 uses orc optionally instead of liboil unconditionally.
-# While <0.10.16 configure always checks for liboil, it is linked to only by a52dec,
-# so we only builddep for all packages, and have a RDEPEND in old gst-plugins-a52dec
-if ! version_is_at_least "0.10.16"; then
-DEPEND="${DEPEND} >=dev-libs/liboil-0.3.8"
-fi
-
RESTRICT=test
fi
@@ -110,15 +93,10 @@
gst_conf="${gst_conf} --enable-${plugin} "
done
- gst_orc_conf=""
- if [[ -n ${GST_ORC} ]]; then
- if [[ ${GST_ORC} == "yes" ]]; then
- gst_orc_conf="$(use_enable orc)"
- else
- gst_orc_conf="--disable-orc"
- fi
+ gst_orc_conf="--disable-orc"
+ if [[ ${GST_ORC} == "yes" ]]; then
+ gst_orc_conf="$(use_enable orc)"
fi
- #else leave gst_orc_conf empty, as $PV is less than 0.10.16, so no --enable/disable-orc yet
cd ${S}
econf ${gst_orc_conf} ${@} --with-package-name="Gentoo GStreamer Ebuild" --with-package-origin="http://www.gentoo.org" ${gst_conf} || die "./configure failure"
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-05-04 2:23 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-16 4:51 [gentoo-commits] gentoo-x86 commit in eclass: gst-plugins-ugly.eclass Mart Raudsepp (leio)
-- strict thread matches above, loose matches on Subject: below --
2011-05-04 2:23 Mart Raudsepp (leio)
2011-03-17 21:12 Nirbheek Chauhan (nirbheek)
2010-12-27 3:49 Mart Raudsepp (leio)
2010-12-26 4:38 Mart Raudsepp (leio)
2010-07-28 6:24 Mart Raudsepp (leio)
2009-11-16 6:04 Mart Raudsepp (leio)
2008-12-05 21:45 Samuli Suominen (ssuominen)
2008-06-29 18:33 Samuli Suominen (drac)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox