From 7c2eaa55efa3ada3148d6f43cef04e08b3bd5c3d Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sun, 7 Jul 2013 22:34:43 +0200 Subject: [PATCH] libvorbis: New package. --- libvorbis/libvorbis.nm | 51 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 libvorbis/libvorbis.nm diff --git a/libvorbis/libvorbis.nm b/libvorbis/libvorbis.nm new file mode 100644 index 000000000..70287630d --- /dev/null +++ b/libvorbis/libvorbis.nm @@ -0,0 +1,51 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +name = libvorbis +version = 1.3.3 +release = 1 + +groups = System/Libraries +url = http://www.xiph.org/ +license = BSD +summary = The Vorbis General Audio Compression Codec. + +description + Ogg Vorbis is a fully open, non-proprietary, patent- and royalty-free, + general-purpose compressed audio format for audio and music at fixed + and variable bitrates. +end + +source_dl = http://downloads.xiph.org/releases/vorbis/ +sources = %{thisapp}.tar.xz + +build + requires + libogg-devel + end + + configure_options += \ + --disable-static + + prepare_cmds + # User our CFLAGS. + sed -i "s/-O20/%{CFLAGS}/" configure + + # Enable fast-math. + sed -i "s/-ffast-math//" configure + end +end + +packages + package %{name} + + package %{name}-devel + template DEVEL + end + + package %{name}-debuginfo + template DEBUGINFO + end +end -- 2.47.3