Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 225995 Details for
Bug 90614
media-libs/portmidi (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
portmidi-200.ebuild
portmidi-200.ebuild (text/plain), 1.90 KB, created by
Alex Barker
on 2010-03-31 18:17:02 UTC
(
hide
)
Description:
portmidi-200.ebuild
Filename:
MIME Type:
Creator:
Alex Barker
Created:
2010-03-31 18:17:02 UTC
Size:
1.90 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=2 >inherit cmake-utils eutils java-pkg-2 multilib toolchain-funcs > >DESCRIPTION="a computer library for real time MIDI input and output" >HOMEPAGE="http://portmedia.sourceforge.net/" >SRC_URI="mirror://sourceforge/portmedia/${PN}-src-${PV}.zip" > >LICENSE="MIT" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="debug" > >RDEPEND="media-libs/alsa-lib > >=virtual/jdk-1.5" >DEPEND="${RDEPEND} > app-arch/unzip" > >S=${WORKDIR}/${PN} > >pkg_setup() { > java-pkg-2_pkg_setup >} > >src_prepare() { > if use amd64 ; then > sed -i -e 's:i386:AMD64:' \ > ${S}/pm_dylib/CMakeLists.txt \ > ${S}/pm_common/CMakeLists.txt || die "sed failed" > fi > > sed -i -e 's:client:server:' \ > -e 's:/usr/local/::' \ > -e 's:portmidi_s:portmidi:' \ > ${S}/pm_dylib/CMakeLists.txt \ > ${S}/pm_common/CMakeLists.txt || die "sed failed" > > sed -i -e 's:/usr/local/::' \ > -e 's:/usr/::' \ > ${S}/pm_java/CMakeLists.txt || die "sed failed" >} > >src_configure() { > local CMAKE_VARIABLES="" > CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_INSTALL_PREFIX=/usr" > CMAKE_VARIABLES="${CMAKE_VARIABLES} -DJAVA_INCLUDE_PATH:PATH=`java-config -O`/include" > CMAKE_VARIABLES="${CMAKE_VARIABLES} -DJAVA_INCLUDE_PATH2:PATH=`java-config -O`/include/linux" > CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_CACHEFILE_DIR=." > > if use debug ; then > CMAKE_VARIABLES="${CMAKE_VARIABLES} CMAKE_BUILD_TYPE=Debug" > else > CMAKE_VARIABLES="${CMAKE_VARIABLES} CMAKE_BUILD_TYPE=Release" > fi > > cmake ${CMAKE_VARIABLES} . >} > >src_compile() { > tc-export CC > > make || die >} > >src_install() { > # The following fixes a bug in the build scripts > mv pm_java/Release pm_java/pmdefaults.jar > mkdir pm_java/Release > mv pm_java/pmdefaults.jar pm_java/Release/ > cp -R pm_java/pmdefaults/* pm_java/Release/ > > make DESTDIR="${D}" LIBDIR="$(get_libdir)" install || die > dodoc CHANGELOG.txt pm_linux/README_LINUX.txt README.txt >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 90614
:
57388
|
57409
|
95807
|
100760
|
100761
|
101587
|
101588
|
214074
|
214075
|
218907
|
218909
|
218915
|
218917
|
224827
|
224829
|
225995
|
226031
|
226033
|
226035
|
226047
|
226335
|
226337
|
226339
|
228581
|
228585
|
251163
|
251165
|
251167
|
251211
|
251213
|
251309
|
253397
|
253399
|
253401
|
268205
|
289943
|
289945
|
290041
|
297469