diff --git a/hardware/optical/lsdvd/actions.py b/hardware/optical/lsdvd/actions.py new file mode 100644 index 0000000000..c4249dfd9b --- /dev/null +++ b/hardware/optical/lsdvd/actions.py @@ -0,0 +1,19 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + autotools.configure() + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README") diff --git a/hardware/optical/lsdvd/files/lsdvd-0.16-strip-trailing-spaces.patch b/hardware/optical/lsdvd/files/lsdvd-0.16-strip-trailing-spaces.patch new file mode 100644 index 0000000000..4f797886f2 --- /dev/null +++ b/hardware/optical/lsdvd/files/lsdvd-0.16-strip-trailing-spaces.patch @@ -0,0 +1,15 @@ +--- lsdvd-0.10/lsdvd.c.jdw 2003-09-30 07:01:00.000000000 +1000 ++++ lsdvd-0.10/lsdvd.c 2007-11-10 17:16:17.000000000 +1100 +@@ -153,9 +153,9 @@ + + fclose (filehandle); + +- title[32] = '\0'; +- while(i-- > 2) +- if(title[i] == ' ') title[i] = '\0'; ++ while (i > 0 && title[i-1] == ' ') ++ i--; ++ title[i] = '\0'; + return 0; + } + diff --git a/hardware/optical/lsdvd/files/lsdvd-0.16-types.patch b/hardware/optical/lsdvd/files/lsdvd-0.16-types.patch new file mode 100644 index 0000000000..b20f8ea2cb --- /dev/null +++ b/hardware/optical/lsdvd/files/lsdvd-0.16-types.patch @@ -0,0 +1,27 @@ +Index: lsdvd-0.16/configure.in +=================================================================== +--- lsdvd-0.16.orig/configure.in ++++ lsdvd-0.16/configure.in +@@ -10,8 +10,8 @@ fi + + AC_CHECK_LIB(dvdread, DVDOpen, , AC_MSG_ERROR([libdvdread not found!])) + AC_MSG_CHECKING([for dvdread/ifo_read.h]) +-AC_TRY_COMPILE([#include +- #include ], , ++AC_TRY_COMPILE([#include ++ #include ], , + AC_MSG_RESULT([yes]), + AC_MSG_RESULT([no]) + AC_MSG_ERROR([Header files for dvdread not found])) +Index: lsdvd-0.16/lsdvd.c +=================================================================== +--- lsdvd-0.16.orig/lsdvd.c ++++ lsdvd-0.16/lsdvd.c +@@ -13,6 +13,7 @@ + * 2003-04-19 Cleanups get_title_name, added dvdtime2msec, added helper macros, + * output info structures in form of a Perl module, by Henk Vergonet. + */ ++#include + #include + #include + #include diff --git a/hardware/optical/lsdvd/pspec.xml b/hardware/optical/lsdvd/pspec.xml new file mode 100644 index 0000000000..d3b9910825 --- /dev/null +++ b/hardware/optical/lsdvd/pspec.xml @@ -0,0 +1,60 @@ + + + + + lsdvd + http://untrepid.com/lsdvd + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + app:console + Small application for listing the contents of DVDs + lsdvd is a small application which lists the contents of DVDs to your terminal. + mirrors://sourceforge/lsdvd/lsdvd-0.17.tar.gz + + libdvdread-devel + + + + + + + + + lsdvd + + libdvdread + + + /usr/bin + /usr/share/doc + /usr/share/man + + + + + + 2016-01-26 + 0.17 + Version bump. + Stefan Gronewold + groni@pisilinux.org + + + 2014-03-09 + 0.16 + Rebuild. + Kamil Atlı + suvarice@gmail.com + + + 2009-12-25 + 0.16 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/hardware/optical/lsdvd/translations.xml b/hardware/optical/lsdvd/translations.xml new file mode 100644 index 0000000000..922c5506dc --- /dev/null +++ b/hardware/optical/lsdvd/translations.xml @@ -0,0 +1,8 @@ + + + + lsdvd + DVD bilgilerini toplamaya yarayan bir araç + lsdvd, terminal üzerinden DVD'lerin içeriğini görüntülemeye yarayan basit bir araçtır. + + diff --git a/pisi-index.xml b/pisi-index.xml index 3fa689ad55..4ddc3e7674 100644 --- a/pisi-index.xml +++ b/pisi-index.xml @@ -17519,6 +17519,62 @@ + + + lsdvd + http://untrepid.com/lsdvd + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + app:console + hardware.optical + Small application for listing the contents of DVDs + DVD bilgilerini toplamaya yarayan bir araç + lsdvd is a small application which lists the contents of DVDs to your terminal. + lsdvd, terminal üzerinden DVD'lerin içeriğini görüntülemeye yarayan basit bir araçtır. + mirrors://sourceforge/lsdvd/lsdvd-0.17.tar.gz + + libdvdread-devel + + hardware/optical/lsdvd/pspec.xml + + + lsdvd + + libdvdread + + + /usr/bin + /usr/share/doc + /usr/share/man + + + + + 2016-01-26 + 0.17 + Version bump. + Stefan Gronewold + groni@pisilinux.org + + + 2014-03-09 + 0.16 + Rebuild. + Kamil Atlı + suvarice@gmail.com + + + 2009-12-25 + 0.16 + First release + Pisi Linux Admins + admins@pisilinux.org + + + libburn diff --git a/pisi-index.xml.sha1sum b/pisi-index.xml.sha1sum index d97de7ccb5..708cdc7f9f 100644 --- a/pisi-index.xml.sha1sum +++ b/pisi-index.xml.sha1sum @@ -1 +1 @@ -88532f67ea1977097324a23e22d21f6492988c4c \ No newline at end of file +ca6bc2b8096de58c2c37f211cf92b33cd3c06de7 \ No newline at end of file diff --git a/pisi-index.xml.xz b/pisi-index.xml.xz index 300206d24e..c7cbfd880e 100644 Binary files a/pisi-index.xml.xz and b/pisi-index.xml.xz differ diff --git a/pisi-index.xml.xz.sha1sum b/pisi-index.xml.xz.sha1sum index 973a2560b1..d97801f20e 100644 --- a/pisi-index.xml.xz.sha1sum +++ b/pisi-index.xml.xz.sha1sum @@ -1 +1 @@ -58d5c23f5008eefaa8be8a6e67120a81020f4e15 \ No newline at end of file +475ca0d15e745d591a955b9edd10352cba628970 \ No newline at end of file