summaryrefslogtreecommitdiff
path: root/media-plugins/libvisual-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/libvisual-plugins')
-rw-r--r--media-plugins/libvisual-plugins/Manifest4
-rw-r--r--media-plugins/libvisual-plugins/files/libvisual-plugins-0.4.0-fno-common.patch17
-rw-r--r--media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r3.ebuild3
-rw-r--r--media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r4.ebuild83
4 files changed, 105 insertions, 2 deletions
diff --git a/media-plugins/libvisual-plugins/Manifest b/media-plugins/libvisual-plugins/Manifest
index a8c7bccb17e0..63de693e2b9e 100644
--- a/media-plugins/libvisual-plugins/Manifest
+++ b/media-plugins/libvisual-plugins/Manifest
@@ -1,5 +1,7 @@
+AUX libvisual-plugins-0.4.0-fno-common.patch 627 BLAKE2B 507b9da964a1f636adedfcb5df07466ebd3d360ed91507239c8fb8f8197b0d1afc58c35ee8113deb9c507b9f3f329e3f9671e4e9f8b23e7842dfcede1f1fc801 SHA512 820682ec181739a060adbe9be2dbc704259a99cf2e30840008fd39afd0344bdc33b6486ecdec7478d56c81f08172172ca2fcade4b1384954b2334e5f978fd73f
DIST libvisual-plugins-0.4.0-m4-1.tar.bz2 1872 BLAKE2B 438fa805e4dccde1f446d3e78e6d3578bbf8ada8ab664bc6e408be1a32edacdf4cb587c213300022cece442c63e88258f2d189d0b35dec9ac1a9b8de826a84db SHA512 6522491f0797d0d442e1839fcfad985fcdba4a6d43ec94eb6edf13cea09a0b187b1e7c09b0c3b2f7b8f22d9b41f9cfb1f5b3559fed00b9dc3935fdf37bf7c08a
DIST libvisual-plugins-0.4.0-patches-4.tar.bz2 10814 BLAKE2B 75e1df7ebbd7455475a9035fe5fd1249117728c74e27ff17407ae9b941bc2e4bfe3cf890ed72bb389a8be27906b7b2ec2dce61403fde8831c127198d663b3666 SHA512 e6c20ebad338c300e1c049d33241daab3d6cd25a73be3402aedb13bb3cf6a84112e074fc2d57f9a7a158d12addd0d320a94d1690ed789f3a90e9cb14cfb966d2
DIST libvisual-plugins-0.4.0.tar.gz 828631 BLAKE2B a3afdb65b5da4cd19d9793fe8da3b14e99df77e21fb888b9f26b9c60af6b71e331b7250029144cb56281e77d2b579ce45d2be1445cab96bc8dc99dbd40794275 SHA512 f8666b548bc04e8b9ab69a37bdd5483080c820115903aabaa629bb0bd0fa8424969ee596e6e66bb90d8e62d6e14513fd57f85c1b5e7e074792cfa94638134901
-EBUILD libvisual-plugins-0.4.0-r3.ebuild 1930 BLAKE2B 2d872c1048c37789e9665cad56bf6f123bfcb75334474e4e9f132cfab1a4e46f2b60ed424a0eb14410e0ddc0c3a22c128b6bb41f60dabae9bc7ca89f5b6c7bd1 SHA512 23dd9a279c1a9c4b3043cb568b80e9127f5295a233e333c9a8ca1bb9f7e8c8ada6290b3046ebdb99396e261109f06fe6cef4c4a4aba4ed69db036668532b158a
+EBUILD libvisual-plugins-0.4.0-r3.ebuild 1962 BLAKE2B 068bd77ccdcd44315420489e973481e7c4308aacb84995b8da8500818c74f90687b6e0ab3d37b41458d23bb76e71239cc4468b861a7018723abcf19b954211ad SHA512 2160bf96d38216ca0260981b3f649f5c12fdd6d48f9eaafa2b3fd4595791631fbd59c0b1c8078b05403f644e34bbcff6afa7454a7e8c9e46cf422dbc9664c08e
+EBUILD libvisual-plugins-0.4.0-r4.ebuild 2605 BLAKE2B 345b53183b674cf65672b66dca363aaf0d17eb7a1d3b1e4e8599bfe663a80d8babfdeb3f643ef6ec65a2fb59e26f72ff810c22bdf6e1c6631e172cc647eac588 SHA512 89fc27f8b408cabd96c1e2564ad60923681607085929726a06c0d4b6a2a2528a9ca2191f457277d70485eab66574899e8bc05f718bf814d5997ca68fa45dd9ac
MISC metadata.xml 332 BLAKE2B c29c386b29c500e0f8a7827985e0c26ee50f9f0465b92c42feed113b3b1fdceae581a6b8d7089ba2d304428f604b531d8e8833da12f2d44e8a1643d952b11445 SHA512 62db2eb31068dc2c0adf100ff0a9782bf9f92118fb2c2322fbde5fff6a22dfe16ff826b22218b44a86b7350ffbbc3e9fc6f0135f0a43feff8f83e3e6365b7288
diff --git a/media-plugins/libvisual-plugins/files/libvisual-plugins-0.4.0-fno-common.patch b/media-plugins/libvisual-plugins/files/libvisual-plugins-0.4.0-fno-common.patch
new file mode 100644
index 000000000000..5544d1895e02
--- /dev/null
+++ b/media-plugins/libvisual-plugins/files/libvisual-plugins-0.4.0-fno-common.patch
@@ -0,0 +1,17 @@
+--- a/plugins/actor/oinksie/table.h
++++ b/plugins/actor/oinksie/table.h
+@@ -27,10 +27,10 @@
+ #define OINK_TABLE_NORMAL_SIZE 1200
+ #define OINK_TABLE_LARGE_SIZE 12000
+
+-float _oink_table_sin[OINK_TABLE_NORMAL_SIZE];
+-float _oink_table_cos[OINK_TABLE_NORMAL_SIZE];
+-float _oink_table_sinlarge[OINK_TABLE_LARGE_SIZE];
+-float _oink_table_coslarge[OINK_TABLE_LARGE_SIZE];
++extern float _oink_table_sin[OINK_TABLE_NORMAL_SIZE];
++extern float _oink_table_cos[OINK_TABLE_NORMAL_SIZE];
++extern float _oink_table_sinlarge[OINK_TABLE_LARGE_SIZE];
++extern float _oink_table_coslarge[OINK_TABLE_LARGE_SIZE];
+
+ void _oink_table_init ();
+
diff --git a/media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r3.ebuild b/media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r3.ebuild
index 2ebdcaae9d40..b15a83b81fde 100644
--- a/media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r3.ebuild
+++ b/media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r3.ebuild
@@ -7,7 +7,7 @@ inherit autotools eutils ltprune multilib-minimal
PATCHLEVEL=4
DESCRIPTION="collection of visualization plugins for use with the libvisual framework"
-HOMEPAGE="http://libvisual.sourceforge.net/"
+HOMEPAGE="http://libvisual.org/"
SRC_URI="mirror://sourceforge/libvisual/${P}.tar.gz
mirror://gentoo/${P}-patches-${PATCHLEVEL}.tar.bz2
mirror://gentoo/${P}-m4-1.tar.bz2"
@@ -37,6 +37,7 @@ DOCS="AUTHORS ChangeLog NEWS README TODO"
src_prepare() {
EPATCH_SUFFIX=patch epatch "${WORKDIR}"/patches
+ epatch "${FILESDIR}/${P}-fno-common.patch"
AT_M4DIR=${WORKDIR}/m4 eautoreconf
sed -i -e "s:@MKINSTALLDIRS@:${S}/mkinstalldirs:" po/Makefile.* || die
diff --git a/media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r4.ebuild b/media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r4.ebuild
new file mode 100644
index 000000000000..118a9ee48ba8
--- /dev/null
+++ b/media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r4.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools multilib-minimal
+
+PATCHLEVEL=4
+
+DESCRIPTION="collection of visualization plugins for use with the libvisual framework"
+HOMEPAGE="http://libvisual.org/"
+SRC_URI="mirror://sourceforge/libvisual/${P}.tar.gz
+ mirror://gentoo/${P}-patches-${PATCHLEVEL}.tar.bz2
+ mirror://gentoo/${P}-m4-1.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0.4"
+KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86"
+IUSE="alsa debug gtk jack mplayer opengl"
+
+RDEPEND=">=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}]
+ ~media-libs/libvisual-${PV}[${MULTILIB_USEDEP}]
+ >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+ >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
+ >=x11-libs/libXrender-0.9.8[${MULTILIB_USEDEP}]
+ alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
+ gtk? ( >=x11-libs/gtk+-2.24.23:2[${MULTILIB_USEDEP}] )
+ jack? ( virtual/jack[${MULTILIB_USEDEP}] )
+ opengl? (
+ >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
+ >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
+ )"
+BDEPEND=">=virtual/pkgconfig-0-r1"
+
+DEPEND="${RDEPEND}
+ >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}]"
+
+DOCS=( AUTHORS ChangeLog NEWS README TODO )
+
+PATCHES=(
+ "${FILESDIR}/${P}-fno-common.patch"
+)
+
+src_prepare() {
+ # Can't use eapply on ${WORKDIR}/patches since the patches use different
+ # values for -p. epatch handled that automatically, eapply doesn't
+ eapply -p1 "${WORKDIR}"/patches/005_all_cxxflags.patch
+ eapply -p1 "${WORKDIR}"/patches/010_all_LIBADD.patch
+ eapply -p1 "${WORKDIR}"/patches/020_all_64bit.patch
+ eapply -p1 "${WORKDIR}"/patches/030_all_analyser.patch
+ eapply -p1 "${WORKDIR}"/patches/040_all_gforce.patch
+ eapply -p0 "${WORKDIR}"/patches/050_all_automagic.patch
+ eapply -p0 "${WORKDIR}"/patches/060_all_gstreamer.patch
+ eapply -p1 "${WORKDIR}"/patches/070_all_gforce-fbsd.patch
+ eapply -p1 "${WORKDIR}"/patches/080_all_qa.patch
+ eapply -p1 "${WORKDIR}"/patches/090_all_nastyfft.patch
+ default
+
+ AT_M4DIR=${WORKDIR}/m4 eautoreconf
+
+ sed -i -e "s:@MKINSTALLDIRS@:${S}/mkinstalldirs:" po/Makefile.* || die
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE=${S} \
+ econf \
+ --disable-esd \
+ $(use_enable jack) \
+ $(use_enable gtk gdkpixbuf-plugin) \
+ --disable-gstreamer-plugin \
+ $(use_enable alsa) \
+ $(use_enable mplayer) \
+ $(use_enable debug inputdebug) \
+ $(use_enable opengl gltest) \
+ $(use_enable opengl nastyfft) \
+ $(use_enable opengl madspin) \
+ $(use_enable opengl flower) \
+ $(use_enable debug)
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${D}" -name "*.la" -delete || die
+}