OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  r...@openpkg.org
  Module: openpkg-src                      Date:   08-Mar-2009 12:18:30
  Branch: HEAD                             Handle: 2009030811182900

  Added files:
    openpkg-src/x264        x264.patch
  Modified files:
    openpkg-src/x264        x264.spec

  Log:
    improve packaging

  Summary:
    Revision    Changes     Path
    1.1         +12 -0      openpkg-src/x264/x264.patch
    1.4         +5  -2      openpkg-src/x264/x264.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/x264/x264.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 x264.patch
  --- /dev/null 2009-03-08 12:18:29 +0100
  +++ x264.patch        2009-03-08 12:18:30 +0100
  @@ -0,0 +1,12 @@
  +Index: configure
  +--- configure.orig   2009-03-05 22:45:09 +0100
  ++++ configure        2009-03-08 12:08:25 +0100
  +@@ -244,7 +244,7 @@
  +       ASFLAGS="$ASFLAGS -f elf"
  +     fi
  +     ;;
  +-  x86_64)
  ++  x86_64 | amd64 )
  +     ARCH="X86_64"
  +     AS="yasm"
  +     if [ "$SYS" = MACOSX ];then
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/x264/x264.spec
  ============================================================================
  $ cvs diff -u -r1.3 -r1.4 x264.spec
  --- openpkg-src/x264/x264.spec        6 Mar 2009 07:25:22 -0000       1.3
  +++ openpkg-src/x264/x264.spec        8 Mar 2009 11:18:29 -0000       1.4
  @@ -36,10 +36,11 @@
   Group:        Video
   License:      GPL
   Version:      %{V_build}
  -Release:      20090306
  +Release:      20090308
   
   #   list of sources
   Source0:      
ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-%{V_date}-%{V_build}.tar.bz2
  +Patch0:       x264.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -50,7 +51,8 @@
   AutoReqProv:  no
   
   %description
  -    x264 is a free library for encoding H.264/AVC video streams.
  +    x264 is a free C library for encoding H.264 (MPEG-4 AVC) video
  +    streams.
   
   %track
       prog x264 = {
  @@ -61,6 +63,7 @@
   
   %prep
       %setup -q -n x264-snapshot-%{V_date}-%{V_build}
  +    %patch -p0
   
   %build
       %{l_shtool} subst \
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to