This commit is contained in:
4fury-c3440d8
2020-12-06 17:56:01 +00:00
parent 53ba4fd611
commit 5c7ad413e0
15 changed files with 688 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
pisitools.cflags.add("-Wno-stringop-truncation -Wno-discarded-qualifiers -Wno-pointer-sign")
autotools.autoreconf("-fi")
autotools.configure()
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README.md")
@@ -0,0 +1,22 @@
--- a/configure.ac 2019-06-02 14:13:16.000000000 +0300
+++ b/configure.ac 2020-05-26 18:34:07.592350821 +0300
@@ -141,7 +141,7 @@
if $try_cdk; then
CPPFLAGS_save="$CPPFLAGS"
CPPFLAGS="-I$cdk_prefix/include $CPPFLAGS"
- AC_CHECK_HEADER([cdk/cdk.h], [
+ AC_CHECK_HEADER([cdk.h], [
have_cdk=:
AC_PATH_PROG([CDK_CONFIG], [cdk5-config])
if test -n "${CDK_CONFIG}"; then
--- a/gphoto2/gphoto2-cmd-config.c 2015-08-01 14:20:27.000000000 +0300
+++ b/gphoto2/gphoto2-cmd-config.c 2020-05-26 18:52:32.905596310 +0300
@@ -29,7 +29,7 @@
#include <gphoto2/gphoto2-widget.h>
-#include <cdk/cdk.h>
+#include <cdk.h>
#ifndef MAX
# define MAX(a, b) ((a) > (b) ? (a) : (b))
+64
View File
@@ -0,0 +1,64 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>gphoto2</Name>
<Homepage>http://www.gphoto.org/</Homepage>
<Packager>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<PartOf>multimedia.misc</PartOf>
<Summary>Digital camera software.</Summary>
<Description>
gPhoto2 is a free, redistributable, ready to use set of digital camera software applications for Unix-like systems, written by a whole team of dedicated volunteers around the world. It supports more than 2500 cameras.
</Description>
<Archive sha1sum="021b214aaf58540f4afef49639bdbabda3fd03af" type="tarbz2">
https://sourceforge.net/projects/gphoto/files/gphoto/2.5.23/gphoto2-2.5.23.tar.bz2
</Archive>
<BuildDependencies>
<Dependency>cdk-devel</Dependency>
<Dependency>popt-devel</Dependency>
<Dependency>aalib-devel</Dependency>
<Dependency>readline-devel</Dependency>
<Dependency>libgphoto2-devel</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">cdk_header_path.patch</Patch>
</Patches>
</Source>
<Package>
<Name>gphoto2</Name>
<RuntimeDependencies>
<Dependency>cdk</Dependency>
<Dependency>popt</Dependency>
<Dependency>aalib</Dependency>
<Dependency>libexif</Dependency>
<Dependency>ncurses</Dependency>
<Dependency>readline</Dependency>
<Dependency>libgphoto2</Dependency>
<Dependency>libjpeg-turbo</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="man">/usr/share/man/man1</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-12-06</Date>
<Version>2.5.23</Version>
<Comment>First build.</Comment>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Update>
</History>
</PISI>