summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-12-13 15:23:46 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-12-13 15:23:46 +0000
commit4240a21b009d6c2f324af0477688fda19cdd47ab (patch)
tree1f56405c9d93059989205ce7bdb409a60ea728ff
parentUnmasking KDE 4.3, as the mask was never really needed anyway (not yet in pre... (diff)
downloadhistorical-4240a21b009d6c2f324af0477688fda19cdd47ab.tar.gz
historical-4240a21b009d6c2f324af0477688fda19cdd47ab.tar.bz2
historical-4240a21b009d6c2f324af0477688fda19cdd47ab.zip
Initial commit (media-libs/freealut replacement) wrt #296116, thanks to Azamat H. Hackimov.
Package-Manager: portage-2.2_rc58/cvs/Linux x86_64
-rw-r--r--media-libs/alure/ChangeLog11
-rw-r--r--media-libs/alure/Manifest6
-rw-r--r--media-libs/alure/alure-1.0.ebuild31
-rw-r--r--media-libs/alure/files/alure-1.0-gcc44.patch11
-rw-r--r--media-libs/alure/files/alure-1.0-multilib.patch21
-rw-r--r--media-libs/alure/metadata.xml5
6 files changed, 85 insertions, 0 deletions
diff --git a/media-libs/alure/ChangeLog b/media-libs/alure/ChangeLog
new file mode 100644
index 000000000000..8ab5b1a9ac42
--- /dev/null
+++ b/media-libs/alure/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-libs/alure
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/alure/ChangeLog,v 1.1 2009/12/13 15:23:46 ssuominen Exp $
+
+*alure-1.0 (13 Dec 2009)
+
+ 13 Dec 2009; Samuli Suominen <ssuominen@gentoo.org> +alure-1.0.ebuild,
+ +files/alure-1.0-gcc44.patch, +files/alure-1.0-multilib.patch:
+ Initial commit (media-libs/freealut replacement) wrt #296116, thanks to
+ Azamat H. Hackimov.
+
diff --git a/media-libs/alure/Manifest b/media-libs/alure/Manifest
new file mode 100644
index 000000000000..9b98019c511d
--- /dev/null
+++ b/media-libs/alure/Manifest
@@ -0,0 +1,6 @@
+AUX alure-1.0-gcc44.patch 303 RMD160 4fb5c82b5b4c4e82464ece546224c832ced2339b SHA1 d7537b08e6b8cad11db47119a63bb025564429c1 SHA256 922cbbe4d4f42f1233fb1ff35f113fa61cb7ec9573047548fb59831e6fd0d7da
+AUX alure-1.0-multilib.patch 682 RMD160 c6fb351320b4f66df0fd6b06fc2778a8cb2a9f5e SHA1 d4f9d76b1699025750fe4f73c451d80739f0830a SHA256 684bf8bff1ecda84de137c8b2fdb6aa18b1590eace51ea90dca0bfae3eaf6715
+DIST alure-1.0-src.tar.bz2 38891 RMD160 c288727a13daa3535442f64376f5efcfb0c877a6 SHA1 ec97ff5d418b8e1fd89b8c056b9ea22c98671b65 SHA256 9075d53299ba60e6aa9d1e662c8e453b8536d99151274aeb616f755842a65fa8
+EBUILD alure-1.0.ebuild 810 RMD160 bde9cf3eed234d7ae6b8f3eb1d4295daa310acea SHA1 f911235daa70d068aef24b6dcb099d6a839a4e3d SHA256 6645aa822509fdc99825605d29fc7a9037f8ee421d4d6c74d81922d93c9b02bb
+MISC ChangeLog 469 RMD160 266d891369a263784531d74e38f6cfed8223e307 SHA1 fafe6fa3111fb3e40a950916a545f2d06103f3b5 SHA256 de7fbbf6e6de004132a5d822e2cc201dbc81adc807215bec7c0a175e5db362b1
+MISC metadata.xml 160 RMD160 10be84fed28405abd22adc6689e87e5bb77e3501 SHA1 0c1bb16a7cc376ef35b87d8699ec9504718d36b9 SHA256 6bafe4a5c7b42309f124ebc2a9d78ebe5379aec4dcdc88c0bda2ab79c9851a6b
diff --git a/media-libs/alure/alure-1.0.ebuild b/media-libs/alure/alure-1.0.ebuild
new file mode 100644
index 000000000000..6ad5afe1051c
--- /dev/null
+++ b/media-libs/alure/alure-1.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/alure/alure-1.0.ebuild,v 1.1 2009/12/13 15:23:46 ssuominen Exp $
+
+EAPI=2
+inherit cmake-utils
+
+DESCRIPTION="The OpenAL Utility Toolkit"
+HOMEPAGE="http://kcat.strangesoft.net/alure.html"
+SRC_URI="http://kcat.strangesoft.net/alure-releases/${P}-src.tar.bz2"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="sndfile vorbis"
+
+DEPEND=">=media-libs/openal-1
+ sndfile? ( media-libs/libsndfile )
+ vorbis? ( media-libs/libvorbis )"
+
+PATCHES=( "${FILESDIR}/${P}-gcc44.patch"
+ "${FILESDIR}/${P}-multilib.patch" )
+
+src_configure() {
+ mycmakeargs="${mycmakeargs}
+ -DFLAC=OFF
+ $(cmake-utils_use sndfile)
+ $(cmake-utils_use vorbis)"
+
+ cmake-utils_src_configure
+}
diff --git a/media-libs/alure/files/alure-1.0-gcc44.patch b/media-libs/alure/files/alure-1.0-gcc44.patch
new file mode 100644
index 000000000000..671ad507d13c
--- /dev/null
+++ b/media-libs/alure/files/alure-1.0-gcc44.patch
@@ -0,0 +1,11 @@
+diff -ur alure-1.0.orig/src/stream.cpp alure-1.0/src/stream.cpp
+--- alure-1.0.orig/src/stream.cpp 2009-01-14 12:19:37.000000000 +0200
++++ alure-1.0/src/stream.cpp 2009-12-13 17:10:51.000000000 +0200
+@@ -4,6 +4,7 @@
+
+ #include "main.h"
+
++#include <stdio.h>
+ #include <string.h>
+
+ #include <algorithm>
diff --git a/media-libs/alure/files/alure-1.0-multilib.patch b/media-libs/alure/files/alure-1.0-multilib.patch
new file mode 100644
index 000000000000..30cfb3c9bb34
--- /dev/null
+++ b/media-libs/alure/files/alure-1.0-multilib.patch
@@ -0,0 +1,21 @@
+diff -ur alure-1.0.orig/CMakeLists.txt alure-1.0/CMakeLists.txt
+--- alure-1.0.orig/CMakeLists.txt 2009-01-16 10:29:52.000000000 +0200
++++ alure-1.0/CMakeLists.txt 2009-12-13 17:18:10.000000000 +0200
+@@ -27,7 +27,7 @@
+ SET(LIB_BUILD_VERSION "72")
+ SET(LIB_VERSION "${LIB_MAJOR_VERSION}.${LIB_MINOR_VERSION}.${LIB_BUILD_VERSION}")
+ IF(NOT DEFINED LIB_INSTALL_DIR)
+- SET(LIB_INSTALL_DIR "lib")
++ SET(LIB_INSTALL_DIR "lib${LIB_SUFFIX}")
+ ENDIF(NOT DEFINED LIB_INSTALL_DIR)
+
+
+@@ -323,7 +323,7 @@
+ DESTINATION "include/${INCPATH}"
+ )
+ INSTALL(FILES "${ALURE_BINARY_DIR}/alure.pc"
+- DESTINATION lib/pkgconfig
++ DESTINATION ${LIB_INSTALL_DIR}/pkgconfig
+ )
+
+
diff --git a/media-libs/alure/metadata.xml b/media-libs/alure/metadata.xml
new file mode 100644
index 000000000000..3bf6bcfeb512
--- /dev/null
+++ b/media-libs/alure/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sound</herd>
+</pkgmetadata>