diff options
| author | Rod Whitby <rod@whitby.id.au> | 2007-03-21 22:51:43 +0000 |
|---|---|---|
| committer | Rod Whitby <rod@whitby.id.au> | 2007-03-21 22:51:43 +0000 |
| commit | 7b7f22fc77f935d6f3f72f48ef521c20119227fe (patch) | |
| tree | 14ed027b23eddfab62d7a08415e65b28d1d4d06f | |
| parent | cd20b6b75513e190a93a40bdbf646eb3c760aedd (diff) | |
| parent | df30e95c8af93e2fafac7cc7bca7ef0f4c27e035 (diff) | |
merge of '0927821eeda6b9984fe915a180f51d49aba58e46'
and '8ee01e7aef977a6c51cf71b7d11f65f42e0dc413'
18 files changed, 290 insertions, 47 deletions
diff --git a/conf/distro/angstrom-2007.1.conf b/conf/distro/angstrom-2007.1.conf index e4951dbf2b..097b1c9b0d 100644 --- a/conf/distro/angstrom-2007.1.conf +++ b/conf/distro/angstrom-2007.1.conf @@ -123,7 +123,7 @@ PREFERRED_PROVIDER_xserver ?= "xserver-kdrive" require conf/distro/include/preferred-xorg-versions-X11R7.1.inc PREFERRED_VERSION_xserver-kdrive = "X11R7.1-1.1.0" -PREFERRED_VERSION_gtk+ = "2.10.9" +PREFERRED_VERSION_gtk+ = "2.10.10" #zap extra stuff taking place in $MACHINE.conf GPE_EXTRA_INSTALL = "" diff --git a/packages/apt/apt_0.6.46.2.bb b/packages/apt/apt_0.6.46.2.bb index 1cd8eb270e..73285f37c3 100644 --- a/packages/apt/apt_0.6.46.2.bb +++ b/packages/apt/apt_0.6.46.2.bb @@ -1,7 +1,6 @@ require apt.inc -SRC_URI += "file://autofoo.patch;patch=1 \ - file://nodoc.patch;patch=1" +SRC_URI += "file://nodoc.patch;patch=1" require apt-package.inc diff --git a/packages/apt/files/apt.conf b/packages/apt/files/apt.conf index fc19018533..6fd653dfcd 100644 --- a/packages/apt/files/apt.conf +++ b/packages/apt/files/apt.conf @@ -21,6 +21,10 @@ Dir "${STAGING_DIR}/" apt-get "apt-get"; apt-cache "apt-cache"; }; + Etc "etc/apt/" + { + Preferences "preferences"; + }; }; APT diff --git a/packages/gnome/libgnomeui_2.16.1.bb b/packages/gnome/libgnomeui_2.16.1.bb index 8f3e0a725c..a6700434c3 100644 --- a/packages/gnome/libgnomeui_2.16.1.bb +++ b/packages/gnome/libgnomeui_2.16.1.bb @@ -4,6 +4,8 @@ PR = "r0" DEPENDS = "libgnome libgnomecanvas libbonoboui gnome-keyring" DESCRIPTION = "GNOME User Interface Library" +DEFAULT_PREFERENCE = "-1" + FILES_${PN} += "${libdir}/gtk-2.0/*/filesystems/lib*.so \ ${libdir}/libglade/*/lib*.so" diff --git a/packages/monotone/monotone-6_0.33.bb b/packages/monotone/monotone-6_0.33.bb index 47e58a48c6..64b1d1699e 100644 --- a/packages/monotone/monotone-6_0.33.bb +++ b/packages/monotone/monotone-6_0.33.bb @@ -25,7 +25,7 @@ inherit autotools #FIXME: remove the following ARM_INSTRUCTION_SET = "arm" -PR = "r0" +PR = "r1" SRC_URI = "http://monotone.ca/downloads/${PV}/monotone-${PV}.tar.gz \ file://txt2c-cross-post-0.22.patch;patch=1 \ @@ -42,7 +42,7 @@ do_install_append() { install -d ${D}${tsd} install -c -m 755 testsuite ${D}${tsd}/testsuite cp -pPR tests ${D}${tsd}/tests - rm ${D}/home/monotone/monotone-6/tests/tests/diff_a_binary_file/binary + rm ${D}/home/monotone/monotone-6/tests/diff_a_binary_file/binary } PACKAGES = "${PN} ${PN}-doc ${PN}-testsuite" diff --git a/packages/mysql/mysql-native_4.1.18.bb b/packages/mysql/mysql-native_4.1.18.bb index dc87549e24..9a81bc8f00 100644 --- a/packages/mysql/mysql-native_4.1.18.bb +++ b/packages/mysql/mysql-native_4.1.18.bb @@ -1,6 +1,7 @@ SECTION = "console/network" require mysql_${PV}.bb inherit native +PR="r3" RDEPENDS_${PN} = "" @@ -9,7 +10,7 @@ DEPENDS = "ncurses-native" EXTRA_OEMAKE = "" EXTRA_OECONF = " --with-embedded-server " -do_stage() { +do_stage_append() { install -m 0755 sql/gen_lex_hash ${STAGING_BINDIR}/ } diff --git a/packages/openpbx/openpbx.org-1.2-rc3/.mtn2git_empty b/packages/openpbx/openpbx.org-1.2_rc3/.mtn2git_empty index e69de29bb2..e69de29bb2 100644 --- a/packages/openpbx/openpbx.org-1.2-rc3/.mtn2git_empty +++ b/packages/openpbx/openpbx.org-1.2_rc3/.mtn2git_empty diff --git a/packages/openpbx/openpbx.org-1.2-rc3/bootstrap.patch b/packages/openpbx/openpbx.org-1.2_rc3/bootstrap.patch index 7f89772efa..7f89772efa 100644 --- a/packages/openpbx/openpbx.org-1.2-rc3/bootstrap.patch +++ b/packages/openpbx/openpbx.org-1.2_rc3/bootstrap.patch diff --git a/packages/openpbx/openpbx.org-1.2-rc3/openssl.m4.patch b/packages/openpbx/openpbx.org-1.2_rc3/openssl.m4.patch index 55d0d33832..55d0d33832 100644 --- a/packages/openpbx/openpbx.org-1.2-rc3/openssl.m4.patch +++ b/packages/openpbx/openpbx.org-1.2_rc3/openssl.m4.patch diff --git a/packages/openpbx/openpbx.org-perl.bb b/packages/openpbx/openpbx.org-perl.bb new file mode 100644 index 0000000000..124dfcfc8b --- /dev/null +++ b/packages/openpbx/openpbx.org-perl.bb @@ -0,0 +1,24 @@ +DESCRIPTION = "Openpbx::OGI Perl Gateway Interface Module" +HOMEPAGE = "http://www.openpbx.org" +SECTION = "libs" +LICENSE = "GPL" +DEPENDS = "install-native" +RDEPENDS = "perl openpbx.org-ogi" +PR = "r0" + +OPBXV = "openpbx.org-1.2_rc3" + +SRC_URI = "http://www.openpbx.org/releases/${OPBXV}.tar.gz" + +S = "${WORKDIR}/${OPBXV}/contrib/ogi-perl/openpbx-perl-${PV}" + +inherit cpan + +do_install_append () { + install -d ${D}${datadir}/openpbx.org/ogi/perl + install ${S}/examples/* ${D}${datadir}/openpbx.org/ogi/perl +} + +PACKAGES =+ "${PN}-examples" + +FILES_${PN}-examples = "${datadir}/openpbx.org/ogi/perl" diff --git a/packages/openpbx/openpbx.org_1.2_rc3.bb b/packages/openpbx/openpbx.org_1.2_rc3.bb index 64778d0f7c..76c1f0c7bd 100644 --- a/packages/openpbx/openpbx.org_1.2_rc3.bb +++ b/packages/openpbx/openpbx.org_1.2_rc3.bb @@ -3,14 +3,16 @@ HOMEPAGE = "http://www.openpbx.org" #RDEPENDS = "ssmtp" SECTION = "voip" LICENSE = "GPL" -DEPENDS = "openssl zlib tiff libcap spandsp speex readline js" +DEPENDS = "openssl zlib tiff libcap spandsp speex readline js \ + sox-native findutils-native" DEPENDS_${PN}-ldap = "openldap" RRECOMMENDS = "logrotate" -RRECOMMENDS_${PN}-ogi = "perl perl-module-strict" +RRECOMMENDS_${PN}-ogi = "perl perl-module-strict openpbx.org-perl" PV = "1.2_rc3" -PR = "r0" +PR = "r1" SRC_URI = "http://www.openpbx.org/releases/${P}.tar.gz \ + svn://svn.openpbx.org/openpbx-sounds/trunk/sounds/en_US;module=MelanieTaylor;proto=svn \ file://bootstrap.patch;patch=1 \ file://openssl.m4.patch;patch=1 \ file://logrotate \ @@ -45,17 +47,34 @@ do_install_append() { install -c -D -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/openpbx install -c -D -m 644 ${WORKDIR}/logrotate ${D}${sysconfdir}/logrotate.d/openpbx install -c -D -m 644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/openpbx + # And now for sounds... + for file in `find ${WORKDIR}/MelanieTaylor -name \*.wav`; do + echo $file + sox -V $file -t raw -s -r 8000 -c 1 -w `echo $file|sed -e s/\.wav$/.sln/` resample -ql; + sox -V $file -t raw -U -r 8000 -c 1 -b `echo $file|sed -e s/\.wav$/.ulaw/` resample -ql; + sox -V $file -t raw -A -r 8000 -c 1 -b `echo $file|sed -e s/\.wav$/.alaw/` resample -ql; + sox -V $file -t gsm -r 8000 -c 1 -b `echo $file|sed -e s/\.wav$/.gsm/` resample -ql; + relfile=`echo $file|sed -e s:^${WORKDIR}/MelanieTaylor/::` + relfile2=`echo $relfile|sed -e s:\.wav$::` + install -c -D -m 644 ${WORKDIR}/MelanieTaylor/$relfile2.sln ${D}${datadir}/openpbx.org/sounds/$relfile2.sln + install -c -D -m 644 ${WORKDIR}/MelanieTaylor/$relfile2.ulaw ${D}${datadir}/openpbx.org/sounds/$relfile2.ulaw + install -c -D -m 644 ${WORKDIR}/MelanieTaylor/$relfile2.alaw ${D}${datadir}/openpbx.org/sounds/$relfile2.alaw + install -c -D -m 644 ${WORKDIR}/MelanieTaylor/$relfile2.gsm ${D}${datadir}/openpbx.org/sounds/$relfile2.gsm + done } -PACKAGES =+ "${PN}-fax ${PN}-ogi ${PN}-musiconhold ${PN}-ldap" +PACKAGES = "${PN}-sounds ${PN}-fax ${PN}-ogi ${PN}-ldap ${PN}-doc ${PN}-dev ${PN}" -FILES_${PN}-fax = "${libdir}/openpbx.org/modules/chan_fax.* \ - ${libdir}/openpbx.org/modules/app_rxfax.* \ - ${libdir}/openpbx.org/modules/app_txfax.* \ +FILES_${PN}-sounds = "${datadir}/openpbx.org/sounds/*" +FILES_${PN}-dev = "${libdir}/openpbx.org/modules/*.la \ + ${libdir}/openpbx.org/*.la \ + ${includedir}/openpbx/*" +FILES_${PN}-fax = "${libdir}/openpbx.org/modules/chan_fax.so \ + ${libdir}/openpbx.org/modules/app_rxfax.so \ + ${libdir}/openpbx.org/modules/app_txfax.so \ + ${libdir}/openpbx.org/modules/app_faxdetect.so \ ${sysconfdir}/openpbx.org/chan_fax.conf" -FILES_${PN}-musiconhold = "${libdir}/openpbx.org/modules/res_musiconhold.* \ - ${sysconfdir}/openpbx.org/musiconhold.conf" -FILES_${PN}-ogi = "${libdir}/openpbx.org/modules/res_ogi.* \ +FILES_${PN}-ogi = "${libdir}/openpbx.org/modules/res_ogi.so \ ${datadir}/openpbx.org/ogi/*" FILES_${PN}-ldap = "${libdir}/openpbx.org/modules/app_ldap.*" @@ -67,7 +86,7 @@ pkg_postinst_prepend() { } CONFFILES_${PN}-fax += "${sysconfdir}/openpbx.org/chan_fax.conf" -CONFFILES_${PN}-musiconhold += "${sysconfdir}/openpbx.org/musiconhold.conf" +CONFFILES_${PN} += "${sysconfdir}/openpbx.org/musiconhold.conf" CONFFILES_${PN} += "${sysconfdir}/openpbx.org/adsi.conf" CONFFILES_${PN} += "${sysconfdir}/openpbx.org/adtranvofr.conf" CONFFILES_${PN} += "${sysconfdir}/openpbx.org/agents.conf" diff --git a/packages/prismstumbler/prismstumbler-0.7.3/crosscompile.patch b/packages/prismstumbler/prismstumbler-0.7.3/crosscompile.patch new file mode 100644 index 0000000000..63e9f677a5 --- /dev/null +++ b/packages/prismstumbler/prismstumbler-0.7.3/crosscompile.patch @@ -0,0 +1,166 @@ +Index: prismstumbler-0.7.3/src/gpsd/Makefile.in +=================================================================== +--- prismstumbler-0.7.3.orig/src/gpsd/Makefile.in ++++ prismstumbler-0.7.3/src/gpsd/Makefile.in +@@ -128,8 +128,8 @@ xgpsspeed: $(XGPSOBJS) + $(LINK.c) -o $@ $(XGPSOBJS) -L. -lgpsd $(LIBXAW) $(ALL_X_LIBS) $(LIBS) + + libgpsd.a: $(LIB_OBJECTS) +- ar -r libgpsd.a $(LIB_OBJECTS) +- ranlib libgpsd.a ++ $(AR) -r libgpsd.a $(LIB_OBJECTS) ++ $(RANLIB) libgpsd.a + + clean: + rm -f *.o *.a gpsd gps *~ config.status +Index: prismstumbler-0.7.3/src/gpsd/Makefile +=================================================================== +--- prismstumbler-0.7.3.orig/src/gpsd/Makefile ++++ prismstumbler-0.7.3/src/gpsd/Makefile +@@ -1,4 +1,3 @@ +-# Generated automatically from Makefile.in by configure. + # Makefile.in + # $Modified: Thu Jan 22 11:55:32 1998 by brook $ + +@@ -7,10 +6,10 @@ + + # What we use to compile C files. + # CC = cc +-CC = gcc ++CC = ccache arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=xscale + + # The flags we use to compile C files. +-CFLAGS = -g -O2 ++CFLAGS = -I/home/papercrane/oe/angstrom.build/tmp/work/armv5te-angstrom-linux-gnueabi/prismstumbler-0.7.3-r5/prismstumbler-0.7.3/include -D_GNU_SOURCE -isystem/home/papercrane/oe/angstrom.build/tmp/staging/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os + + + ## The C preprocessor. +@@ -19,7 +18,7 @@ CFLAGS = -g -O2 + CPP = @CPP_TRADITIONAL@ + + # Flags passed to the C preprocessor. () +-CPPFLAGS = ++CPPFLAGS = -isystem/home/papercrane/oe/angstrom.build/tmp/staging/arm-angstrom-linux-gnueabi/include + + # Definitions to be passed to the C preprocessor. (-DHAVE_CONFIG_H) + DEFS = -DHAVE_CONFIG_H +@@ -28,10 +27,10 @@ DEFS = -DHAVE_CONFIG_H + ## The Linker. + + # Flags passed to the linker. (-g -O) +-LDFLAGS = ++LDFLAGS = -L/home/papercrane/oe/angstrom.build/tmp/staging/arm-angstrom-linux-gnueabi/lib -Wl,-rpath-link,/home/papercrane/oe/angstrom.build/tmp/staging/arm-angstrom-linux-gnueabi/lib -Wl,-O1 + + # Use this for building statically linked executables with GCC. +-# LDFLAGS = -static ++# LDFLAGS = -static -L/home/papercrane/oe/angstrom.build/tmp/staging/arm-angstrom-linux-gnueabi/lib -Wl,-rpath-link,/home/papercrane/oe/angstrom.build/tmp/staging/arm-angstrom-linux-gnueabi/lib -Wl,-O1 + + + ## Local libraries +@@ -52,7 +51,7 @@ NETLIBS = $(LIBNSL) $(LIBSOCKET) + ## X Libraries + + # Special flags for linking with X. (-L/usr/X11R5/lib) +-X_LDFLAGS = -L/usr/X11R6/lib ++X_LDFLAGS = -L/usr/lib -L/home/papercrane/oe/angstrom.build/tmp/staging/arm-angstrom-linux-gnueabi/lib + + # Motif library. (-lXm) + LIBXM = +@@ -62,10 +61,10 @@ LIBXM = + # LIBXM = -Wl,-Bstatic -Wl,-Bdynamic + + # X extension library; needed for Athena and Motif >= 2.0. (-lXext) +-LIBXEXT = -lXext ++LIBXEXT = + + # Xpm library; needed for DDD and sometimes for Motif >= 2.0. (-lXpm) +-LIBXPM = -lXpm ++LIBXPM = + + # Xp library; sometimes needed for Motif >= 2.1. (-lXp) + LIBXP = +@@ -74,13 +73,13 @@ LIBXP = + LIBGEN = + + # X toolkit library. (-lXt) +-LIBXT = -lXt ++LIBXT = + + # Xaw library. (-lXaw) +-LIBXAW = -lXaw ++LIBXAW = + + # X library. (-lSM -lICE -lX11 -lnsl -lsocket) +-LIBX11 = -lSM -lICE -lX11 ++LIBX11 = -lSM -lICE + + # All libraries shown above + ALL_X_LIBS = $(X_LDFLAGS) $(LIBXM) $(LIBXP) $(LIBXPM) $(LIBXEXT) \ +@@ -94,7 +93,7 @@ COMPILE_AND_LINK.c = \ + $(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) $(LDFLAGS) + + ## Where to look for X include files. (-I/usr/X11R5/include) +-X_INCLUDE = -I/usr/X11R6/include ++X_INCLUDE = -I/usr/include -I/home/papercrane/oe/angstrom.build/tmp/staging/arm-angstrom-linux-gnueabi/include/X11 + + ## Where to look for include files. + INCLUDE = -I. $(X_INCLUDE) +@@ -129,8 +128,8 @@ xgpsspeed: $(XGPSOBJS) + $(LINK.c) -o $@ $(XGPSOBJS) -L. -lgpsd $(LIBXAW) $(ALL_X_LIBS) $(LIBS) + + libgpsd.a: $(LIB_OBJECTS) +- ar -r libgpsd.a $(LIB_OBJECTS) +- ranlib libgpsd.a ++ $(AR) -r libgpsd.a $(LIB_OBJECTS) ++ $(RANLIB) libgpsd.a + + clean: + rm -f *.o *.a gpsd gps *~ config.status +Index: prismstumbler-0.7.3/src/gpsd/Makefile.arm +=================================================================== +--- prismstumbler-0.7.3.orig/src/gpsd/Makefile.arm ++++ prismstumbler-0.7.3/src/gpsd/Makefile.arm +@@ -94,7 +94,7 @@ COMPILE_AND_LINK.c = \ + $(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) $(LDFLAGS) + + ## Where to look for X include files. (-I/usr/X11R5/include) +-X_INCLUDE = -I/skiff/local/arm-linux/include/X11 ++X_INCLUDE = @X_CFLAGS@ + + ## Where to look for include files. + INCLUDE = -I. $(X_INCLUDE) +@@ -129,8 +129,8 @@ xgpsspeed: $(XGPSOBJS) + $(LINK.c) -o $@ $(XGPSOBJS) -L. -lgpsd $(LIBXAW) $(ALL_X_LIBS) $(LIBS) + + libgpsd.a: $(LIB_OBJECTS) +- ar -r libgpsd.a $(LIB_OBJECTS) +- ranlib libgpsd.a ++ $(AR) -r libgpsd.a $(LIB_OBJECTS) ++ $(RANLIB) libgpsd.a + + clean: + rm -f *.o *.a gpsd gps *~ config.status +Index: prismstumbler-0.7.3/src/gpsd/Makefile.i386 +=================================================================== +--- prismstumbler-0.7.3.orig/src/gpsd/Makefile.i386 ++++ prismstumbler-0.7.3/src/gpsd/Makefile.i386 +@@ -94,7 +94,7 @@ COMPILE_AND_LINK.c = \ + $(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) $(LDFLAGS) + + ## Where to look for X include files. (-I/usr/X11R5/include) +-X_INCLUDE = -I/usr/X11R6/include ++X_INCLUDE = @X_CFLAGS@ + + ## Where to look for include files. + INCLUDE = -I. $(X_INCLUDE) +@@ -129,8 +129,8 @@ xgpsspeed: $(XGPSOBJS) + $(LINK.c) -o $@ $(XGPSOBJS) -L. -lgpsd $(LIBXAW) $(ALL_X_LIBS) $(LIBS) + + libgpsd.a: $(LIB_OBJECTS) +- ar -r libgpsd.a $(LIB_OBJECTS) +- ranlib libgpsd.a ++ $(AR) -r libgpsd.a $(LIB_OBJECTS) ++ $(RANLIB) libgpsd.a + + clean: + rm -f *.o *.a gpsd gps *~ config.status diff --git a/packages/prismstumbler/prismstumbler-0.7.3/fix-includes.patch b/packages/prismstumbler/prismstumbler-0.7.3/fix-includes.patch deleted file mode 100644 index 9aef61e9d3..0000000000 --- a/packages/prismstumbler/prismstumbler-0.7.3/fix-includes.patch +++ /dev/null @@ -1,26 +0,0 @@ - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- prismstumbler-0.7.3/src/gpsd/Makefile.in~fix-includes -+++ prismstumbler-0.7.3/src/gpsd/Makefile.in -@@ -92,18 +92,6 @@ - COMPILE_AND_LINK.c = \ - $(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) $(LDFLAGS) - --## Where to look for X include files. (-I/usr/X11R5/include) --X_INCLUDE = @X_CFLAGS@ -- --## Where to look for include files. --INCLUDE = -I. $(X_INCLUDE) -- --## Implicit rules. --.SUFFIXES: .c --.c.o: -- $(COMPILE.c) $(INCLUDE) -o $@ $< -- -- - ## Libraries and object files - LIB_OBJECTS = netlib.o nmea_parse.o serial.o tm.o em.o $(MOTIF_OBJECTS) - diff --git a/packages/prismstumbler/prismstumbler_0.7.3.bb b/packages/prismstumbler/prismstumbler_0.7.3.bb index 8699e5668b..bf38d10ca1 100644 --- a/packages/prismstumbler/prismstumbler_0.7.3.bb +++ b/packages/prismstumbler/prismstumbler_0.7.3.bb @@ -1,5 +1,5 @@ SECTION = "x11/network" -PR = "r4" +PR = "r5" PACKAGES = "prismstumbler prismstumbler-frontend prismstumbler-doc" DESCRIPTION = "Prismstumbler wireless LAN scanner" @@ -9,12 +9,18 @@ RDEPENDS = "wireless-tools" SRC_URI = "${SOURCEFORGE_MIRROR}/prismstumbler/${PN}-${PV}.tar.bz2 \ file://bogoconf.patch;patch=1 \ - file://fix-includes.patch;patch=1 \ + file://crosscompile.patch;patch=1 \ file://libz.patch;patch=1;pnum=0" inherit autotools pkgconfig -EXTRA_OECONF = "--with-libpcap=${STAGING_DIR}/${HOST_SYS} --with-sqlite-libs=${STAGING_LIBDIR} --with-sqlite-includes=${STAGING_INCDIR}" +EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \ + --x-libraries=${STAGING_LIBDIR} \ + --with-libpcap=${STAGING_DIR}/${HOST_SYS} \ + --with-sqlite-includes=${STAGING_INCDIR} \ + --with-sqlite-libs=${STAGING_LIBDIR} \ + --without-athena" + CFLAGS =+ "-I${S}/include -D_GNU_SOURCE" FILES_${PN} = "${bindir}/prismstumbler" diff --git a/packages/sox/sox-native_13.0.0.bb b/packages/sox/sox-native_13.0.0.bb new file mode 100644 index 0000000000..9b4dd29433 --- /dev/null +++ b/packages/sox/sox-native_13.0.0.bb @@ -0,0 +1,19 @@ +include sox_${PV}.bb + +S = "${WORKDIR}/sox-${PV}" + +inherit native + +do_patch() { + true +} + +do_stage() { + make bindir="${STAGING_BINDIR}" libdir="${STAGING_LIBDIR}" mandir="${STAGING_DIR}/${HOST_SYS}/man" includedir="${STAGING_INCDIR}" install + rm ${STAGING_BINDIR}/rec + ln -s ${STAGING_BINDIR}/play ${STAGING_BINDIR}/rec +} + +do_install() { + true +} diff --git a/packages/sox/sox/src-Makefile.am.patch b/packages/sox/sox/src-Makefile.am.patch new file mode 100644 index 0000000000..b5ffd398ae --- /dev/null +++ b/packages/sox/sox/src-Makefile.am.patch @@ -0,0 +1,11 @@ +--- sox-13.0.0.old/src/Makefile.am 2007-03-18 22:19:52.296535098 -0400 ++++ sox-13.0.0/src/Makefile.am 2007-03-18 22:21:48.968947731 -0400 +@@ -42,7 +42,7 @@ + $(MAKE) -C libgsm + + play rec: sox$(EXEEXT) +- ./sox --help > /dev/null ++# ./sox --help > /dev/null + test -f .libs/lt-sox && ( $(RM) $@ && $(LN_S) .libs/lt-sox $@ ) || $(LN_S) sox$(EXEEXT) $@ + + install-exec-hook: diff --git a/packages/sox/sox_12.17.5.bb b/packages/sox/sox_12.17.5.bb index 6c70eaad7b..a3cd84e726 100644 --- a/packages/sox/sox_12.17.5.bb +++ b/packages/sox/sox_12.17.5.bb @@ -4,7 +4,7 @@ DESCRIPTION="SoX is the Swiss Army knife of sound processing tools. \ It converts audio files among various standard audio file formats \ -and can apply different effects and filters to the audio data." +and can apply different effects and filters to the audio data." LICENSE="GPL" HOMEPAGE="http://sox.sourceforge.net" diff --git a/packages/sox/sox_13.0.0.bb b/packages/sox/sox_13.0.0.bb new file mode 100644 index 0000000000..f5c554799d --- /dev/null +++ b/packages/sox/sox_13.0.0.bb @@ -0,0 +1,18 @@ +DESCRIPTION="SoX is the Swiss Army knife of sound processing tools. \ +It converts audio files among various standard audio file formats \ +and can apply different effects and filters to the audio data." +HOMEPAGE = "http://sox.sourceforge.net" +SECTION = "audio" +LICENSE = "GPL" +PR = "r0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/sox/sox-${PV}.tar.gz \ + file://src-Makefile.am.patch;patch=1" + +inherit autotools + +do_install() { + make bindir="${D}${bindir}" libdir="${D}${libdir}" mandir="${D}/${mandir}" includedir="${D}${includedir}" install + rm ${D}${bindir}/rec + ln -s /usr/bin/play ${D}${bindir}/rec +} |
