From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RcHJF-0001u7-1Q for garchives@archives.gentoo.org; Sun, 18 Dec 2011 14:01:49 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C1EE921C223; Sun, 18 Dec 2011 14:01:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7C48C21C220 for ; Sun, 18 Dec 2011 14:01:36 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E04111B402C for ; Sun, 18 Dec 2011 14:01:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 5503E80042 for ; Sun, 18 Dec 2011 14:01:35 +0000 (UTC) From: "Christoph Mende" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christoph Mende" Message-ID: <29b502624fe84542dbf684deca4b2b834034aa72.angelos@gentoo> Subject: [gentoo-commits] dev/angelos:master commit in: media-sound/oss/ X-VCS-Repository: dev/angelos X-VCS-Files: media-sound/oss/Manifest media-sound/oss/oss-4.2.2005.ebuild X-VCS-Directories: media-sound/oss/ X-VCS-Committer: angelos X-VCS-Committer-Name: Christoph Mende X-VCS-Revision: 29b502624fe84542dbf684deca4b2b834034aa72 Date: Sun, 18 Dec 2011 14:01:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 9a3f722d-5130-4c53-91ef-bd58c11f590d X-Archives-Hash: 2e76a04601f66f2ab9fdd49d772ad77e commit: 29b502624fe84542dbf684deca4b2b834034aa72 Author: Christoph Mende gentoo org> AuthorDate: Sun Dec 18 13:38:43 2011 +0000 Commit: Christoph Mende gentoo org> CommitDate: Sun Dec 18 13:38:43 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Ddev/angelos.git;a=3D= commit;h=3D29b50262 oss: Version bump (Portage version: 2.2.0_alpha81/git/Linux x86_64, signed Manifest commit = with key 84F20B43) --- media-sound/oss/Manifest | 12 ++++ 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 4948e06fa2f42b7e9d727= 2a3f293c02693150bb5 SHA1 30eae3caaadadf17d50236d60e5692c25544900f SHA256 = 1dbe483d08ba25380791f9637b6c95235f71091fd1480580979d72ca4e9c2b6e AUX oss-4.2.2004-filesystem-layout.patch 6703 RMD160 fee44548032c6fd88dd= ff2a90e514b997918d797 SHA1 33aae9b12ca5cd0bd34beb105ed8ed77da2c207f SHA25= 6 552b5ffc08dfa8bda20d12febcfcf9e66919dec6fb4f21c88e64415b1488c81d AUX oss-4.2.2004-txt2man.patch 340 RMD160 9211cd9f851843f1354ee6a8eddfab= 2fe04e3409 SHA1 df56f9001f11a0cb3552c37212ba7732e9640f08 SHA256 66b3895c6= 8a58d419c004240fb915539c32e73f199fc36dcbfd9aa71f4dde28f AUX oss.conf 103 RMD160 aa2bb42cfd9137ab7cdf546267dca9dd1f3448dd SHA1 61= ff7da9e8d87680d71651beb93b16a7b0fbcd9e SHA256 d135e1b36855e9c6ef1c110150b= 91df16cc1fe31e08ebec8bdaa5bb7dc95699f AUX oss.init 344 RMD160 7a90f308376ed44f8f5074ff5febe93977eec862 SHA1 d1= b869f10343670fb2f93260c487533778da46ce SHA256 28f72cd8208211e41f2bfa60556= 157a45f2bc685ce6c13568be3f20b0f5466f5 DIST oss-v4.2-build2004-src-gpl.tar.bz2 1790085 RMD160 7b62cb96bf363d1c0= a4018e21b0737ec5ee3c5b5 SHA1 75c3ff1cf3e3bd5b351b1f778100387f998c7f3a SHA= 256 6a4ac364c6ed022467b23a9db137857afa9f8e9706a4bdbcb85b98efcde3f4a0 +DIST oss-v4.2-build2005-src-gpl.tar.bz2 1790056 RMD160 d70d85b407f66c8e8= 84996d9bbefc5a4e3f84f06 SHA1 7924d8893f3af94c5c73c651ae0a6d5073a94bae SHA= 256 41c493eda1c1b93787085f36f8e68630af6112523216f3664ca1da8b7ece9bca EBUILD oss-4.2.2004.ebuild 2636 RMD160 a6a43448701fe908dabb9bdf4311d700b= 1d3eb29 SHA1 69acf8f09decfaff64adcbc4ec0e26a764ee49e9 SHA256 c4838d3d1316= 610aeb135da5e595d281ebd281bb3c07a2ed53e233002dd84b5b +EBUILD oss-4.2.2005.ebuild 2666 RMD160 9a2fa218d4860498db2ee1fa118626d59= daf278e SHA1 83975cc1cdfa18931407c85f12adb03129ac6f25 SHA256 e124709ae11d= ba74904d2a9960bed45bdb3b543418821f027b18e28fefc7fbed MISC metadata.xml 205 RMD160 107c06020a486b352e3a1fe310af323a5764bc2a SH= A1 91c73725685fb8fb5a9630275f17ec106d2c3cfd SHA256 370b4bb14b4fa4b9e8d4eb= 74d51d653f12f1c7c3e210282a886ae871304f0769 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.18 (GNU/Linux) + +iF4EAREIAAYFAk7t7OIACgkQmWq1bYTyC0MWaQEAq6GBwRjaDem3zl0p4B/Tl2xr +xeIjdVkiP1HFrLYueEoA/2D4/u34CSJnoaNPxse2TuqIfgj50gM5u48qltx4AaT3 +=3DvIDy +-----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=3D4 +inherit eutils flag-o-matic toolchain-funcs versionator + +MY_PV=3D$(get_version_component_range 1-2) +BUILD=3D$(get_version_component_range 3) +MY_P=3D${PN}-v${MY_PV}-build${BUILD}-src-gpl + +DESCRIPTION=3D"Open Sound System - applications and man pages" +HOMEPAGE=3D"http://developer.opensound.com/" +SRC_URI=3D"http://www.4front-tech.com/developer/sources/stable/gpl/${MY_= P}.tar.bz2" + +LICENSE=3D"GPL-2" +SLOT=3D"0" +KEYWORDS=3D"~amd64 ~x86" +IUSE=3D"gtk salsa" + +RDEPEND=3D"media-sound/oss-driver + gtk? ( x11-libs/gtk+:2 )" +DEPEND=3D"${RDEPEND} + app-text/txt2man" + +S=3D${WORKDIR}/${MY_P} +BUILD_DIR=3D${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=3D3:GRC_MAX_QUALITY=3D6:" -i configure || die +} + +src_configure() { + cd "${BUILD_DIR}" + + local myconf=3D"" + + use salsa || myconf=3D"--enable-libsalsa=3DNO" + + HOSTCC=3D$(tc-getCC) \ + NO_WARNING_CHECKS=3D1 \ + "${S}"/configure \ + --config-midi=3DYES \ + ${myconf} || die +} + +src_compile() { + cd "${BUILD_DIR}" + + pushd lib + einfo "Building libraries" + emake CC=3D$(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=3D$(tc-getCC) + popd + + pushd os_cmd/Linux + einfo "Building ossdetect/ossvermagic" + emake CC=3D$(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=3D/etc/oss4 +OSSVARDIR=3D/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} +}