aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory M. Tuner <gmt@be-evil.net>2014-01-28 00:06:06 -0800
committerGregory M. Tuner <gmt@be-evil.net>2014-01-28 00:06:06 -0800
commitc199abf3d3e3ff176cf62712416a98a249ecf400 (patch)
tree6c067ef35758a7797a22acb33abb144a2d17b752
parentmedia-plugins/gst-plugins-mpeg2dec: multilib-utize (diff)
downloadgmt-c199abf3d3e3ff176cf62712416a98a249ecf400.tar.gz
gmt-c199abf3d3e3ff176cf62712416a98a249ecf400.tar.bz2
gmt-c199abf3d3e3ff176cf62712416a98a249ecf400.zip
media-plugins/gst-plugins-libav: multilib-utize
Signed-off-by: Gregory M. Tuner <gmt@be-evil.net>
-rw-r--r--media-plugins/gst-plugins-libav/Manifest2
-rw-r--r--media-plugins/gst-plugins-libav/gst-plugins-libav-1.2.0-r1.ebuild19
2 files changed, 11 insertions, 10 deletions
diff --git a/media-plugins/gst-plugins-libav/Manifest b/media-plugins/gst-plugins-libav/Manifest
index 32f891a..4ef05de 100644
--- a/media-plugins/gst-plugins-libav/Manifest
+++ b/media-plugins/gst-plugins-libav/Manifest
@@ -4,6 +4,6 @@ AUX gst-plugins-libav-1.1.0_pre20130128-ffmpeg2.patch 5250 SHA256 51c20417417c79
AUX gst-plugins-libav-1.1.0_pre20130128-gbr-color.patch 1001 SHA256 120f5a118cfb71ed8eb03e015e49955ed38bf09a5dd7f9768054219a2e348e24 SHA512 7f29af719101821b88a19a46c2325021724e7f555260ff2a6448f45a87f39df303eae08aa1ef9509ccde467dc9f7e3f3cdcc2611ddd7d1b4f4cfb72f6f21364d WHIRLPOOL 987c420ea0be285c1a8c298080012f14ec8c4de31e5c653d0f312d2be40c32c935a6481e793922d969696dab70a90d9e1b45b74359775723fdceec5dcc9d19cc
AUX gst-plugins-libav-1.2.0-ffmpeg2.patch 5020 SHA256 f7d8729719ecd1dd5103f9bd23230c01fdece180d0e08ff7e8f50ba564607647 SHA512 1ae30423e434dbb158475428f98482dc479862969e3b5493876d32bc425f07d2eec582ab92b6455fd487a7ddfe4142b6dcbd5f23e0de49453082fb331eff3914 WHIRLPOOL bca67b726c41553d1f2739ff5b65fc9dfcb5a5107e320217985d089cb349a33b37d74ee0c3cbfd52ed8107626fabbe773379e4ef2c181f2e172ff4457850f65f
DIST gst-libav-1.2.0.tar.xz 4575972 SHA256 48721eb318ffffdd134edea754d0b65d76b08c8209a8d2c8a42bca1f799f9099 SHA512 2d53de52fb6f846752b0e0c90f8ca167397ade5a413755ecbad9876a25046b56850a8d8c1b2783819da0988475bdf91a3ce8709f6f8db2b3e197bc2fb0e37d7a WHIRLPOOL fcf29f4d55b7d0955750f6aef2541bf5fc94cd4b36ba44dad25035b77d642e7846ab9534ba744ad1ec79f2c67923e988b91ee2c0368b545d164f996c1e485efd
-EBUILD gst-plugins-libav-1.2.0-r1.ebuild 1894 SHA256 76aa10f221631417e69fe0e434ea29927c1fa45c7dc20cdd4e7b2011af75f20b SHA512 e014f1625c78c585d3e3a54f782c2e9c064ed3cdb12d735d40ae7490007764f098f7924dc4a7d4a83af2b448cee72d3262215b71b4ca3f45d9486e480523acef WHIRLPOOL 484c97d8fe0f677815788be518e336d72e0a992ed207edb42f8383719209ec827dd60d67f08bdd863838729025f8c1a64b2ab730cc855b5c4a4c01c62a5e358b
+EBUILD gst-plugins-libav-1.2.0-r1.ebuild 1954 SHA256 c5ea525bb8affea156c9142090da3062a7b72918181dc410e5d40eeb1b60c081 SHA512 5e2e7bc95c9e97b5affee330c6efe88c26c9704f22911fbb1ad4af94ab570a19699f53af5dbeb3c8a0c642ff45087be2547836d454ba59bb63c3cf28a4fd6f1f WHIRLPOOL 56b594054121bbee3f49f0193be74796c077d451fa03e00172b02ba8992822784069d965056d60bafc7e1e766b6508dfb7df63fc2180cae75d4c1d677fc30260
MISC ChangeLog 5967 SHA256 3a17addc0b482d091ed1433b3869b02099746175627384ce675c8cbd10c0f68f SHA512 8e95d58c1aaeb489196c6390dc6f98826ca167cd773f408503f9370d152d30863add28135a06b41bec2c8ad1db89807c46b1605168c158e32dca204c0d4c8d48 WHIRLPOOL 476ee4d974d65f4e10e7412de550d59c57212b334fcf39d71b999a03648b6e0578e374b1886c3eb2815501891d3b4a567438d2901d0e0ea2a5154885e318ae74
MISC metadata.xml 163 SHA256 5be82689c9f32031a2438b08ace0c4bcdc738cec0eb736d9aa7e529cde4b8a6c SHA512 9688f0e23097fe5baefa6b3cf28276c88e53314989b51e1afc9edc0e68a19c215a67dd0bfb84a157b130d424912ac72bf6c85f9ce066c8d9f6776e4c1d019ccc WHIRLPOOL 6609d5606451d3adf31c010aeb51bec29714c3cda8e1a730af0ea1f51289f7139ac86f11c056e59143dddcf46291b9d79ae94083b77488f28717bf51972e0c3b
diff --git a/media-plugins/gst-plugins-libav/gst-plugins-libav-1.2.0-r1.ebuild b/media-plugins/gst-plugins-libav/gst-plugins-libav-1.2.0-r1.ebuild
index 3e48fee..66bdb73 100644
--- a/media-plugins/gst-plugins-libav/gst-plugins-libav-1.2.0-r1.ebuild
+++ b/media-plugins/gst-plugins-libav/gst-plugins-libav-1.2.0-r1.ebuild
@@ -4,7 +4,7 @@
EAPI="5"
-inherit eutils flag-o-matic
+inherit eutils flag-o-matic multilib-minimal
MY_PN="gst-libav"
DESCRIPTION="FFmpeg based gstreamer plugin"
@@ -13,13 +13,13 @@ SRC_URI="http://gstreamer.freedesktop.org/src/${MY_PN}/${MY_PN}-${PV}.tar.xz"
LICENSE="GPL-2"
SLOT="1.0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+KEYWORDS="~amd64"
IUSE="+orc"
RDEPEND="
- media-libs/gstreamer:1.0
- media-libs/gst-plugins-base:1.0
- >=virtual/ffmpeg-9
+ media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
+ media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
+ >=virtual/ffmpeg-9[${MULTILIB_USEDEP}]
orc? ( >=dev-lang/orc-0.4.16 )
"
DEPEND="${RDEPEND}
@@ -41,9 +41,10 @@ src_prepare() {
ext/libav/*.{c,h} || die
epatch "${FILESDIR}/${P}-ffmpeg2.patch"
fi
+ multilib_copy_sources
}
-src_configure() {
+multilib_src_configure() {
GST_PLUGINS_BUILD=""
# always use system ffmpeg/libav if possible
econf \
@@ -55,14 +56,14 @@ src_configure() {
$(use_enable orc)
}
-src_compile() {
+multilib_src_compile() {
# Don't build with -Werror
emake ERROR_CFLAGS=
}
-src_install() {
+multilib_src_install_all() {
DOCS="AUTHORS ChangeLog NEWS README TODO"
- default
+ einstalldocs
prune_libtool_files --modules
}