[proaudio] [1054] juce: make jucer and demo optional, remove unneeded headers |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 1054
Author: gimpel
Date: 2007-12-16 20:18:36 +0000 (Sun, 16 Dec 2007)
Log Message:
-----------
juce: make jucer and demo optional, remove unneeded headers
Modified Paths:
--------------
trunk/overlays/proaudio/media-libs/juce/ChangeLog
trunk/overlays/proaudio/media-libs/juce/Manifest
trunk/overlays/proaudio/media-libs/juce/juce-1.45.ebuild
Modified: trunk/overlays/proaudio/media-libs/juce/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-libs/juce/ChangeLog 2007-12-16 19:51:01 UTC (rev 1053)
+++ trunk/overlays/proaudio/media-libs/juce/ChangeLog 2007-12-16 20:18:36 UTC (rev 1054)
@@ -2,6 +2,9 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 16 Dec 2007; Thomas Kuther <gimpel@xxxxxxxxxxxxxxxx> juce-1.45.ebuild:
+ make jucer and demo optional, remove unneeded headers
+
15 Dec 2007; Thomas Kuther <gimpel@xxxxxxxxxxxxxxxx> +juce-1.45.ebuild:
version bump. also link a 32bit libjuce for multilib
Modified: trunk/overlays/proaudio/media-libs/juce/Manifest
===================================================================
--- trunk/overlays/proaudio/media-libs/juce/Manifest 2007-12-16 19:51:01 UTC (rev 1053)
+++ trunk/overlays/proaudio/media-libs/juce/Manifest 2007-12-16 20:18:36 UTC (rev 1054)
@@ -32,14 +32,14 @@
MD5 41aa80e44e6e2ffeda9941924fae5dd7 juce-1.44.ebuild 2351
RMD160 88e956f9ad57fc37a38d8d9acf15c2db7fe148aa juce-1.44.ebuild 2351
SHA256 c1650e3f6e50a552957f19e0dcb631903b99a9b32d2504177b902f06c8244587 juce-1.44.ebuild 2351
-EBUILD juce-1.45.ebuild 3060 RMD160 f4bdb040a6339ddd4e0171ab3fa2cfc71866c208 SHA1 01254c094ae3fd995636d3cf2c34167dd229b5ee SHA256 3ec0adb4df7711feff0ac447ead515ac1b95b665b17b27bc2394da2032fe9dc6
-MD5 464482a11ff4878b2b4293dc0e155964 juce-1.45.ebuild 3060
-RMD160 f4bdb040a6339ddd4e0171ab3fa2cfc71866c208 juce-1.45.ebuild 3060
-SHA256 3ec0adb4df7711feff0ac447ead515ac1b95b665b17b27bc2394da2032fe9dc6 juce-1.45.ebuild 3060
-MISC ChangeLog 353 RMD160 6dbf73773dd7f490aeec988a827876e5b048e176 SHA1 b97d715fca485d01b38e95cee02fb01aff234973 SHA256 98f793e2a878d418664bb6f780e08f079c572ef84ec5fd0cf1605ea66899f1bc
-MD5 05b15963c9c404faabf1c1a45044f004 ChangeLog 353
-RMD160 6dbf73773dd7f490aeec988a827876e5b048e176 ChangeLog 353
-SHA256 98f793e2a878d418664bb6f780e08f079c572ef84ec5fd0cf1605ea66899f1bc ChangeLog 353
+EBUILD juce-1.45.ebuild 3489 RMD160 1ad6896621ce32fdfba48ce2b69fd60e0b144c20 SHA1 4f2715b0c684f4627550685d52cbc649c1b03788 SHA256 06a92cb1307b378111df0a11badd790506622e70fa1ac91b926b7e6f5c48c9a9
+MD5 99ea9855b6580870729d7313460b2077 juce-1.45.ebuild 3489
+RMD160 1ad6896621ce32fdfba48ce2b69fd60e0b144c20 juce-1.45.ebuild 3489
+SHA256 06a92cb1307b378111df0a11badd790506622e70fa1ac91b926b7e6f5c48c9a9 juce-1.45.ebuild 3489
+MISC ChangeLog 483 RMD160 e94f34d0200f4c6ef944ccbf6fdf5eaf33bc14d8 SHA1 f7ff5047c360c8ed53e0f38f8d3b699c802109d4 SHA256 923d9a0138c14a836fafefd3e53797de3bdf6983dca0241d77b564e1480a9be6
+MD5 bbfd7536e83a471158befb280caeae7a ChangeLog 483
+RMD160 e94f34d0200f4c6ef944ccbf6fdf5eaf33bc14d8 ChangeLog 483
+SHA256 923d9a0138c14a836fafefd3e53797de3bdf6983dca0241d77b564e1480a9be6 ChangeLog 483
MD5 fd76979b6bf2146e6c29c300b41a8e81 files/digest-juce-1.31 223
RMD160 56db2e2d98383a9df20d5ba0fe84658cc3f67677 files/digest-juce-1.31 223
SHA256 85cd639559f8bf1e0b21ec96e9cdf26043ef873dcf44153666c72b304f542b93 files/digest-juce-1.31 223
Modified: trunk/overlays/proaudio/media-libs/juce/juce-1.45.ebuild
===================================================================
--- trunk/overlays/proaudio/media-libs/juce/juce-1.45.ebuild 2007-12-16 19:51:01 UTC (rev 1053)
+++ trunk/overlays/proaudio/media-libs/juce/juce-1.45.ebuild 2007-12-16 20:18:36 UTC (rev 1054)
@@ -19,7 +19,7 @@
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
-IUSE="debug xinerama flac vorbis opengl"
+IUSE="debug xinerama flac vorbis opengl jucer demo"
RDEPEND="=media-libs/freetype-2*
>=media-libs/alsa-lib-0.9
@@ -71,13 +71,17 @@
einfo "Running CFLAGS=${CFLAGS} make ${myconf} ..."
make ${myconf} || die "compiling the juce library failed"
- cd "${S}/extras/juce demo/build/linux"
- make ${myconf} || die "compiling the juce demo failed"
+ if use demo; then
+ cd "${S}/extras/juce demo/build/linux"
+ make ${myconf} || die "compiling the juce demo failed"
+ fi
- cd "${S}/extras/the jucer/build/linux"
- make ${myconf} || die "compiling jucer failed"
+ if use jucer; then
+ cd "${S}/extras/the jucer/build/linux"
+ make ${myconf} || die "compiling jucer failed"
+ fi
- # compile 32bit too
+ # compile 32bit too on amd64
if use amd64; then
einfo "Compiling 32bit lib too..."
@@ -104,14 +108,20 @@
else
dolib bin/*.a
fi
- dobin "extras/juce demo/build/linux/build/jucedemo"
- dobin "extras/the jucer/build/linux/build/jucer"
+ use demo && dobin "extras/juce demo/build/linux/build/jucedemo"
+ use jucer && dobin "extras/the jucer/build/linux/build/jucer"
insinto /usr/share/doc/"${P}"
doins docs/*.html docs/*.css docs/*.txt
mv docs/images "${D}"/usr/share/doc/"${P}"
insinto /usr/include/"${PN}"
doins *.h
+ # remove unneded sources
+ rm -rf src/juce_appframework/audio/audio_file_formats/flac
+ rm -rf src/juce_appframework/audio/audio_file_formats/oggvorbis
+ rm -rf src/juce_appframework/gui/graphics/imaging/image_file_formats/jpglib
+ rm -rf src/juce_appframework/gui/graphics/imaging/image_file_formats/pnglib
cp -R src "${D}"/usr/include/"${PN}"
+ # don't install .cpp files
for i in `find ${D}/usr/include/${PN}/src -name *.cpp`; do
rm -f $i
done