summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD22
-rw-r--r--harfbuzz.patch10
4 files changed, 33 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 67dbe36409c..aeb64297e91 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ezthumb
pkgdesc = A video thumbnail generator based on ffmpeg.
pkgver = 3.6.7
- pkgrel = 1
+ pkgrel = 2
url = https://sourceforge.net/projects/ezthumb/
arch = i686
arch = x86_64
@@ -9,8 +9,10 @@ pkgbase = ezthumb
depends = ffmpeg
depends = gd
depends = gtk2
- source = https://downloads.sourceforge.net/project/ezthumb/ezthumb-3.6.7.tar.bz2
+ source = ezthumb-3.6.7.tar.bz2::https://downloads.sourceforge.net/project/ezthumb/ezthumb-3.6.7.tar.bz2
+ source = harfbuzz.patch
sha256sums = 1d04a1521204b25454b8a2cedf4150df9c3c7d68059ed5742d03f7a30060674e
+ sha256sums = 25737e5e60c4f4e7ec7132db480b0166d4ecbd4b1b9bdd6b3e9fb75f691b2bbc
pkgname = ezthumb
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..c83ab2f7877
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+pkg/
+src/
+*.tar
+*.tar.bz2
diff --git a/PKGBUILD b/PKGBUILD
index b073bc9b86a..dec9d738e97 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,24 @@
# Maintainer: gbr <gbr@protonmail.com>
-# Maintainer: masutu <masutu dot arch at gmail dot com>
-pkgname='ezthumb'
-pkgver='3.6.7'
-pkgrel=1
+# Contributor: masutu <masutu dot arch at gmail dot com>
+pkgname=ezthumb
+pkgver=3.6.7
+pkgrel=2
pkgdesc='A video thumbnail generator based on ffmpeg.'
arch=('i686' 'x86_64')
url='https://sourceforge.net/projects/ezthumb/'
license=('GPL3')
depends=('ffmpeg' 'gd' 'gtk2')
-source=("https://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
-sha256sums=('1d04a1521204b25454b8a2cedf4150df9c3c7d68059ed5742d03f7a30060674e')
+source=("${pkgname}-${pkgver}.tar.bz2::https://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ 'harfbuzz.patch')
+sha256sums=('1d04a1521204b25454b8a2cedf4150df9c3c7d68059ed5742d03f7a30060674e'
+ '25737e5e60c4f4e7ec7132db480b0166d4ecbd4b1b9bdd6b3e9fb75f691b2bbc')
+
+prepare()
+{
+ cd "${pkgname}-${pkgver}"
+
+ patch --forward --strip=1 --input="${srcdir}/harfbuzz.patch"
+}
build()
{
@@ -20,7 +29,6 @@ build()
--localstatedir=/var \
--disable-debug-build \
--with-gui=gtk2 \
- --with-x
make
}
diff --git a/harfbuzz.patch b/harfbuzz.patch
new file mode 100644
index 00000000000..3316ed88568
--- /dev/null
+++ b/harfbuzz.patch
@@ -0,0 +1,10 @@
+--- ezthumb-3.6.7/external/iup/tecmake.mak 2017-04-19 01:06:14.000000000 -0300
++++ ezthumb-3.6.7/external/iup/tecmake.mak 2019-10-12 15:33:21.877326940 -0300
+@@ -1354,6 +1354,7 @@
+
+ STDINCS += $(GTK)/include/atk-1.0 $(GTK)/include/gtk-$(GTKSFX).0 $(GTK)/include/gdk-pixbuf-2.0
+ STDINCS += $(GTK)/include/cairo $(GTK)/include/pango-1.0 $(GTK)/include/glib-2.0
++ STDINCS += /usr/include/harfbuzz
+
+ ifeq ($(TEC_SYSARCH), x64)
+ STDINCS += $(GTK)/lib64/glib-2.0/include