diff options
author | Christoph Mende <angelos@gentoo.org> | 2011-12-18 13:38:43 +0000 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2011-12-18 13:38:43 +0000 |
commit | 29b502624fe84542dbf684deca4b2b834034aa72 (patch) | |
tree | 37bf10bb186b3b93b29d6eb0563009226eee8894 /media-sound | |
parent | oss-driver: Version bump (diff) | |
download | angelos-29b502624fe84542dbf684deca4b2b834034aa72.tar.gz angelos-29b502624fe84542dbf684deca4b2b834034aa72.tar.bz2 angelos-29b502624fe84542dbf684deca4b2b834034aa72.zip |
oss: Version bump
(Portage version: 2.2.0_alpha81/git/Linux x86_64, signed Manifest commit with key 84F20B43)
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/oss/Manifest | 12 | ||||
-rw-r--r-- | media-sound/oss/oss-4.2.2005.ebuild | 120 |
2 files changed, 132 insertions, 0 deletions
diff --git a/media-sound/oss/Manifest b/media-sound/oss/Manifest index c8e33ae..81a7722 100644 --- a/media-sound/oss/Manifest +++ b/media-sound/oss/Manifest @@ -1,8 +1,20 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX oss-4.2.2004-as-needed-strip.patch 2597 RMD160 4948e06fa2f42b7e9d7272a3f293c02693150bb5 SHA1 30eae3caaadadf17d50236d60e5692c25544900f SHA256 1dbe483d08ba25380791f9637b6c95235f71091fd1480580979d72ca4e9c2b6e AUX oss-4.2.2004-filesystem-layout.patch 6703 RMD160 fee44548032c6fd88ddff2a90e514b997918d797 SHA1 33aae9b12ca5cd0bd34beb105ed8ed77da2c207f SHA256 552b5ffc08dfa8bda20d12febcfcf9e66919dec6fb4f21c88e64415b1488c81d AUX oss-4.2.2004-txt2man.patch 340 RMD160 9211cd9f851843f1354ee6a8eddfab2fe04e3409 SHA1 df56f9001f11a0cb3552c37212ba7732e9640f08 SHA256 66b3895c68a58d419c004240fb915539c32e73f199fc36dcbfd9aa71f4dde28f AUX oss.conf 103 RMD160 aa2bb42cfd9137ab7cdf546267dca9dd1f3448dd SHA1 61ff7da9e8d87680d71651beb93b16a7b0fbcd9e SHA256 d135e1b36855e9c6ef1c110150b91df16cc1fe31e08ebec8bdaa5bb7dc95699f AUX oss.init 344 RMD160 7a90f308376ed44f8f5074ff5febe93977eec862 SHA1 d1b869f10343670fb2f93260c487533778da46ce SHA256 28f72cd8208211e41f2bfa60556157a45f2bc685ce6c13568be3f20b0f5466f5 DIST oss-v4.2-build2004-src-gpl.tar.bz2 1790085 RMD160 7b62cb96bf363d1c0a4018e21b0737ec5ee3c5b5 SHA1 75c3ff1cf3e3bd5b351b1f778100387f998c7f3a SHA256 6a4ac364c6ed022467b23a9db137857afa9f8e9706a4bdbcb85b98efcde3f4a0 +DIST oss-v4.2-build2005-src-gpl.tar.bz2 1790056 RMD160 d70d85b407f66c8e884996d9bbefc5a4e3f84f06 SHA1 7924d8893f3af94c5c73c651ae0a6d5073a94bae SHA256 41c493eda1c1b93787085f36f8e68630af6112523216f3664ca1da8b7ece9bca EBUILD oss-4.2.2004.ebuild 2636 RMD160 a6a43448701fe908dabb9bdf4311d700b1d3eb29 SHA1 69acf8f09decfaff64adcbc4ec0e26a764ee49e9 SHA256 c4838d3d1316610aeb135da5e595d281ebd281bb3c07a2ed53e233002dd84b5b +EBUILD oss-4.2.2005.ebuild 2666 RMD160 9a2fa218d4860498db2ee1fa118626d59daf278e SHA1 83975cc1cdfa18931407c85f12adb03129ac6f25 SHA256 e124709ae11dba74904d2a9960bed45bdb3b543418821f027b18e28fefc7fbed MISC metadata.xml 205 RMD160 107c06020a486b352e3a1fe310af323a5764bc2a SHA1 91c73725685fb8fb5a9630275f17ec106d2c3cfd SHA256 370b4bb14b4fa4b9e8d4eb74d51d653f12f1c7c3e210282a886ae871304f0769 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.18 (GNU/Linux) + +iF4EAREIAAYFAk7t7OIACgkQmWq1bYTyC0MWaQEAq6GBwRjaDem3zl0p4B/Tl2xr +xeIjdVkiP1HFrLYueEoA/2D4/u34CSJnoaNPxse2TuqIfgj50gM5u48qltx4AaT3 +=vIDy +-----END PGP SIGNATURE----- diff --git a/media-sound/oss/oss-4.2.2005.ebuild b/media-sound/oss/oss-4.2.2005.ebuild new file mode 100644 index 0000000..9a05294 --- /dev/null +++ b/media-sound/oss/oss-4.2.2005.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 +inherit eutils flag-o-matic toolchain-funcs versionator + +MY_PV=$(get_version_component_range 1-2) +BUILD=$(get_version_component_range 3) +MY_P=${PN}-v${MY_PV}-build${BUILD}-src-gpl + +DESCRIPTION="Open Sound System - applications and man pages" +HOMEPAGE="http://developer.opensound.com/" +SRC_URI="http://www.4front-tech.com/developer/sources/stable/gpl/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gtk salsa" + +RDEPEND="media-sound/oss-driver + gtk? ( x11-libs/gtk+:2 )" +DEPEND="${RDEPEND} + app-text/txt2man" + +S=${WORKDIR}/${MY_P} +BUILD_DIR=${WORKDIR}/${PN}-build + +### TODO ### +# - fix linking order for --as-needed +# - fix man pages (savemixer installed twice) + +src_prepare() { + # the build system forces shadow builds + mkdir "${BUILD_DIR}" + epatch "${FILESDIR}"/${PN}-4.2.2004-filesystem-layout.patch \ + "${FILESDIR}"/${PN}-4.2.2004-txt2man.patch \ + "${FILESDIR}"/${PN}-4.2.2004-as-needed-strip.patch + sed -e "s:GRC_MAX_QUALITY=3:GRC_MAX_QUALITY=6:" -i configure || die +} + +src_configure() { + cd "${BUILD_DIR}" + + local myconf="" + + use salsa || myconf="--enable-libsalsa=NO" + + HOSTCC=$(tc-getCC) \ + NO_WARNING_CHECKS=1 \ + "${S}"/configure \ + --config-midi=YES \ + ${myconf} || die +} + +src_compile() { + cd "${BUILD_DIR}" + + pushd lib + einfo "Building libraries" + emake CC=$(tc-getCC) + popd + + pushd cmd + if ! use gtk; then + # remove ossxmix from SUBDIRS + sed -e "s:ossxmix::" -i Makefile + fi + + einfo "Building applications" + emake CC=$(tc-getCC) + popd + + pushd os_cmd/Linux + einfo "Building ossdetect/ossvermagic" + emake CC=$(tc-getCC) + popd +} + +src_install() { + cd "${BUILD_DIR}" + use salsa && dolib lib/libsalsa/.libs/libsalsa.so* + + dolib lib/libOSSlib/libOSSlib.so + + # linux-headers ships OSS3 API + #insinto /usr/include/linux + #doins include/soundcard.h + + # install man pages + use gtk || rm cmd/ossxmix/ossxmix.man + rename man 1 cmd/*/*.man + doman cmd/*/*.1 + rename .man .7 misc/man7/*.man + doman misc/man7/*.7 + rename man 7 kernel/drv/*/*.man + doman kernel/drv/*/*.7 + newman os_cmd/Linux/ossdetect/ossdetect.man ossdetect.8 + newman noregparm/cmd/ossdevlinks/ossdevlinks.man ossdevlinks.8 + newman noregparm/cmd/savemixer/savemixer.man savemixer.8 + newman noregparm/cmd/vmixctl/vmixctl.man vmixctl.8 + + insinto /etc/oss4 + doins devices.list + newins .version version.dat + cat > "${ED}"/etc/oss.conf << EOF +OSSETCDIR=/etc/oss4 +OSSVARDIR=/var/lib/oss4 +EOF + + cd "target" + dosbin sbin/* + dobin bin/* + dolib lib/* + + dodir /var/lib/oss4 + + newinitd "${FILESDIR}"/${PN}.init ${PN} + newconfd "${FILESDIR}"/${PN}.conf ${PN} +} |