void-packages/srcpkgs/gtkpod/template
Đoàn Trần Công Danh a92d370caa srcpkgs: add patch_args=-Np0 en-mass
Generated with:

	git ls-files 'srcpkgs/**/patches/*' |
	cut -d/ -f2 | uniq |
	xargs printf 'srcpkgs/%s/template\n'  |
	xargs grep -L 'patch_args=' |
	xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
2021-06-20 13:17:29 +07:00

25 lines
888 B
Bash

# Template file for 'gtkpod'
pkgname=gtkpod
version=2.1.5
revision=4
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="flex intltool pkg-config glib"
makedepends="libcurl-devel libflac-devel libgpod-devel libmusicbrainz5-devel
libdiscid-devel clutter-gtk-devel libmp4v2-devel libvorbis-devel
libid3tag-devel faad2-devel gst-plugins-base1-devel gdl-devel anjuta-devel"
short_desc="Platform independent GUI for Apple's iPod using GTK3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.gtkpod.org/libgpod"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=a57dc8ae9138e0cb4cee98691e7a95001130c9ea7823e6a75cc72503facd3a76
# Line 55: print in python 2 style
python_version=2
patch_args=-Np0
CFLAGS="-fcommon"
post_patch() {
vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure
}