summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Pielmeier <billie@gentoo.org>2010-12-14 19:12:40 +0000
committerDaniel Pielmeier <billie@gentoo.org>2010-12-14 19:12:40 +0000
commite715047a9d1c5c8e7d3353cf04888112733ff739 (patch)
treec168d6b8f7a558c33116e839d03865f817664170 /dev-libs/libburn
parentFix ChangeLog entry order. (diff)
downloadhistorical-e715047a9d1c5c8e7d3353cf04888112733ff739.tar.gz
historical-e715047a9d1c5c8e7d3353cf04888112733ff739.tar.bz2
historical-e715047a9d1c5c8e7d3353cf04888112733ff739.zip
Version bump. Remove old.
Package-Manager: portage-2.1.9.24/cvs/Linux i686
Diffstat (limited to 'dev-libs/libburn')
-rw-r--r--dev-libs/libburn/ChangeLog8
-rw-r--r--dev-libs/libburn/files/libburn-0.9.0-cflags.patch59
-rw-r--r--dev-libs/libburn/libburn-0.9.0.ebuild (renamed from dev-libs/libburn/libburn-0.8.8.ebuild)22
3 files changed, 81 insertions, 8 deletions
diff --git a/dev-libs/libburn/ChangeLog b/dev-libs/libburn/ChangeLog
index 698da2ff485b..73c38de9d643 100644
--- a/dev-libs/libburn/ChangeLog
+++ b/dev-libs/libburn/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libburn
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libburn/ChangeLog,v 1.86 2010/10/26 19:08:17 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libburn/ChangeLog,v 1.87 2010/12/14 19:06:19 billie Exp $
+
+*libburn-0.9.0 (14 Dec 2010)
+
+ 14 Dec 2010; Daniel Pielmeier <billie@gentoo.org> -libburn-0.8.8.ebuild,
+ +libburn-0.9.0.ebuild, +files/libburn-0.9.0-cflags.patch:
+ Version bump. Remove old.
26 Oct 2010; Jeroen Roovers <jer@gentoo.org> libburn-0.8.4.ebuild:
Stable for PPC (bug #331093).
diff --git a/dev-libs/libburn/files/libburn-0.9.0-cflags.patch b/dev-libs/libburn/files/libburn-0.9.0-cflags.patch
new file mode 100644
index 000000000000..92f8ed36966b
--- /dev/null
+++ b/dev-libs/libburn/files/libburn-0.9.0-cflags.patch
@@ -0,0 +1,59 @@
+--- configure.ac (Revision 3521)
++++ configure.ac (Arbeitskopie)
+@@ -187,7 +187,7 @@
+ AC_CHECK_FUNC([statvfs], X=, STATVFS_DEF=)
+ dnl If this would be done more specifically in Makefile.am
+ dnl via libburn_libburn_la_CFLAGS then undesired .o file names would emerge
+-CFLAGS="$CFLAGS $STATVFS_DEF"
++CFLAGS="$STATVFS_DEF $CFLAGS"
+
+ dnl ts A91122
+ AC_ARG_ENABLE(track-src-odirect,
+@@ -202,7 +202,7 @@
+ fi
+ dnl Avoid the need for libburn_libburn_la_CFLAGS in Makefile.am (ugly .o names)
+ dnl ### AC_SUBST(LIBBURN_O_DIRECT_DEF)
+-CFLAGS="$CFLAGS $LIBBURN_O_DIRECT_DEF"
++CFLAGS="$LIBBURN_O_DIRECT_DEF $CFLAGS"
+
+ dnl ts A91116
+ AC_ARG_ENABLE(dvd-obs-64k,
+@@ -215,7 +215,7 @@
+ LIBBURN_DVD_OBS_64K=
+ echo "disabled write size default 64 KB on DVD and BD"
+ fi
+-CFLAGS="$CFLAGS $LIBBURN_DVD_OBS_64K"
++CFLAGS="$LIBBURN_DVD_OBS_64K $CFLAGS"
+
+ dnl ts A91218
+ AC_ARG_ENABLE(libcdio,
+@@ -238,7 +238,7 @@
+ fi
+ else
+ echo "enabled EXPERIMENTAL use of libcdio as system adapter"
+- CFLAGS="$CFLAGS $LIBCDIO_DEF"
++ CFLAGS="$LIBCDIO_DEF $CFLAGS"
+
+ LIBCDIO_REQUIRED=0.83
+ PKG_CHECK_MODULES(LIBCDIO, libcdio >= $LIBCDIO_REQUIRED)
+@@ -286,15 +286,15 @@
+ , enable_debug=yes)
+ if test x$enable_debug != xyes; then
+ if test x$GCC = xyes; then
+- CFLAGS="$CFLAGS -O3"
+- CFLAGS="$CFLAGS -fexpensive-optimizations"
++ CFLAGS="-O3 $CFLAGS"
++ CFLAGS="-fexpensive-optimizations $CFLAGS"
+ fi
+- CFLAGS="$CFLAGS -DNDEBUG"
++ CFLAGS="-DNDEBUG $CFLAGS"
+ else
+ if test x$GCC = xyes; then
+- CFLAGS="$CFLAGS -g -pedantic -Wall"
++ CFLAGS="-g -pedantic -Wall $CFLAGS"
+ fi
+- CFLAGS="$CFLAGS -DDEBUG"
++ CFLAGS="-DDEBUG $CFLAGS"
+ fi
+
+ dnl Determine target directory for libburn-*.pc
diff --git a/dev-libs/libburn/libburn-0.8.8.ebuild b/dev-libs/libburn/libburn-0.9.0.ebuild
index 01639c82fe61..028afe595608 100644
--- a/dev-libs/libburn/libburn-0.8.8.ebuild
+++ b/dev-libs/libburn/libburn-0.9.0.ebuild
@@ -1,9 +1,11 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libburn/libburn-0.8.8.ebuild,v 1.1 2010/10/22 16:46:22 billie Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libburn/libburn-0.9.0.ebuild,v 1.1 2010/12/14 19:06:19 billie Exp $
EAPI=2
+inherit autotools eutils
+
MY_PL=00
[[ ${PV/_p} != ${PV} ]] && MY_PL=${PV#*_p}
MY_PV="${PV%_p*}.pl${MY_PL}"
@@ -15,8 +17,8 @@ SRC_URI="http://files.libburnia-project.org/releases/${PN}-${MY_PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
-IUSE="track-src-odirect"
-#IUSE="cdio track-src-odirect"
+IUSE="debug track-src-odirect"
+#IUSE="cdio debug track-src-odirect"
#Supports libcdio but needs version >=0.83 which is not yet released.
RDEPEND=""
@@ -25,12 +27,18 @@ DEPEND="dev-util/pkgconfig"
S=${WORKDIR}/${P%_p*}
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-cflags.patch
+ eautoreconf
+}
+
src_configure() {
- econf --disable-static \
- --enable-ldconfig-at-install \
- --disable-dvd-obs-64k \
+ econf --disable-dependency-tracking \
+ --disable-static \
+ $(use_enable track-src-odirect) \
--disable-libcdio \
- $(use_enable track-src-odirect)
+ --disable-ldconfig-at-install \
+ $(use_enable debug)
# $(use_enable cdio libcdio) \
}