PhotoGrabber: fix recipe, bump version (#1927)

This commit is contained in:
Schrijvers Luc
2017-12-20 23:18:08 +01:00
committed by diversys
parent 1c596a0d3a
commit 3ef039043d
2 changed files with 31 additions and 9 deletions

View File

@@ -0,0 +1,19 @@
From cc394a2ab9628aa84db7f4aa579c7d0dafe95c9f Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Wed, 20 Dec 2017 22:26:01 +0100
Subject: fix path for makefile-engine
diff --git a/plugins/bdcpPTP/Makefile b/plugins/bdcpPTP/Makefile
index b285549..7673980 100644
--- a/plugins/bdcpPTP/Makefile
+++ b/plugins/bdcpPTP/Makefile
@@ -47,4 +47,4 @@ APP_MENU=
## include the makefile-engine
-include $(BUILDHOME)/etc/makefile-engine
+include $(shell finddir B_SYSTEM_DEVELOP_DIRECTORY)/etc/makefile-engine
--
2.15.0

View File

@@ -11,13 +11,13 @@ cameras. In the future Mass Storage and Bluethooth support may be added."
HOMEPAGE="https://github.com/HaikuArchives/PhotoGrabber"
COPYRIGHT="2010 Jan-Rixt Van Hoye (Jixt)"
LICENSE="MIT"
REVISION="2"
commit="d1df3fbe63fca6efb99c00f53515a1b0515ec441"
SOURCE_URI="https://github.com/HaikuArchives/PhotoGrabber/archive/$commit.tar.gz"
CHECKSUM_SHA256="05da59c345544ac0e972452f6a86a5d17189d4770717db40b7ea86e0c9ab2326"
SOURCE_DIR="PhotoGrabber-$commit"
REVISION="1"
SOURCE_URI="https://github.com/HaikuArchives/PhotoGrabber/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="9d83e857b2b1d0424e6e71f8989cb802ab11d26b4feb5d539a10cb9d3a69754a"
SOURCE_DIR="PhotoGrabber-$portVersion"
PATCHES="photograbber-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
ARCHITECTURES="x86_gcc2 ?x86_64"
PROVIDES="
photograbber = $portVersion
@@ -26,11 +26,13 @@ PROVIDES="
REQUIRES="
haiku
lib:libiconv
lib:libexif
"
BUILD_REQUIRES="
haiku_devel
devel:libiconv
devel:libexif
"
BUILD_PREREQUIRES="
cmd:g++
@@ -40,13 +42,14 @@ BUILD_PREREQUIRES="
BUILD()
{
PG.sh
mkdir -p dist/plugins
make $jobArgs
}
INSTALL()
{
mkdir -p $appsDir
cp -r build/PhotoGrabber $appsDir
mkdir -p $appsDir/PhotoGrabber
cp -r dist/* $appsDir/PhotoGrabber
addAppDeskbarSymlink $appsDir/PhotoGrabber/PhotoGrabber
}