diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
commit | ca9627e70852f6b2e835660df870fe3ab405882d (patch) | |
tree | 0a008b1d5b16fa0679a195ed7b5662c7891f591c /media-sound/xmms | |
download | darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2 darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip |
Initial import
Diffstat (limited to 'media-sound/xmms')
-rw-r--r-- | media-sound/xmms/Manifest | 18 | ||||
-rw-r--r-- | media-sound/xmms/files/xmms-1.2.10-gcc41.patch | 10 | ||||
-rw-r--r-- | media-sound/xmms/files/xmms-1.2.10-locale_fix.patch | 11 | ||||
-rw-r--r-- | media-sound/xmms/files/xmms-ds-gentoofix.patch | 36 | ||||
-rw-r--r-- | media-sound/xmms/xmms-1.2.10-r24.ebuild | 183 | ||||
-rw-r--r-- | media-sound/xmms/xmms-1.2.11-r2.ebuild | 176 | ||||
-rw-r--r-- | media-sound/xmms/xmms-1.2.11-r3.ebuild | 175 | ||||
-rw-r--r-- | media-sound/xmms/xmms-1.2.11.ebuild | 176 |
8 files changed, 785 insertions, 0 deletions
diff --git a/media-sound/xmms/Manifest b/media-sound/xmms/Manifest new file mode 100644 index 0000000..2f3db2b --- /dev/null +++ b/media-sound/xmms/Manifest @@ -0,0 +1,18 @@ +AUX xmms-1.2.10-gcc41.patch 312 SHA256 957f9680476e6d37e115de164951e80ed8f2f3de2adaf048cb19962908f911de SHA512 b629eab9848443668369e645f6a375e9fe7c63a4b1e97a0cc33998855bd17eccb5c7e9fcb1d12a2e512044d5c8635236a7bb1bcd6a72e335694c702441d6ee0e WHIRLPOOL 70c426e2fe333e5260a1177e8fd7423b43996c883f86569d0a08ef028782a30da0473a46722f242edff1e8fa9ded848d7f86dd2aa37bf17a139e9cc8dbcb5d74 +AUX xmms-1.2.10-locale_fix.patch 377 SHA256 a19abd607515ad70429ab57ca1ac67afdfec9205617afcdd233585224b68c79f SHA512 5f8e85fee08fe59757a7141c454b2c2c5795760a5313a148aa0a518ab136e861e7c12a89a127e488904b97cba767b73303d1b58ee35db94706547109c2971039 WHIRLPOOL 8be2815a6b3ef0176a6238f0cc88bfe0ad1215c9e25a75c97d61196c240f03337837aa2a695330079ecf9c09aa39fd54e8ff1c9fc8032e61dfad347d763fa5bf +AUX xmms-ds-gentoofix.patch 1103 SHA256 52c1b407f12624afc9d69885c7decf24a6cd41434ddaad6886a808c27c0fd97c SHA512 d734cd28a15a1dcfc58e1c19b3b4e474db0e13e99253d2a93c265c552419b445ec653d2a16742e734e3c3c42469c7e4c5de6f24c2056c66839744c8833ee3ae5 WHIRLPOOL d4719d2dd9a1e04cdf618f527664cb8056e29805fcd6ab5935d96e1f94d4a750921433bac56e81679840a264bcebcd48fe6c1aee40f4c717a225ba8dfdaa111c +DIST RusXMMS2-csa35.tar.bz2 128165 SHA256 3bb63e9ce6fd2bca289ebfbde13c7dd3c0b0ca734e676b647acac1ef293312b4 SHA512 0358ad80bf6ea8f6763c5cb8abf0879acd13863845acbb7738b617e88376b239cc76cf398d214cb44b8af346b2cde07f4447d2b6c07d37a821dc41de326a0edc WHIRLPOOL bde9d2cc33e36e03ad50f763282a199c5b6170127e1b0225b30be01a509cbf339f170547b9c4b60666b80be4365f0b348ae0e8e8ff45e32be7481e295acd7754 +DIST RusXMMS2-csa41.tar.bz2 96642 SHA256 e64df1956502e48c09ca60262efb7f1953a76d82a70c801e4797ca81e130e8d0 SHA512 8c589a6f6907b66bdd24ce7b61e1c7a2e4ccf025db325854320483246d44f90d0f0339c3fc96668a5da91e475b6770e419d6a1ffe51021f279fadcadc5dd1cfd WHIRLPOOL baa5ea277c0d5f02741ef3cd9cc5d7e674bd899556b296e386b216df5b247856ba899a16058e34c4921e552f421f8c5eeae0ede4b2a3ad95176064844a8f7358 +DIST RusXMMS2-csa43.tar.bz2 104507 SHA256 b2c0ac09a481b2d77c6e4750a19497f550d93eb961839df3db5ce5da714e6caf SHA512 80a8aea5cb587889c8569f633ba44e8b7d5586ac5dfd296c7ef23162739278d38c1cce2e7b7868f0a3cd2601444e99d11c80afcf9712867b7f9ce3ffb173380b WHIRLPOOL 45c9d119264b999cf54157b97347ca8d350b0caa3f3c6cc54718bc848ae732a0f0d317ada03fc8ca3001166e5723906ba6edc607ed3b6d3a85fcea0b8d2f9b33 +DIST gentoo_ice-xmms-0.2.tar.bz2 51839 SHA256 d1be63368b76f4a8b1d5b0e955cd7a77177f56a7f0b828c6603d8fd2836422b1 SHA512 e863a8f86073007c47ce8c20739aae4bff22e22a7ddc11556b12ae6ebb68654cec7310fdc9d05f2c47f81cf2591fe601b2eb12a2fd911c0a6118c9f3cc524f05 WHIRLPOOL b7a4409629a860021477f34f8886c40c005ea2ec34373d80e6a696323866e54f361e38c76b1ac536775ae5912308f11416e613dec791f21473f01a2fad35bcfd +DIST gnomexmms.xpm 7979 SHA256 6cb7f07ffe47d51bf4483a57812b7c8cb7e35ca5be9d8f0c33512646097f1a71 SHA512 130f437b6b4eb1a717e79674ad84d753fa44ebb3a8bb65881c721851662dea74ba522d40c62fd4eb2b52b83237c2cef1682a62904f7c575e028283242a50e200 WHIRLPOOL c4f99a00324e6796b73f84a1546c27ac948fe4316b8c8bf0f5b0c655513d83796f1eff3b40559942d71a06358cf94b443b3ea5e598d35ba2653fd17dd08ab9c4 +DIST xmms-1.2.10-gentoo-m4-1.1.tar.bz2 26978 SHA256 e253fb2a515d3c7881617172f14fccad6a42cea660b8eaaeef9657114288e46f SHA512 d44d5a00e56a6eeab08ab60d438d156c36ab33bda0192d2d3e2316a791c10f55b9d50f0d9474b492f8dc9b055c7791260ad12b11ad6ca80fbc480ae44380f974 WHIRLPOOL 4c4b2df45ce445740ad7289a62b414fb51e6660d606f061a008665a8d0287761f1db7f05556e33e65da46dd3cb407ad3b7c2536c9c505acc9141eaed3b1d1a77 +DIST xmms-1.2.10-gentoo-patches-2.2.6.tar.bz2 545931 SHA256 b9a8633fe22af156ca1af65ac35d369242ce8016619d87647ba8389b8d52ba96 SHA512 4407f46216450aae5f92a4e39ef529c17da6281777536273f18e08c56c8b17ba8d85c5e86f2aa0ef5d1aa1561b57ed1817a821bbc325b6fdc29b889881b101e1 WHIRLPOOL 198a99bb090f8c3ee9ca87b0663a6add063ddc3ce333c879d0e928ccfd2aa0d338a2e7ce1419439b75ef5b7ba6727ac36067cc3101683ab50c589c82797d1455 +DIST xmms-1.2.10.tar.bz2 2418265 SHA256 ff9eabae2074043294a19ec7beaf0959bd076f6cd60558264faeec08f4a0eb6a SHA512 19f1daf2e76e4884acb5b70cf72dd6754376b398ff4bf5a52a4f1585cdb8c83514fabf6fef8855c35251b917806491330ea84b9d750c4e469e4b7b346d9b1129 WHIRLPOOL 6a4d98fb53c44aef2d3a6baadf6a38fe1d189a6978e7310fcbd1cf604b366346f366f99d390be7afe2368370a01e8db4e0196dfc9a187e82ee8a7a7b8be774bb +DIST xmms-1.2.11-gentoo-patches-2.3.0.1.tar.bz2 16946 SHA256 fdfec6f54b65a8a17d4f6342cadc8c9b1f503f1d0672761c1bab963da6a86a91 SHA512 af6ba4a9a9cbde31e7c514f7f436411e5503f007b94b7313589d41c917d734595577416d60f3dcc5d91ccb9005ddde920dc1de04c346afef656e82953c4cb52f WHIRLPOOL ea65b53d969909a9c45a689204168837fdcc1dca4d68f7c2ac10029bb6edabce05eabbceb8373b4ba62026a7bae81cbdee3c27627dbb251478c4dd5274145bd7 +DIST xmms-1.2.11-gentoo-patches-2.3.0.tar.bz2 16739 SHA256 9aebef51507f49b25f771ed380c652950a1f04e9105fb7029ef3a1889ea19abd SHA512 2f9ae356197d23a5566fe436d616c27e1097e66630f4c2bba3fa28f7c1054b6ac17497a078a048383036df37bd60b3baa1be4d9e156a304cf53bfa7724972a2f WHIRLPOOL 0059af320fcfec62a65727023cb705f93a7bc6145c9373edb8723876c74245bf0bb796a6d58e3243c153315f52a911c1d9b09b1a4baa533971ba62a8974d3d82 +DIST xmms-1.2.11.tar.bz2 2581032 SHA256 7ec15c56632b6c82e61ccddeaefd372359af2f005708a58cdf3951c574b20390 SHA512 cc813f5e060b890aabc9d73f427daa94c474e2858390d336eba1d48bd082aeb295ce508d08d01067fe6341d0888af0dc6de185c54d0d2ee8519c915d7b849b94 WHIRLPOOL 58107054683e8cde21edfb9f1152fa35d21812999a179ad70326e2e87b60c8f64144d96e9be6ea5602a1b570ba40a18082b9ac8fd92422879abcf2df95dd1665 +EBUILD xmms-1.2.10-r24.ebuild 5165 SHA256 eaec93099b4084bc9183ccadf97a14ea30016438dd6aeb5c564d93ad4506c52d SHA512 6815569a6a6f3717e2f7ade38fa4b442f27b6a34512b2fe2a656971d6a96948a2bc5b305cfc4789cecb39dae41cd3206cf11412c519a2a4710354ef63a36ced4 WHIRLPOOL e19565aacc427775ab2ac4d795a143e9ec9e82e684d95a03ce3451caa2b3fc46ebd1907f89a7265fd98d97f007cb62625976755699ecb1f13bab17f73b1b504a +EBUILD xmms-1.2.11-r2.ebuild 4951 SHA256 07ee239d32d1aabcdae7e25ef7b42cfa62915c42182908a1bac7c92eb28b0479 SHA512 85a3ae6b0d9d42ccf8cc25a39c8e6aa3f7b1b301d539d1418bd797e708b69740caa42ae4fa30ef0b2c6a544dd5ea93a6bdc4825c029b8ec396c2e59b47120d1d WHIRLPOOL 1e12c7a9d8bd79e3e085e52a1aada3ff73f5392d796328bc7b499b9ab38348c4d05c0c123acd6a84059f149937367a46c59ed28b68057497a8f4e9ce4b2b9bea +EBUILD xmms-1.2.11-r3.ebuild 4913 SHA256 f7dfaab8631b1320e453b3bb35250e3c21c4b3cf9c814508ac909a6f8c65009d SHA512 ec1d6de3bee9306f136acad41bbaf228554461e9a151129d9d2800780143e908cb8da7905e809d5549e901c7ad7317cd15c77ae1f91bbe3e718ddbe85b9c3d9e WHIRLPOOL bb40479b96a586966d9b8fec30292964cf97152094dc528ca8422869e65d9839be2ceaf554edcd2e0a1cc13e43657afa3dfcbfac8ffc0b237019ece588789aca +EBUILD xmms-1.2.11.ebuild 4949 SHA256 c0b66b7f8e1dcf9b818806f5b88c3fd4f41aa28fcedff3ce1e8c210ab57578ac SHA512 31eaafde1d15671917c7641478e9cbed2ffb97ef2346221c9215150589db648b97b7e308162f079ba0ef3816653fbe8203a75f6bd6700dc2c10f8f6818e5d870 WHIRLPOOL ae76d3b3e3f8bfe7651b2a8f159b6cf8847ab6770c3a0b90c4144e8dad90b4875fc086ba1f42e72d5848867a172f28c12a6bf9d96401f6f6ea0dc6d414f5ff6a diff --git a/media-sound/xmms/files/xmms-1.2.10-gcc41.patch b/media-sound/xmms/files/xmms-1.2.10-gcc41.patch new file mode 100644 index 0000000..0041851 --- /dev/null +++ b/media-sound/xmms/files/xmms-1.2.10-gcc41.patch @@ -0,0 +1,10 @@ +--- xmms-1.2.10.orig/Output/esd/esdout.h 2005-11-22 19:53:38.000000000 +0600 ++++ xmms-1.2.10/Output/esd/esdout.h 2005-11-22 19:56:04.197329014 +0600 +@@ -58,6 +58,7 @@ + ESDConfig; + + extern ESDConfig esd_cfg; ++extern void esdout_reset_playerid(void); + + void esdout_init(void); + void esdout_about(void); diff --git a/media-sound/xmms/files/xmms-1.2.10-locale_fix.patch b/media-sound/xmms/files/xmms-1.2.10-locale_fix.patch new file mode 100644 index 0000000..cfb1cd1 --- /dev/null +++ b/media-sound/xmms/files/xmms-1.2.10-locale_fix.patch @@ -0,0 +1,11 @@ +diff -ruN xmms-1.2.10.orig/xmms/playlist.c xmms-1.2.10/xmms/playlist.c +--- xmms-1.2.10.orig/xmms/playlist.c 2005-11-25 05:14:47.000000000 +0600 ++++ xmms-1.2.10/xmms/playlist.c 2005-11-25 05:18:59.894581237 +0600 +@@ -23,6 +23,7 @@ + #include "libxmms/rcc.h" + #include <sys/stat.h> + #include <unistd.h> ++#include <locale.h> + + GList *playlist = NULL; + GList *shuffle_list = NULL; diff --git a/media-sound/xmms/files/xmms-ds-gentoofix.patch b/media-sound/xmms/files/xmms-ds-gentoofix.patch new file mode 100644 index 0000000..7a1ee35 --- /dev/null +++ b/media-sound/xmms/files/xmms-ds-gentoofix.patch @@ -0,0 +1,36 @@ +diff -dPNur xmms-1.2.10-gentoo/xmms/main.c xmms-1.2.10-new/xmms/main.c +--- xmms-1.2.10-gentoo/xmms/main.c 2005-12-29 02:48:54.000000000 +0000 ++++ xmms-1.2.10-new/xmms/main.c 2005-12-29 02:51:06.000000000 +0000 +@@ -3017,6 +3017,8 @@ + + } + ++static sig_atomic_t exit_flag = 0; ++ + gint idle_func(gpointer data) + { + gint time, t, length; +@@ -3026,6 +3028,8 @@ + + static GTimer *pause_timer = NULL; + ++ if (exit_flag) mainwin_quit_cb(); ++ + if (get_input_playing()) + { + GDK_THREADS_ENTER(); +@@ -3393,13 +3397,7 @@ + /* Try to exit nicely when receiving a nice exit signal */ + void sigterm_handler(int sig) + { +- /* Original author of patch said that you should not use mainwin_quit_cb(), +- * but his way deadlock xmms, and it anyhow just calls ctrlsocket stuff with +- * with CMD_QUIT, which anyhow calls mainwin_quit_cb() in turn. This is not +- * entirely clean, but works. +- * <azarah@gentoo.org> (19 Jan 2003) +- xmms_remote_quit(ctrlsocket_get_session_id()); */ +- mainwin_quit_cb(); ++ exit_flag = 1; + } + + static gboolean pposition_configure(GtkWidget *w, GdkEventConfigure *event, gpointer data) diff --git a/media-sound/xmms/xmms-1.2.10-r24.ebuild b/media-sound/xmms/xmms-1.2.10-r24.ebuild new file mode 100644 index 0000000..2572491 --- /dev/null +++ b/media-sound/xmms/xmms-1.2.10-r24.ebuild @@ -0,0 +1,183 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +inherit flag-o-matic eutils libtool gnuconfig + +PATCH_VER="2.2.6" +M4_VER="1.1" + +PATCHDIR="${WORKDIR}/patches" + +DESCRIPTION="X MultiMedia System" +HOMEPAGE="http://www.xmms.org/" +SRC_URI="http://www.xmms.org/files/1.2.x/${P}.tar.bz2 + mirror://gentoo/gentoo_ice-xmms-0.2.tar.bz2 + http://dside.dyndns.org/files/rusxmms/${P}-gentoo-m4-${M4_VER}.tar.bz2 + http://dside.dyndns.org/files/rusxmms/${P}-gentoo-patches-${PATCH_VER}.tar.bz2 + http://dside.dyndns.org/files/rusxmms/gnomexmms.xpm + http://dside.dyndns.org/files/rusxmms/RusXMMS2-csa35.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86" +IUSE="nls esd mmx vorbis 3dnow mikmod directfb alsa oss arts jack sndfile lirc flac mp3 rcc" + +DEPEND="=x11-libs/gtk+-1.2* + rcc? ( app-i18n/librcc )" + +RDEPEND="${DEPEND} + directfb? ( dev-libs/DirectFB ) + app-arch/unzip" + +#We want these things in DEPEND only +DEPEND="${DEPEND} + >=sys-devel/automake-1.7 + >=sys-devel/autoconf-2.5 + sys-devel/libtool + nls? ( dev-util/intltool + dev-lang/perl + sys-devel/gettext )" + +# USE flags pull in xmms plugins +PDEPEND="lirc? ( media-plugins/xmms-lirc ) + + flac? ( media-libs/flac ) + mikmod? ( media-plugins/xmms-mikmod ) + mp3? ( >=media-plugins/xmms-mpg123-1.2.10-r5 ) + vorbis? ( >=media-plugins/xmms-vorbis-1.2.10-r1 ) + sndfile? ( media-plugins/xmms-sndfile ) + + alsa? ( media-plugins/xmms-alsa ) + arts? ( media-plugins/xmms-arts ) + jack? ( media-plugins/xmms-jack ) + esd? ( media-plugins/xmms-esd ) + oss? ( media-plugins/xmms-oss )" + +src_unpack() { + if ! has_version '>=sys-devel/gettext-0.14.1'; then + eerror "Sorry, you seem to have USE=-nls with an old version of gettext" + eerror "on your system. Unfortunately, that will cause xmms to fail emerging." + eerror "Please either remove gettext or upgrade to version 0.14.1." + fi + + unpack ${A} + cd ${S} + + EPATCH_SUFFIX="patch" + epatch ${PATCHDIR} + +#SDS + use rcc && ../RusXMMS2/apply-gentoo.sh + + # Fixes buggy Gentoo patch + epatch ${FILESDIR}/xmms-ds-gentoofix.patch + + # Fixes compilation with gcc 4.1 (By Amax) + epatch ${FILESDIR}/xmms-1.2.10-gcc41.patch + epatch ${FILESDIR}/xmms-1.2.10-locale_fix.patch +#EDS + + + export WANT_AUTOMAKE=1.7 + export WANT_AUTOCONF=2.5 + + sed -i 's:Output Input Effect General Visualization::' Makefile.am + + for dir in . libxmms; do + cd ${S}/${dir} + rm acinclude.m4 + libtoolize --force --copy || die "libtoolize --force --copy failed" + [ ! -f ltmain.sh ] && ln -s ../ltmain.sh + aclocal -I ${WORKDIR}/m4 || die "aclocal failed" + autoheader || die "autoheader failed" + automake --gnu --add-missing --include-deps --force-missing --copy || die "automake failed" + autoconf || die "autoconf failed" + done + + if use nls; then + cd ${S}/po + cp ${FILESDIR}/po-update.pl update.pl + perl update.pl --pot + fi + + cd ${S} + gnuconfig_update +} + +src_compile() { + export EGREP="grep -E" + filter-flags -fforce-addr -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE + + local myconf="" + + if use !amd64 && { use 3dnow || use mmx; }; then + myconf="${myconf} --enable-simd" + else + myconf="${myconf} --disable-simd" + fi + + # Please see Bug 58092 for details + use ppc64 && replace-flags "-O[2-9]" "-O1" + + econf `use_enable nls` ${myconf} || die + + # For some reason, gmake doesn't export this for libtool's consumption + emake -j1 || die +} + +src_install() { + export EGREP="grep -E" + make DESTDIR="${D}" install || die + + dodoc AUTHORS ChangeLog FAQ NEWS README TODO + newdoc ${PATCHDIR}/README README.patches + newdoc ${PATCHDIR}/ChangeLog ChangeLog.patches + + keepdir /usr/share/xmms/Skins + insinto /usr/share/pixmaps/ + newins ${DISTDIR}/gnomexmms.xpm xmms.xpm + doins xmms/xmms_logo.xpm + insinto /usr/share/pixmaps/mini + doins xmms/xmms_mini.xpm + + insinto /etc/X11/wmconfig + donewins xmms/xmms.wmconfig xmms + + insinto /usr/share/applications + doins ${FILESDIR}/xmms.desktop + + # Add the sexy Gentoo Ice skin + insinto /usr/share/xmms/Skins/gentoo_ice + doins ${WORKDIR}/gentoo_ice/* + docinto gentoo_ice + dodoc ${WORKDIR}/README + + insinto /usr/include/xmms/libxmms + doins ${S}/libxmms/*.h + + insinto /usr/include/xmms + doins ${S}/xmms/i18n.h +} + +pkg_postinst() { + einfo "media-sound/xmms now just provides the xmms binary and libxmms." + einfo "All plugins that were packaged with xmms are now provided by other" + einfo "packages in media-plugins. Some of these are automatically pulled in" + einfo "based on USE flags. Others you will need to emerge manually. The" + einfo "following is a list of packages which were previously provided by" + einfo "media-sound/xmms that are not automatically emerged:" + einfo "media-plugins/xmms-blur-scope" + einfo "media-plugins/xmms-cdaudio" + einfo "media-plugins/xmms-disk-writer" + einfo "media-plugins/xmms-echo" + einfo "media-plugins/xmms-ir" + einfo "media-plugins/xmms-joystick" + einfo "media-plugins/xmms-opengl-spectrum" + einfo "media-plugins/xmms-sanalyzer" + einfo "media-plugins/xmms-song-change" + einfo "media-plugins/xmms-stereo" + einfo "media-plugins/xmms-tonegen" + einfo "media-plugins/xmms-voice" + einfo "media-plugins/xmms-wav" +} diff --git a/media-sound/xmms/xmms-1.2.11-r2.ebuild b/media-sound/xmms/xmms-1.2.11-r2.ebuild new file mode 100644 index 0000000..d208d50 --- /dev/null +++ b/media-sound/xmms/xmms-1.2.11-r2.ebuild @@ -0,0 +1,176 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +inherit flag-o-matic eutils libtool gnuconfig + +PATCH_VER="2.3.0.1" +M4_VER="1.1" + +PATCHDIR="${WORKDIR}/patches" + +DESCRIPTION="X MultiMedia System" +HOMEPAGE="http://www.xmms.org/" +SRC_URI="http://www.xmms.org/files/1.2.x/${P}.tar.bz2 + mirror://gentoo/gentoo_ice-xmms-0.2.tar.bz2 + http://dside.dyndns.org/files/rusxmms/${PN}-1.2.10-gentoo-m4-${M4_VER}.tar.bz2 + http://dside.dyndns.org/files/rusxmms/${P}-gentoo-patches-${PATCH_VER}.tar.bz2 + http://dside.dyndns.org/files/rusxmms/gnomexmms.xpm + http://dside.dyndns.org/files/rusxmms/RusXMMS2-csa43.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86" +IUSE="nls esd mmx vorbis 3dnow mikmod directfb alsa oss arts jack sndfile lirc flac mp3 rcc" + +DEPEND="=x11-libs/gtk+-1.2* + rcc? ( app-i18n/librcc )" + +RDEPEND="${DEPEND} + directfb? ( dev-libs/DirectFB ) + app-arch/unzip" + +#We want these things in DEPEND only +DEPEND="${DEPEND} + >=sys-devel/automake-1.7 + >=sys-devel/autoconf-2.5 + sys-devel/libtool + nls? ( dev-util/intltool + dev-lang/perl + sys-devel/gettext )" + +# USE flags pull in xmms plugins +PDEPEND="lirc? ( media-plugins/xmms-lirc ) + + flac? ( media-libs/flac ) + mikmod? ( media-plugins/xmms-mikmod ) + mp3? ( >=media-plugins/xmms-mpg123-1.2.11 ) + vorbis? ( >=media-plugins/xmms-vorbis-1.2.11 ) + sndfile? ( media-plugins/xmms-sndfile ) + + alsa? ( media-plugins/xmms-alsa ) + esd? ( media-plugins/xmms-esd ) + arts? ( media-plugins/xmms-arts ) + jack? ( media-plugins/xmms-jack ) + oss? ( media-plugins/xmms-oss )" + +src_unpack() { + if ! has_version '>=sys-devel/gettext-0.14.1'; then + eerror "Sorry, you seem to have USE=-nls with an old version of gettext" + eerror "on your system. Unfortunately, that will cause xmms to fail emerging." + eerror "Please either remove gettext or upgrade to version 0.14.1." + fi + + unpack ${A} + cd ${S} + +#SDS + use rcc && ../RusXMMS2/apply.sh +#EDS + + EPATCH_SUFFIX="patch" + epatch ${PATCHDIR} + + +# export WANT_AUTOMAKE=1.7 +# export WANT_AUTOCONF=2.5 + + sed -i 's:Output Input Effect General Visualization::' Makefile.am + + for dir in . libxmms; do + cd ${S}/${dir} + rm acinclude.m4 + libtoolize --force --copy || die "libtoolize --force --copy failed" + [ ! -f ltmain.sh ] && ln -s ../ltmain.sh + aclocal -I ${WORKDIR}/m4 || die "aclocal failed" + autoheader || die "autoheader failed" + automake --gnu --add-missing --include-deps --force-missing --copy || die "automake failed" + autoconf || die "autoconf failed" + done + + if use nls; then + cd ${S}/po + cp ${FILESDIR}/po-update.pl update.pl + perl update.pl --pot + fi + + cd ${S} + gnuconfig_update +} + +src_compile() { + export EGREP="grep -E" + filter-flags -fforce-addr -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE + + local myconf="" + + if use !amd64 && { use 3dnow || use mmx; }; then + myconf="${myconf} --enable-simd" + else + myconf="${myconf} --disable-simd" + fi + + # Please see Bug 58092 for details + use ppc64 && replace-flags "-O[2-9]" "-O1" + + econf `use_enable nls` ${myconf} || die + + # For some reason, gmake doesn't export this for libtool's consumption + emake -j1 || die +} + +src_install() { + export EGREP="grep -E" + make DESTDIR="${D}" install || die + + dodoc AUTHORS ChangeLog FAQ NEWS README TODO + newdoc ${PATCHDIR}/README README.patches + newdoc ${PATCHDIR}/ChangeLog ChangeLog.patches + + keepdir /usr/share/xmms/Skins + insinto /usr/share/pixmaps/ + newins ${DISTDIR}/gnomexmms.xpm xmms.xpm + doins xmms/xmms_logo.xpm + insinto /usr/share/pixmaps/mini + doins xmms/xmms_mini.xpm + + insinto /etc/X11/wmconfig + donewins xmms/xmms.wmconfig xmms + + insinto /usr/share/applications + doins ${FILESDIR}/xmms.desktop + + # Add the sexy Gentoo Ice skin + insinto /usr/share/xmms/Skins/gentoo_ice + doins ${WORKDIR}/gentoo_ice/* + docinto gentoo_ice + dodoc ${WORKDIR}/README + + insinto /usr/include/xmms/libxmms + doins ${S}/libxmms/*.h + + insinto /usr/include/xmms + doins ${S}/xmms/i18n.h +} + +pkg_postinst() { + einfo "media-sound/xmms now just provides the xmms binary and libxmms." + einfo "All plugins that were packaged with xmms are now provided by other" + einfo "packages in media-plugins. Some of these are automatically pulled in" + einfo "based on USE flags. Others you will need to emerge manually. The" + einfo "following is a list of packages which were previously provided by" + einfo "media-sound/xmms that are not automatically emerged:" + einfo "media-plugins/xmms-blur-scope" + einfo "media-plugins/xmms-cdaudio" + einfo "media-plugins/xmms-disk-writer" + einfo "media-plugins/xmms-echo" + einfo "media-plugins/xmms-ir" + einfo "media-plugins/xmms-joystick" + einfo "media-plugins/xmms-opengl-spectrum" + einfo "media-plugins/xmms-sanalyzer" + einfo "media-plugins/xmms-song-change" + einfo "media-plugins/xmms-stereo" + einfo "media-plugins/xmms-tonegen" + einfo "media-plugins/xmms-voice" + einfo "media-plugins/xmms-wav" +} diff --git a/media-sound/xmms/xmms-1.2.11-r3.ebuild b/media-sound/xmms/xmms-1.2.11-r3.ebuild new file mode 100644 index 0000000..f0d38eb --- /dev/null +++ b/media-sound/xmms/xmms-1.2.11-r3.ebuild @@ -0,0 +1,175 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +inherit flag-o-matic eutils libtool gnuconfig + +PATCH_VER="2.3.0.1" +M4_VER="1.1" + +PATCHDIR="${WORKDIR}/patches" + +DESCRIPTION="X MultiMedia System" +HOMEPAGE="http://www.xmms.org/" +SRC_URI="http://www.xmms.org/files/1.2.x/${P}.tar.bz2 + mirror://gentoo/gentoo_ice-xmms-0.2.tar.bz2 + http://dside.dyndns.org/files/rusxmms/${PN}-1.2.10-gentoo-m4-${M4_VER}.tar.bz2 + http://dside.dyndns.org/files/rusxmms/${P}-gentoo-patches-${PATCH_VER}.tar.bz2 + http://dside.dyndns.org/files/rusxmms/gnomexmms.xpm + http://dside.dyndns.org/files/rusxmms/RusXMMS2-csa43.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86" +IUSE="nls mmx vorbis 3dnow mikmod directfb alsa oss arts jack sndfile lirc flac mp3 rcc" + +DEPEND="=x11-libs/gtk+-1.2* + rcc? ( app-i18n/librcc )" + +RDEPEND="${DEPEND} + directfb? ( dev-libs/DirectFB ) + app-arch/unzip" + +#We want these things in DEPEND only +DEPEND="${DEPEND} + >=sys-devel/automake-1.7 + >=sys-devel/autoconf-2.5 + sys-devel/libtool + nls? ( dev-util/intltool + dev-lang/perl + sys-devel/gettext )" + +# USE flags pull in xmms plugins +PDEPEND="lirc? ( media-plugins/xmms-lirc ) + + flac? ( media-libs/flac ) + mikmod? ( media-plugins/xmms-mikmod ) + mp3? ( >=media-plugins/xmms-mpg123-1.2.11 ) + vorbis? ( >=media-plugins/xmms-vorbis-1.2.11 ) + sndfile? ( media-plugins/xmms-sndfile ) + + alsa? ( media-plugins/xmms-alsa ) + arts? ( media-plugins/xmms-arts ) + jack? ( media-plugins/xmms-jack ) + oss? ( media-plugins/xmms-oss )" + +src_unpack() { + if ! has_version '>=sys-devel/gettext-0.14.1'; then + eerror "Sorry, you seem to have USE=-nls with an old version of gettext" + eerror "on your system. Unfortunately, that will cause xmms to fail emerging." + eerror "Please either remove gettext or upgrade to version 0.14.1." + fi + + unpack ${A} + cd ${S} + +#SDS + use rcc && ../RusXMMS2/apply.sh +#EDS + + EPATCH_SUFFIX="patch" + epatch ${PATCHDIR} + + +# export WANT_AUTOMAKE=1.7 +# export WANT_AUTOCONF=2.5 + + sed -i 's:Output Input Effect General Visualization::' Makefile.am + + for dir in . libxmms; do + cd ${S}/${dir} + rm acinclude.m4 + libtoolize --force --copy || die "libtoolize --force --copy failed" + [ ! -f ltmain.sh ] && ln -s ../ltmain.sh + aclocal -I ${WORKDIR}/m4 || die "aclocal failed" + autoheader || die "autoheader failed" + automake --gnu --add-missing --include-deps --force-missing --copy || die "automake failed" + autoconf || die "autoconf failed" + done + + if use nls; then + cd ${S}/po + cp ${FILESDIR}/po-update.pl update.pl + perl update.pl --pot + fi + + cd ${S} + gnuconfig_update +} + +src_compile() { + export EGREP="grep -E" + filter-flags -fforce-addr -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE + + local myconf="" + + if use !amd64 && { use 3dnow || use mmx; }; then + myconf="${myconf} --enable-simd" + else + myconf="${myconf} --disable-simd" + fi + + # Please see Bug 58092 for details + use ppc64 && replace-flags "-O[2-9]" "-O1" + + econf `use_enable nls` ${myconf} || die + + # For some reason, gmake doesn't export this for libtool's consumption + emake -j1 || die +} + +src_install() { + export EGREP="grep -E" + make DESTDIR="${D}" install || die + + dodoc AUTHORS ChangeLog FAQ NEWS README TODO + newdoc ${PATCHDIR}/README README.patches + newdoc ${PATCHDIR}/ChangeLog ChangeLog.patches + + keepdir /usr/share/xmms/Skins + insinto /usr/share/pixmaps/ + newins ${DISTDIR}/gnomexmms.xpm xmms.xpm + doins xmms/xmms_logo.xpm + insinto /usr/share/pixmaps/mini + doins xmms/xmms_mini.xpm + + insinto /etc/X11/wmconfig + donewins xmms/xmms.wmconfig xmms + + insinto /usr/share/applications + doins ${FILESDIR}/xmms.desktop + + # Add the sexy Gentoo Ice skin + insinto /usr/share/xmms/Skins/gentoo_ice + doins ${WORKDIR}/gentoo_ice/* + docinto gentoo_ice + dodoc ${WORKDIR}/README + + insinto /usr/include/xmms/libxmms + doins ${S}/libxmms/*.h + + insinto /usr/include/xmms + doins ${S}/xmms/i18n.h +} + +pkg_postinst() { + einfo "media-sound/xmms now just provides the xmms binary and libxmms." + einfo "All plugins that were packaged with xmms are now provided by other" + einfo "packages in media-plugins. Some of these are automatically pulled in" + einfo "based on USE flags. Others you will need to emerge manually. The" + einfo "following is a list of packages which were previously provided by" + einfo "media-sound/xmms that are not automatically emerged:" + einfo "media-plugins/xmms-blur-scope" + einfo "media-plugins/xmms-cdaudio" + einfo "media-plugins/xmms-disk-writer" + einfo "media-plugins/xmms-echo" + einfo "media-plugins/xmms-ir" + einfo "media-plugins/xmms-joystick" + einfo "media-plugins/xmms-opengl-spectrum" + einfo "media-plugins/xmms-sanalyzer" + einfo "media-plugins/xmms-song-change" + einfo "media-plugins/xmms-stereo" + einfo "media-plugins/xmms-tonegen" + einfo "media-plugins/xmms-voice" + einfo "media-plugins/xmms-wav" +} diff --git a/media-sound/xmms/xmms-1.2.11.ebuild b/media-sound/xmms/xmms-1.2.11.ebuild new file mode 100644 index 0000000..2b09178 --- /dev/null +++ b/media-sound/xmms/xmms-1.2.11.ebuild @@ -0,0 +1,176 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +inherit flag-o-matic eutils libtool gnuconfig + +PATCH_VER="2.3.0" +M4_VER="1.1" + +PATCHDIR="${WORKDIR}/patches" + +DESCRIPTION="X MultiMedia System" +HOMEPAGE="http://www.xmms.org/" +SRC_URI="http://www.xmms.org/files/1.2.x/${P}.tar.bz2 + mirror://gentoo/gentoo_ice-xmms-0.2.tar.bz2 + http://dside.dyndns.org/files/rusxmms/${PN}-1.2.10-gentoo-m4-${M4_VER}.tar.bz2 + http://dside.dyndns.org/files/rusxmms/${P}-gentoo-patches-${PATCH_VER}.tar.bz2 + http://dside.dyndns.org/files/rusxmms/gnomexmms.xpm + http://dside.dyndns.org/files/rusxmms/RusXMMS2-csa41.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86" +IUSE="nls esd mmx vorbis 3dnow mikmod directfb alsa oss arts jack sndfile lirc flac mp3 rcc" + +DEPEND="=x11-libs/gtk+-1.2* + rcc? ( app-i18n/librcc )" + +RDEPEND="${DEPEND} + directfb? ( dev-libs/DirectFB ) + app-arch/unzip" + +#We want these things in DEPEND only +DEPEND="${DEPEND} + >=sys-devel/automake-1.7 + >=sys-devel/autoconf-2.5 + sys-devel/libtool + nls? ( dev-util/intltool + dev-lang/perl + sys-devel/gettext )" + +# USE flags pull in xmms plugins +PDEPEND="lirc? ( media-plugins/xmms-lirc ) + + flac? ( media-libs/flac ) + mikmod? ( media-plugins/xmms-mikmod ) + mp3? ( >=media-plugins/xmms-mpg123-1.2.11 ) + vorbis? ( >=media-plugins/xmms-vorbis-1.2.11 ) + sndfile? ( media-plugins/xmms-sndfile ) + + alsa? ( media-plugins/xmms-alsa ) + arts? ( media-plugins/xmms-arts ) + jack? ( media-plugins/xmms-jack ) + esd? ( media-plugins/xmms-esd ) + oss? ( media-plugins/xmms-oss )" + +src_unpack() { + if ! has_version '>=sys-devel/gettext-0.14.1'; then + eerror "Sorry, you seem to have USE=-nls with an old version of gettext" + eerror "on your system. Unfortunately, that will cause xmms to fail emerging." + eerror "Please either remove gettext or upgrade to version 0.14.1." + fi + + unpack ${A} + cd ${S} + +#SDS + use rcc && ../RusXMMS2/apply.sh +#EDS + + EPATCH_SUFFIX="patch" + epatch ${PATCHDIR} + + +# export WANT_AUTOMAKE=1.7 +# export WANT_AUTOCONF=2.5 + + sed -i 's:Output Input Effect General Visualization::' Makefile.am + + for dir in . libxmms; do + cd ${S}/${dir} + rm acinclude.m4 + libtoolize --force --copy || die "libtoolize --force --copy failed" + [ ! -f ltmain.sh ] && ln -s ../ltmain.sh + aclocal -I ${WORKDIR}/m4 || die "aclocal failed" + autoheader || die "autoheader failed" + automake --gnu --add-missing --include-deps --force-missing --copy || die "automake failed" + autoconf || die "autoconf failed" + done + + if use nls; then + cd ${S}/po + cp ${FILESDIR}/po-update.pl update.pl + perl update.pl --pot + fi + + cd ${S} + gnuconfig_update +} + +src_compile() { + export EGREP="grep -E" + filter-flags -fforce-addr -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE + + local myconf="" + + if use !amd64 && { use 3dnow || use mmx; }; then + myconf="${myconf} --enable-simd" + else + myconf="${myconf} --disable-simd" + fi + + # Please see Bug 58092 for details + use ppc64 && replace-flags "-O[2-9]" "-O1" + + econf `use_enable nls` ${myconf} || die + + # For some reason, gmake doesn't export this for libtool's consumption + emake -j1 || die +} + +src_install() { + export EGREP="grep -E" + make DESTDIR="${D}" install || die + + dodoc AUTHORS ChangeLog FAQ NEWS README TODO + newdoc ${PATCHDIR}/README README.patches + newdoc ${PATCHDIR}/ChangeLog ChangeLog.patches + + keepdir /usr/share/xmms/Skins + insinto /usr/share/pixmaps/ + newins ${DISTDIR}/gnomexmms.xpm xmms.xpm + doins xmms/xmms_logo.xpm + insinto /usr/share/pixmaps/mini + doins xmms/xmms_mini.xpm + + insinto /etc/X11/wmconfig + donewins xmms/xmms.wmconfig xmms + + insinto /usr/share/applications + doins ${FILESDIR}/xmms.desktop + + # Add the sexy Gentoo Ice skin + insinto /usr/share/xmms/Skins/gentoo_ice + doins ${WORKDIR}/gentoo_ice/* + docinto gentoo_ice + dodoc ${WORKDIR}/README + + insinto /usr/include/xmms/libxmms + doins ${S}/libxmms/*.h + + insinto /usr/include/xmms + doins ${S}/xmms/i18n.h +} + +pkg_postinst() { + einfo "media-sound/xmms now just provides the xmms binary and libxmms." + einfo "All plugins that were packaged with xmms are now provided by other" + einfo "packages in media-plugins. Some of these are automatically pulled in" + einfo "based on USE flags. Others you will need to emerge manually. The" + einfo "following is a list of packages which were previously provided by" + einfo "media-sound/xmms that are not automatically emerged:" + einfo "media-plugins/xmms-blur-scope" + einfo "media-plugins/xmms-cdaudio" + einfo "media-plugins/xmms-disk-writer" + einfo "media-plugins/xmms-echo" + einfo "media-plugins/xmms-ir" + einfo "media-plugins/xmms-joystick" + einfo "media-plugins/xmms-opengl-spectrum" + einfo "media-plugins/xmms-sanalyzer" + einfo "media-plugins/xmms-song-change" + einfo "media-plugins/xmms-stereo" + einfo "media-plugins/xmms-tonegen" + einfo "media-plugins/xmms-voice" + einfo "media-plugins/xmms-wav" +} |